Go to Post I was considering letting Big Mike bearhug me for the warmth. - Barry Bonzack [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #37   Spotlight this post!  
Unread 08-11-2003, 12:17
Random Dude Random Dude is offline
Oregon State Head FTA
AKA: Chris
no team (Oregon Robotics Tournament & Outreach Program)
 
Join Date: Aug 2002
Rookie Year: 1998
Location: Oregon
Posts: 142
Random Dude will become famous soon enoughRandom Dude will become famous soon enough
I just rigged up a breakout box for the serial and connected in a second comm port (Rx only) to either the Tx or the Rx lines from the computer to the Edu.

I did find that the IFI is basically identical to the Microchip spec. Two notable exceptions:
-There are two undocumented commands, however each is only used once, and the data they send doesn't appear to change.
-I have found what may be a bug in the code as well. I'm going to test more and confirm it.


Hopefully Sean will come link to the real microchip bootloader (since I can't seem to find it). If not I might just start working on coding it myself.


[Edit] I've determined that that first commands is a bulk erase command, while the second command starts the user code running.
And the "bug" was my fault.


[EDIT 2] Found the Microchip loader. The reason for the file size differences is that the DLL was built with the debug code still in.
Without debug code the DLL is only 32k, which means FIRST added stuff to it.

The loader does appear to work, however the microchip programmer doesn't restart the user code automatically as does the IFI programmer. (minor point)

Anyway, I'll clean up all my notes and put them in a organized fashion and post it here in the next day or so. That way anyone who feels motivated to port the IFI loader to linux, Mac, PDA's, etc can. (And hopefully they will share)

This post is now officially too long...

Last edited by Random Dude : 09-11-2003 at 02:59.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux and the New R/C and Strange ideas... Venkatesh Programming 7 28-10-2003 23:54
New programming resource rbayer Programming 0 03-12-2002 00:14


All times are GMT -5. The time now is 07:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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