News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Do COFF files differ in format between devices?

Started by TimB, Apr 14, 2023, 01:30 PM

Previous topic - Next topic

TimB

Hi all


This in relation to an issue I'm trying to get resolved with the VSM in Proteus.

The issue (among a few) is that Floats are not being displayed on newer devices.

In the past Labcenter supported .bas for Proton out of the gate. Now they support only COFF format files. There is an issue for the VSM in displaying the Float vars. There are a number of different formats so you need to force it to use one.
To do that you add "DT_FLOAT=MICROCHIP_BIGENDIAN" to the Other Property's: box in the edit part of the device

Now old files like say the 13k22 or the 25k20 it works fine but a newer 27Q10 it does not.

From memory the COFF file generator was written by David Barker so I doubt it gets modified for individual devices.

I really would like the VSM to work properly so want to get this fixed. Any clues appreciated

Tim

TimeTraveler

Hi Tim,

Why not use the coff file generated by the assembler?


-Mike

TimB


I'm talking about the coff files generated by the compiler

TimB


It turns out I do not need to bother checking if the COFF files change as Labcenter have identified an issue and will issue an update to fix it in the next few weeks.

Tim