[Voyage-linux] Serial port question

Jake Vickers (spam-protected)
Thu Dec 20 10:44:22 HKT 2007


I have designed a circuit using PIC processors that will receive data 
and send data to a serial port on my net4501 board.  In my ignorance, I 
wrote the code for the PIC processor to communicate at 2400 baud. To 
initialize it, a couple commands get echo'ed to the serial port during 
the bootup of the net4501 board (simple 'echo > /dev/ttyS0' stuff) , but 
it defaults to 9600 baud. I tried setserial but it gives me an error 
when using a baud rate less than 9600.  I have already rewritten the 
code for the PIC chip to use 9600 baud, but wanted to know if there was 
a way to set the serial port to 2400 baud so as to not throw away the 
PIC chips I've already programmed (you can only program these once....).
Thanks for any suggestions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2882 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20071219/cbcbc0d3/attachment.bin>


More information about the Voyage-linux mailing list