AVRISP mkII, Debugging

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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?

http://www.atmel.com/dyn/product...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No, you need a Dragon or JTAG Mk2.

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Is it possible to connect the dragon to my PCB
Yes, both for debugWire and JTAG.

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok. Thank you very much

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oh, I forgot to say that the µController is Attiny861 so the JTAG wont work. :/

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is it possible to use the stk500? I need a debugWIRE aswell. :/

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The stk500 is a programmer only, not a debugger.

Regards,
Steve A.

The Board helps those that help themselves.