I have a metro 328 on the way as well as a trinket and other avr/arm boards. I'm looking to be able to use atmel studio to debug and code. Is the segger jpeg edu a good option vs atmel-ice? Since I'm doing personal projects it seems its a much more economical option but I'm not 100% clear if I'm correct.
Thanks!
Debugger options
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Debugger options
The Segger will work with 32-bit microcontrollers, but not with 8-bit devices like the ATmega328 or the Trinket's ATiny85. For those, you need an SPI programmer like the USBtinyISP:
https://www.adafruit.com/product/46
https://www.adafruit.com/product/46
- cepwin
- Posts: 9
- Joined: Wed Nov 29, 2017 10:08 pm
Re: Debugger options
Thanks! I have that kit (haven't put it together yet) but I thought it was a programmer only, not a debugger. The description only mentions programming not debugging. Am I mistaken?
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Debugger options
No, the USBtinyISP is only a programmer.
The ATmega328P uses Atmel/Microchip's DebugWire protocol, which among other things is a form of obfuscation. The messages going in and out of the chip are encoded, and the Atmel-ICE translates them to/from values the IDE can turn into human-readable information.
To debug the ATmega family, you pretty much need the Atmel-ICE and AVR Studio.
The ATmega328P uses Atmel/Microchip's DebugWire protocol, which among other things is a form of obfuscation. The messages going in and out of the chip are encoded, and the Atmel-ICE translates them to/from values the IDE can turn into human-readable information.
To debug the ATmega family, you pretty much need the Atmel-ICE and AVR Studio.
Please be positive and constructive with your questions and comments.