MPLAB and ICD2
Moderators: David Barker, Jerry Messina
Ok Dave has posted an example of the Debug File here http://www.sfcompiler.co.uk/wiki/pmwiki ... User.SFIDF
He has also written up what each section contains and really its pretty easy to understand. It gets tricky when you start to look at the way structures have to be described but not beyond the skills of most people here (it is me unfortunately )
It also lends its to a new generation of Program information plug-ins.
Take for example if you wanted to report all the functions and how much memory they used in each one.
You would search the file for .func then take the Value in Field 3(F3) which is the ROM used, then take the name of the function from Field 9
Display the name followed by the Size value and your done
The format is not fixed 100% yet and Dave will listen and work with anyone who is able to help with COFF generation.
He has also written up what each section contains and really its pretty easy to understand. It gets tricky when you start to look at the way structures have to be described but not beyond the skills of most people here (it is me unfortunately )
It also lends its to a new generation of Program information plug-ins.
Take for example if you wanted to report all the functions and how much memory they used in each one.
You would search the file for .func then take the Value in Field 3(F3) which is the ROM used, then take the name of the function from Field 9
Display the name followed by the Size value and your done
The format is not fixed 100% yet and Dave will listen and work with anyone who is able to help with COFF generation.
- David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
- Contact: