Hi,

>> My question is that whether it is possible to debug nesC code without JTAG. 
>> If it is, how?
Unfortunately for you it is not possible to debug without a hardware
debugger (JTAG, debugWire, SWD,... depending on your target
architecture AVR, MSP430).

To debug your code on the mote without a hardware debugger, it would
be necessary to have a gdbserver or gdb agent running on the mote. Due
to the memory and performance constraints of common motes this is not
an alternative and JTAG is required.

By the way, you can now find really cheap hardware debugger/programmer
on eBay or online shops.

Hope this helps,
     Romain

On Fri, Jul 15, 2011 at 5:38 AM, Shengkai Zhang
<shengkai.zh...@gmail.com> wrote:
> Dear all,
>
> Yeti 2 of Eclipse is really great. If I could debug nesC code by Eclipse,
> that's perfect(I have no JTAG). I build an example project, "BlinkToRadio",
> to generate a main.exe file. Then I set Debug Configuration and choose the
> configuration of GDB proxy to be None. As a result, there is a creating
> session error whose detail is "Cannot run program "avr-gdb": Unknown
> reason". If I choose the configuration of GDB proxy to be Avarice, the error
> is "Could not start GDB Proxy! Command was: avarice --mkI --jtag
> /dev/avrjtag --jtag-bitrate 1000KHz :4242 --ignore-intr". I apologize if my
> question is so simple ( I didn't find reasonable answers from Google). My
> question is that whether it is possible to debug nesC code without JTAG. If
> it is, how?
>
> Thank you very much. I really need your help.
>
> --
> Shengkai Zhang
>
> The Department of Electronics and Information Engineering
> Huazhong University of Science and Technology
> Wuhan, Hubei, China
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to