I know that GenericComm uses the UART code,
perhaps there is some contention?
sorry I can't be of more help...
MS
jose m wrote:
I have two components, each one made by me.
The first one uses GenericComm for radio message
handling, the second one uses UART component to send &
receive bytes from another system, independent of AM,
TOS_Msg, and another tinyos's things (can't use
UARTComm).
I successfully build (no compilation errors or
warnings) the app using those two components, timers,
logical timer, CC1000 control, etc. In App
StdControl.init() I toggle the green led when ends, in
app StdControl.start() I turn the yellow led. Red led
toggle every one second.
Running TOSSIM, the app run excellent and predictable.
However, installed in (tested) crossbow mica2 (target
mote), the green led turns on... that's all.
I remove calls to commands of the two components in
main app (including init & start)... same result. Then
I change yellowToggle to yellowOn. Now green AND
yellow leds are on (this mean start called twice?).
Then I remove second component (uses UART), and works,
but I can't find any errors. If I remove first
component and add second one, app works too.
Why these two components in the same application
causes this strange error? app StdControl.start is
executed more than once? why?
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help