hoseink08
Newbie level 4

Hello eveyone,
I wrote a C code in Atmel Studio for ATmega32. Now I want to debug it in proteus. When I use assembly code I can easily see the Assembly code to do "step in" "step over" and use a breakpoint etc. But when it comes to C programing, I cant see any code to debug it. I load .elf code in proteus.
Could anyone give me a help on this issue? How can I debug a C code in proteus?


- - - Updated - - -
I just found the problem my self!!
First, when you are going to build a new project you should choose "Create Firmware project" and define the microcontroller device, then choose WinAVR as a compiler on the same page...
If WinAVR is not installed already, click on compiler and install it!
easy ! peasy! but take me one day to realize that
I wrote a C code in Atmel Studio for ATmega32. Now I want to debug it in proteus. When I use assembly code I can easily see the Assembly code to do "step in" "step over" and use a breakpoint etc. But when it comes to C programing, I cant see any code to debug it. I load .elf code in proteus.
Could anyone give me a help on this issue? How can I debug a C code in proteus?


- - - Updated - - -
I just found the problem my self!!
First, when you are going to build a new project you should choose "Create Firmware project" and define the microcontroller device, then choose WinAVR as a compiler on the same page...
If WinAVR is not installed already, click on compiler and install it!
easy ! peasy! but take me one day to realize that