I think micaz runs on CC2420. If "make pc" can not compile your code,
most likely you are using an interface/component or something that is
implement in CC2420 directory.  "make pc" does not recognize that
directory.

Hope this helps,



On Mon, 28 Mar 2005 09:06:51 -0800, Neil Hancock
<[EMAIL PROTECTED]> wrote:
> Raghu
> 
> I think you need to be a bit more explicit on the errors in "make pc" to get
> any help.
> 
> I'm also thinking about the same issue - how to do path level code coverage
> on the motes in a reasonably productive manner, and then integrate it into
> and debug on mote2dot.
> 
> Its been fairly hair-raising.
> 
> I have my own hardware daughter board, and have first developed an in situ
> debug monitor to be able to debug with the mote2dot.
> Now that I have my own hardware it seems I have to customize it to fit the
> "make pc" environment to be able to do path level testing on the PC.
> This could work, but it would be nice to try and find a GUI interface to its
> commands and single step through
> 
> As far as I've found
> - Avr-insight is possibly the most productive tool with visual source level
> debugger. It is a GUI interface to gdb. I was over the moon when I found it.
> However it seems to only interface to an JTAG-ICE and this seems like it is
> the AVR JTAG. From what I've found the  AVR JTAG mk II that is available has
> been upgraded and currently isn't compatible with gdb.
> 
> - It seems like gdb with a GUI should be available to work with the
> build/<tgt>/app.c that is created, but I haven't managed to track down how
> this would work in the nesC tool chain.
> 
> - Atmel AVR studio looks attractive, but only seems to deal with assembler.
> 
> - Avrora is a simulator, but again doesn't seem to deal with 'nesC' level
> source code.
> 
> Be interersted in any insights from the experts
> 
>         Chow
>            Neil
> 
> -----Original Message-----
> From: Raghu Ganti [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 26, 2005 8:40 PM
> To: [email protected]
> Subject: [Tinyos-users] Debugging
> 
> Hi
>  I am facing a major problem in debugging the motes! First, to start
> with my module does not compile for TOSSIM, so if I give "make pc" it
> will not compile whereas on "make micaz" it will compile well!
>   Is there any method by which I can debug the code running on micaz?
> (other than by looking at the Leds).
>  If anyone can point me to a good source, it will be of great help.
> 
> Thanks
> Raghu
> _______________________________________________
> Tinyos-users mailing list
> [email protected]
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
> 
> _______________________________________________
> Tinyos-users mailing list
> [email protected]
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
>
_______________________________________________
Tinyos-users mailing list
[email protected]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to