1
\$\begingroup\$

I have an Atmel board, precisely an Atmega1280. I uploaded my code on the board and I want debug it to take a look at the stack memory. I just have the mini usb cable for the communication.

I read that JTAG is also a debugger but I don't understand what exactly it is and if works with my cable.

Hence, my question is: Is there any debugger for Atmega1280 that work also with mini usb cable possibly free? If yes, what are they? Where can I find them?

\$\endgroup\$
0
\$\begingroup\$

Atmel has a number of debugger / programmer pods available. For example, the JTAG ICE mkII, AVR ONE!, AVR Dragon, and JTAGICE3 all seem to support JTAG to some extent. You can get it from their store, and also through various distributors. I've never used any of them for JTAG, but JTAG debuggers typically give you the capability to do things like single step through your code and inspect / alter memory and register contents through your integrated development environment.

\$\endgroup\$
  • \$\begingroup\$ Is there a possibility to do a debug without buy something? \$\endgroup\$ – DarkCoffee Feb 5 '13 at 17:12
  • \$\begingroup\$ No way, you need an interface module to bridge from your computer to the chip (usually USB-to-header) \$\endgroup\$ – vicatcu Feb 5 '13 at 17:25
0
\$\begingroup\$

I use an AVR Dragon for programming and debugging, it costs $49 from Atmel distributors. It works very well.

\$\endgroup\$
  • \$\begingroup\$ Is there a possibility to do a debug without buy something? \$\endgroup\$ – DarkCoffee Feb 5 '13 at 17:11
  • \$\begingroup\$ I don't think so. \$\endgroup\$ – Leon Heller Feb 5 '13 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.