Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] COFF file problems in Proteus

Status
Not open for further replies.

teddydogowners

Newbie level 4
Joined
Jul 4, 2016
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
62
Hi!

I am using a PIC24FJ64GA106 to design a time domain reflectometer on proteus. I am using MPLAB X IDE and C16 as the compiling platform. The .hex file that I get from the program works fine in Proteus, but the .coff file that I need for debugging throws many errors, like the following.

"[COFF] Could not load source file 'fake'"

Many source files aren't loaded, and the debugger has a lot of problems.

I am sorry for the lack of code, but I am in a weird situation and can't access any of my code or schematics for some time (security concerns at my workplace).

Thank you in advance!
 

COFF uses absolute file paths so you have to run Proteus in the original C16 compiling folder (or atleast on the same HDD, at your workplace) if you want source level debugging.
 

Does that mean I have to put the Proteus files in the same folder as the COFF file? Or shift them both to the C16 program folder? The COFF file is being generated in a subfolder in a folder of my own (for identification).
 

Yes, even both can work if the Proteus has a right to read the original source files. This is not so sure on a protected system.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top