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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to