View Single Post
  #5   Spotlight this post!  
Unread 24-10-2006, 16:02
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: IFI_Loader protocol?

You'll probably want to look at my Python port of IFI PICLoader, which I called "pycloader".

I tried to make the modules which handle reading of the HEX file (which is based on a spec from Intel) and interfacing with the controller as usable as possible.

The Intel Hex reader interface is more hackish than I'd like, but it works. It supports more record types than is actually used.

The PIC interface (what you're interested in) is a little more manageable, IMHO. I've tried really hard to make sure it's all documented and laid out nicely and...

The C version is not really readable. I first tried porting it by doing a line-by-line port and simplifying. I then grabbed PortMon from Sysinternals and just figured it out. The resultant protocol I documented (or tried to) on my website. (Also in CVS.)

Any suggestions would be appreciated.

And no, I don't understand the parameters to the ERASE command, yet.