[Tinyos-help] Increasing Baudrate for Atmega-128
Varun Jain
varun at spiderbox.com.au
Tue Jul 1 20:02:47 PDT 2008
Hi,
I am trying to increase the baudrate of the incoming packet for motes
with atmega-128 processor. I am adding code in the implementation
Atm128UartP.nc located at /tos/chips/atm128/Atm128UartP.nc as follows:
else if (PLATFORM_BAUDRATE == 256000UL)
m_byte_time = 15; // 1 TMicor ~= 2.12 us, one byte = 31us ~= 15
$ java TestSerial -comm serial at COM1:256000
serial at COM1:256000 died - exiting (java.io.IOException: Could not
configure COM1
TOSComm JNI library runtime error: Error 87.
The parameter is incorrect.
in set_params.SetCommState)
I am running this in Windows(Cygwin).... Why cant it configure this
baudrate?? How and where is it configured, is it done in
/tools/tinyos/java/ ???
Cheers,
Varun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080702/08b7e544/attachment.htm
More information about the Tinyos-help
mailing list