[Tinyos-help] Problem with UART0 in TMoteSky

Adam shiyuan69 at gmail.com
Thu Jun 1 11:13:04 PDT 2006


Hi,

I am testing send/receive messages through UART0 in TMote Sky, following the
example in Moteiv website. The setup is following:

Connect UART0 and convert it to a serial port, which is connected to my PC
serial port COM13. If I never release the resource, the Pcomm Terminal
Emulator (P.S. Microsoft Hyperterminal does not work for some reason) can
correctly receive the data TMote sent out. But, if I release the resource
after TMote sends out certain number of data, the Pcomm Terminal will
receive many gabage characters, besides those characters I sent. Similarly,
I tried to do reverse direction: PC send data, while TMote receive. Also
many garbage data received by TMote.  (P.S. It happens even if I comments
the radio send part in TestUart0P)

Enclosed is the source code which is modified based on example TestUart0P.
How remove those garbage signals? Any advice is appreciated.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 204 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060601/5db1f9c5/Makefile-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestUart0.nc
Type: application/octet-stream
Size: 1002 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060601/5db1f9c5/TestUart0-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestUart0P.nc
Type: application/octet-stream
Size: 2782 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060601/5db1f9c5/TestUart0P-0001.obj


More information about the Tinyos-help mailing list