Hello every one…
I am using AVR STUDIO4 for my programming…
When i am choosing optimization as -O0,the code is simulating properly on software’s debug mode but not getting executed on Hardware and when i choose other optimization levels,the code is not running in sequence in debug mode…any random command at any random time is getting executed…
The flow of the program gets disturb but the optimized code is atleast running a little bit after programming in hardware but results are not proper…