Search in Pinguino World !!

Monday, October 25, 2010

Pinguino beta 9-04

Pinguino beta 9-04 is now online with CDC support !!
http://www.hackinglab.org/pinguino/download/latestpinguino/

As usual, i didn't write a documentation :-) but a cdc example is in the
example folder.
What is CDC ?
A CDC is an USB serial port, on windows it will appear in the system as a
virtual com port ( COM7 for example ),
in linux, it will appear as a /dev/ttyACM0 device ( or /dev/ttyACM1 if 0
exist ).

Then you can use this device with a serial terminal ( hyperterminal,
teraterm on windows, putty, gtkterm on linux ).
Speed is 115200 bauds, 1 stop bit, no parity.

In Pinguino, you can use CDC.print(string,length) and CDC.read(string).
CDC.read(string) return the length of the received string.
length=CDC.read(receivedstr);

CDC is a non blocking device, USB is managed with interrupt, so you can use
all the functions in the loop.
No initialisation is needed.

I tested this code on:
windows XP,
windows 7,
linux.

With Linux be careful !! on some distribution, the modem manager send an
initialisation string to a new connected ttyACM device.
This string is:
AT+GCAP
AT+GCAP
AT+GCAP

i am working on a udev rule to stop this initialisation with Pinguino.
You can stop the modem manager if it is a problem
sudo killall modem-manager

Hope this code will be useful for the Pinguino community.
I wait for your report and suggestion.

Thanks to all the alpha-tester :-) of this release:
olivier
boops
vasi
sphynx
paintitblack
walterleonardo
pinguinoVE

Wednesday, October 13, 2010

Windows 7 Boops package

Javi from spain ( Boops ) tested Pinguino windows 7 64 bits.
He built a package with everything needed to install Pinguino with Windows 7 32 or 64 bits.
This package is available on his website:
www.roboops.es

This is the direct link to the Pinguino/windows 7 post.

Thanks for this test Boops.

Tuesday, October 5, 2010

Pinguino and Windows 7

After a lot of problem with windows 7, i decided to package a new version compatible with this OS.
This is the 9-03 version of Pinguino. What is new in this version ?
  • some minor bugs were fixed ( locale and preprocessor )
  • Windows version uses the original python uploader
A complete tutorial, on the tutorial website explain how to install properly pinguino on windows 7.

Pinguino beta 9-03 is in the download area.