From: Michele A. <mic...@gm...> - 2024-07-02 10:40:03
|
Hi, as I mentioned to one of the authors, I developed a patch to get full source debug for programs developed with MPLAB X (official Microchip IDE). MPLAB produces ELF object files (not COD as supported by gpsim) and the normal HEX. Elf is quite difficult to use, but it also generates a CMF file, a text file with source-binary matching and symbols. So my idea is loading CMF file in place of COD (after all "-s" is for symbol file, so it seemed the right place to me). It still needs HEX file and processor specification, example: gpsim -s myprog.cmf -p p16f887 myprog.hex So attached is my proposed patch. I hope it can be useful, it allows full source debug using MPLAB. I tried to integrate it well in the structure and style of the program. Let me know! Bye Michele Alessandrini |