Using AVR Studio 4.10 in conjunction with WinAVR

Hi,

I’m using WinAVR as my c compiler. it is very simple to use and quite powerful. It also allows me to use AVR Studio 4.10 to do high level C code stepping.

By using the extcoff command I create a .coff extension of my main file. I then open this .coff file in AVR Studio 4.10 and can step through the c code.

My problem is:

a .coff file is made only for the main file. When i step through it is fine until I reach a method that is defined in another file (which I have included) and then all hell breaks loose, the cursor randomly jumps around until the method is complete and then it continues normally. If i move all the methods into my main file it works fine. But this is very tedious and I’m sure there is a better solution.

Your help would be much appreciated.

Richard

hi

try to open the cof again. this means you start the avr studio, then you open a projekt with the wizzard, after that you just have to open it again.