Re: [Tinyos-help] print problem

2006-05-31 Thread Michael Schippling
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

Re: [Tinyos-help] print problem

2006-05-31 Thread Lin Gu
Another option is to use VDB, a debugging utility for TinyOS. It is wiring-free so what one needs to do is to simply #include a file (vdbavr.inc) in your nesC code (in the implementation part) and then use the 'print' function to output messages to PC through UART. More documentation is here

[Tinyos-help] print problem

2006-05-30 Thread Xing Jin
Hi, everyone, I am trying to printsome 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 dosome other calculation. I wanttoprint out the average value on the pc whenI am