I am useing the stk500 kit and AVR studio 3.2 and when I program the device I get a error massage:
Problems occured when executing command. Check history window.
And in the history window:
Programing FLASH using block mode... 0% FAILED!
What am I doing wrong. Is this a problem with a block that is not erased or can I only program one block at the time. My program is 150 words.
If I erase the flash separetly and then program the device a part of the program is stored.I have written my code in many smal steps and when it was over 120 words or something like that the problems began. Before that everyting went acording to plans. I have checked that the ISP6PIN header is connected to SPROG3 header
. If I use a preveus version of my code it works fine but if use the 150 word code I get the error massage but a part of that code is stored in the flash and works fine and when the device reaches the last instructions the program counter resets and it starts all over again. If I try to read the fuses or lockbits the program tells me that these are not suported by this devise. why is that?
Thanks in advance Mikael.