Yes, DBG is only good for simulation since there is no way for a mote
to access any devices on the PC directly. For in-system debugging you
can format a message to send to the PC, look into the JTAG debug
interface (search this list for some pointers), or flash LEDs and try
to make sense of them like the pre-Cambrian programmers did...

MS


Xing Jin wrote:
Hi, everyone,
I am trying to print some value statement on PC to in order to make sure the program is on the correct way. For example, base station receives three values from other motes and get the average, then do some other calculation. I want to print out the average value on the pc when I am doing the experiment. But I do not know how. I thought DBG display was just for simulation.(or I am wrong???) Is there any statement that can print out the value, or write the value into a file??? Can anyone tell me?
  Thanks a lot.
Xing Jin
------------------------------------------------------------------------
Sneak preview the all-new Yahoo.com <http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview>. It's not radically different. Just radically better.


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to