[Tinyos-help] HPLUART in Tinyos1.x equivalent of Tinyos-2.x
zipel hauzen
hauzenzipel at gmail.com
Wed Jul 8 00:25:43 PDT 2009
Hi folks,
I have recently upgraded to T2, and have a porting issue.
Back in T1, I used to use the HPLUART for a simple printing in to the UART,
so that I was able to see values in the applications such as hyperterminal
(by simply running the tmote and hooking up the hyperterminal to the
corresponding COM.)
The main function that I used was *UART.put(uint8_t data)*, which is defined
in /opt/tinyos-1.x/tos/platform/msp430/*HPLUARTM.nc* (of course linked with
which is wired with opt/tinyos-1.x/tos/platform/telos/*HPLUARTC.nc* and
opt/tinyos-1.x/tos/interface/*HPLUART.nc*)
This function was called in applications such as *T**estSimpleM.nc* located
in /opt/tinyos-1.x/apps/TestUart/*TestUartSimpleM.nc*
However with the new T2 environment, it is not trivial to find this sort of
functionality. I understand that T2 supports multiple ways of interacting
the motes with PC via SerialForwarder and java net.tinyos.tools.Listen, but
I still think that simple UART flushing is a lot simpler and faster for data
collection as well as debugging.
If anyone has any idea about this, please enlighten me.
Thanks
Zipel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090708/079c6d03/attachment.htm
More information about the Tinyos-help
mailing list