Hi All,
I'm working with an ATMega32. Everything works fine, until I add this to my code:
#include <avr/io.h> //for fuses
FUSES =
{
.high = 0x91,
.low = 0xFF,
};
This triggers the error message: "error an unknown emulator error occureed debugger command leaveprogmode failed". When I remove the above lines, all is well again, and I can enter debug mode no problem, until I add the lines again.
My setup:
windows7 64bit, (microsoft windows NT6.1.7601 service pack 1 (platform win32NT))
atmel studio 7.0.634
JTAGICE mkII 0700000589B
ATmega32A
I have added the lines, hoping atmel studio would program the fuses when I start debugging. Then I have one thing less to worry about :-)
Kind regards,
Cedric