AVRDragon, debugWire, AS6.1 and ATMega328P

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

I got this configuration working in a breadboard, along with cristal, no capacitor on pulled up reset, and external 3V.

AS can go into debugWire without problem, but it cannot go back because for some reason it cannot un-program DWEN.
When it is running and I select disable debugWire and close, it tries and at the end it gives me a "Feil to disable debugWire: The tool specified has been disconnected..."

Could someone tell me what could be happening?

Thanks,

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

You have ALL the ISP wires connected?

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

Yes, so AS can sense the voltage trough Vcc and adjust. It works perfectly for debugging, even programming it using the debugger, the only problem is that I cannot get DWEN off so I cannot change anything else, unless I HVPP it

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

make sure the reset line is tied high with a 10K resistor. Double check the ISP connections, if the MSIO, MOSI, and CLK line are not right you will get that message. That one got me for a bit.