I've dealing with this problem that I can't define a file as a debug file for proteus. I want to debug an atmega169 in it. After a day of googling, I've tried everything but nothing happened.
I set the linker in IAR to UBROF-8 and it extension name to .dbg but Proteus doesn't recognize it. I enter the name in Proteus (name.dbg) it add the file to my design but when I run the design this Error shows up:
File extension'.dbg' not recognized in program property
I've change the extension name to .UBROF --> same attitute and same error
I've change the extension name to .COF --> Proteus recognizes the extension but the error is :
Unsupported COFF file type[magic=00A5]
failed to load COFF file
I've change the extension name to .HEX --> Proteus recognizes the extension but the error is :
Error reading HEX file
ELF, OBJ --> ERROR :twisted:
I thought maybe it has something to do with the UBROF, I tried Other Other Output Format such as CSPY(d90) , COFF ELF ....... but ...... :-?
so I have check "Proteus VSM CSPY Driver" and set the simulator to Third Party Driver BUT Again
the error says:
missing function "DriverApi_4"
And
Field to load the component ..... file may be missing or corrupt
Any idea ?????
Thanks
IAR AVR 6.10
Proteus 7.10 SP0 (Build 12325)