I got a µController on a PCB. I want to be able to debugg it via Avr Studio 4, functions lika "step into" and "break point" will be well used. Is this possible with this programmer?
AVRISP mkII, Debugging
Author
Message
Level: Moderator
Joined: Wed. Mar 28, 2001
Posts: 31358 View posts
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweis, but plenty of Corona beer)
No, you need a Dragon or JTAG Mk2.
Is it possible to connect the dragon to my PCB so I dont have to use the prototyparea on the dragon. The µController cant be removed from the PCB and can only be programmed via a J2 contact.
Level: Moderator
Joined: Wed. Mar 28, 2001
Posts: 31358 View posts
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweis, but plenty of Corona beer)
Quote:
Yes, both for debugWire and JTAG.
Is it possible to connect the dragon to my PCB
Ok. Thank you very much
Oh, I forgot to say that the µController is Attiny861 so the JTAG wont work. :/
Level: Moderator
Joined: Mon. Jul 18, 2005
Posts: 105140 View posts
Location: (using avr-gcc in) Finchingfield, Essex, England
Quote:
Oh, I forgot to say that the µController is Attiny861 so the JTAG wont work
True but it has the alternative, one wire, "debugWire" mechanism so for all intents and purposes it's the same - a chip that can be debugged with a Dragon or JTAGICEmkII
Ok, Im checking because the connector on the PCB is kinda messed up, se below. So I need to re-route the wires or something drastic. :/
Programming and Debug connector J2 pin out Pin 1 VCC
Pin 2 MOSI
Pin 3 RESET or DW
Pin 4 MISO
Pin 5 GND
Pin 6 SKC
Is it possible to use the stk500? I need a debugWIRE aswell. :/
The stk500 is a programmer only, not a debugger.