I just started programming with AVR. The processor i'm using is a 8535 and I have a problem.
I'm working with AVR studio and in AVR studio (simulator), my program runs fine. When i assemble my program to a *.hex file there's no problem. If a make a download to the processor, then the problems start.
The display shows: Problem occured when executing command(s)
If I delete some instructions of my program, it doesn't matter where I delete these instructions, as long it is still posible to run the program, the problems are over. If I then add some instructions, for instance a nop instruction, then the error is back.
Does anybody know what I did wrong?