[Voyage-linux] Serial port question

Kerry Brown (spam-protected)
Thu Dec 20 11:20:41 HKT 2007


man stty



On Dec 19, 2007, at 7:44 PM, Jake Vickers wrote:

> 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.
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux





More information about the Voyage-linux mailing list