MPLAB and ICD2

Discuss the Integrated Development Environment (IDE)

Moderators: David Barker, Jerry Messina

TimB
Posts: 262
Joined: Wed Oct 04, 2006 7:25 am
Location: London UK

Post by TimB » Tue Feb 12, 2008 3:30 pm

Hi

Yes Dave has that on his shelf.

Now it needs to be read, understood and used to do the translation.

I'm willing to stump up some money to get some one to do the conversion but there is now way I could afford the true cost.

dman776
Posts: 115
Joined: Mon May 28, 2007 3:59 pm
Location: Texas

Post by dman776 » Tue Feb 12, 2008 3:52 pm

Thanks Tim.
To be clear, is the main area of work now to take the SF intermediate debug file (I'll start calling it SFIDF for short) and create a conversion routine that outputs the COFF file?

TimB
Posts: 262
Joined: Wed Oct 04, 2006 7:25 am
Location: London UK

Post by TimB » Tue Feb 12, 2008 4:21 pm

Yes that the sum of it. Obviously who ever took it on I would put monies up front for documentation.

I also have to say that it could be a saleable item I could get another compiler writer I know to output the same SFIDF format file so you doubled (by a few times) your customer base.

dman776
Posts: 115
Joined: Mon May 28, 2007 3:59 pm
Location: Texas

Post by dman776 » Tue Feb 12, 2008 4:25 pm

How can I get a copy of either a sample SFIDF file or the beta that generates them? I'm not committing to anything, I just would like to better understand my starting point.

TimB
Posts: 262
Joined: Wed Oct 04, 2006 7:25 am
Location: London UK

Post by TimB » Tue Feb 12, 2008 4:27 pm

I will get Dave to send you a sample output

dman776
Posts: 115
Joined: Mon May 28, 2007 3:59 pm
Location: Texas

Post by dman776 » Tue Feb 12, 2008 4:42 pm

Thanks Tim/Dave.

TimB
Posts: 262
Joined: Wed Oct 04, 2006 7:25 am
Location: London UK

Post by TimB » Wed Feb 13, 2008 5:33 pm

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.

dman776
Posts: 115
Joined: Mon May 28, 2007 3:59 pm
Location: Texas

Post by dman776 » Thu Feb 14, 2008 6:44 am

thanks Tim/David.

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Sat May 24, 2008 7:35 pm


Post Reply