Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   IFI Loader Reloaded (http://www.chiefdelphi.com/forums/showthread.php?t=38853)

Rickertsen2 22-10-2005 13:56

Re: IFI Loader Reloaded
 
What info can you give me on how the code loading scheme works? I heard that it is based off of some Microchip reference implementation. You obviously figured it out in order to write this. I am curious.

sciguy125 22-10-2005 14:39

Re: IFI Loader Reloaded
 
Quote:

Originally Posted by Rickertsen2
What info can you give me on how the code loading scheme works? I heard that it is based off of some Microchip reference implementation. You obviously figured it out in order to write this. I am curious.

The PIC on the RC has a bootloader on it. There's read/write commands as well as a few other things. The IFI bootloader is a slightly modified version of the one put out by Microchip. Matt Fowler (FRC team #312) sent me a whitepaper on the IFI bootloader. The Microchip bootloader has the same protocol and both share most of their commands. For documentation on the Microchip bootloader, look for AN851 on their website.

Mike 03-11-2005 19:33

Re: IFI Loader Reloaded
 
I haven't used it yet, so it may have this feature... but in case it doesn't.

It'd be nice to have a feature to disconnect from the COM port. This way, if you are using another terminal program you don't have to close it in order to be able to use that port.

Tom Bottiglieri 03-11-2005 20:04

Re: IFI Loader Reloaded
 
Where can I get a binary? :D

sciguy125 03-11-2005 20:51

Re: IFI Loader Reloaded
 
Quote:

Originally Posted by Mike
It'd be nice to have a feature to disconnect from the COM port. This way, if you are using another terminal program you don't have to close it in order to be able to use that port.

It's been awhile since I've been in that part of the code, but I'm pretty sure that it does. The port is normally free. When the program wants it, it'll open the port, then close it when it's done.

Quote:

Originally Posted by Tom Bottiglieri
Where can I get a binary?

I posted a link to a Windows binary a few posts back. I've had trouble making it work, so your milage may vary. It was compiled with Visual Studio, and didn't give any error (it obviously compiled), but it has problems with the serial port. When the program opens the port, it seems to crash. I haven't found the problem though, because if I run that same binary on WINE (windows emulator for linux), it works fine. I don't have access to another windows compiler though. I'd be great if someone came up with a binary for me though. :)

SoftwareBug2.0 03-11-2005 23:49

Re: IFI Loader Reloaded
 
Quote:

Originally Posted by sciguy125
...I don't have access to another windows compiler though. ...

Have you tried the Digital Mars compiler?
http://www.digitalmars.com/

Ryan M. 04-11-2005 11:48

Re: IFI Loader Reloaded
 
Quote:

Originally Posted by sciguy125
I posted a link to a Windows binary a few posts back. I've had trouble making it work, so your milage may vary. It was compiled with Visual Studio, and didn't give any error (it obviously compiled), but it has problems with the serial port. When the program opens the port, it seems to crash. I haven't found the problem though, because if I run that same binary on WINE (windows emulator for linux), it works fine. I don't have access to another windows compiler though. I'd be great if someone came up with a binary for me though. :)

I'll give it a shot sometime over the weekend. I have a few different compilers... if I get one to work, I'll post it.

CJO 04-11-2005 23:38

Re: IFI Loader Reloaded
 
The default microchip loader will also load and unload binaries from the controller, but this is a nice update.

However, this will probably not be able to update the master code, at least not in its original format.

bear24rw 05-08-2007 00:57

Re: IFI Loader Reloaded
 
Firstly, yes I know this thread is like two years old but..

I was wondering if you continued work on finishing ifiloader reloaded..
Does it work with the 8722 chip?
Can you email me the whitepaper on the bootloader?

Thanks

sciguy125 06-08-2007 10:55

Re: IFI Loader Reloaded
 
Quote:

Originally Posted by bear24rw (Post 637825)
Firstly, yes I know this thread is like two years old but..

I was wondering if you continued work on finishing ifiloader reloaded..
Does it work with the 8722 chip?
Can you email me the whitepaper on the bootloader?

Thanks

The response from my team wasn't as good as I thought it would be. I pretty much just stopped working on it.

Tottanka 06-08-2007 11:03

Re: IFI Loader Reloaded
 
I would suggest you to add to the tags a word from the programmer, so he knows what program is on the RC at the moment.
Great work!

bear24rw 07-08-2007 00:07

Re: IFI Loader Reloaded
 
Quote:

Originally Posted by sciguy125 (Post 637927)
The response from my team wasn't as good as I thought it would be. I pretty much just stopped working on it.

Oh, sorry to here about the lack of enthusiasm imo i think its a great project


All times are GMT -5. The time now is 17:05.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi