Go to Post Swerve Drive (n.) - a set of mechanisms to ensure the robot will sit dead on the field for half of that robot's first event - Kevin Leonard [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-04-2009, 01:43
jamie_1930's Avatar
jamie_1930 jamie_1930 is offline
Registered User
FRC #2228 (Cougartech)
Team Role: Student
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Rush-Henrietta
Posts: 371
jamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to behold
IFI_Loader Errors

I'm currently working with the old control system and when I try to upload new code using the IFI_Loader I'm just trying to restore it to the 2007 Default Code (file FRC_Default.hex and FRC_MASTER_V13.BIN are the two files I've tried loading, because they're the only ones IFI_Loader allows) although every time I try to download them I receive an error (No programming board found...). I've already tried all the port settings, COM1-COM12, the board is in the program state, and is connected from the program port on a 2008 RC Controller via several male-female RS-232 connectors leading to an RS-232 serial port on a desk top computer. Does anyone know what I'm doing wrong.
  #2   Spotlight this post!  
Unread 20-04-2009, 07:48
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 685
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: IFI_Loader Errors

I'm going by memory here as it's been over a year using the old controller system, and make suggestions that may point you in the correct direction. I may be vague only because I'm going by memory. Hopefully others will chime in with more.

Are you using MPLAB 7.2? There is a special version of MPLAB for the FRC robots that has all the libraries etc you need.

Actually, first off, are you using Windows XP, 98, or Vista?

The FRC_MASTER_V13.BIN file just loads the master code for the robot controller and does nothing for "driving" the robot.

.hex files are what you want to download to the robot. The FRC_Default.hex is probably very very basic. Anything you compile with MPLab turns into a .hex file.

There might have to be some tweaking with IFI_Loader on which serial port you need. I seem to recall a menu for that.

There is also the "programming button" on the robot's controller that must be pressed prior to downloading. Press it only long enough for the lights on the controller to change -- much longer and you get the "christmas lights" effect [blinky lights] which you don't what it to do. It sounds like you got that part okay.

There is a website by Kevin Watson that you might want to look at. He rewrote the IFI code for FRC specific items. You may have to go to the 2007 page for less experimental code. For 2008 he wrote a very clean version of the robot code that had very little of the original IFI code.

Remembering the old controller setup might be a good idea, at least until all our old robots give up the ghost. Good luck!
  #3   Spotlight this post!  
Unread 20-04-2009, 12:09
jamie_1930's Avatar
jamie_1930 jamie_1930 is offline
Registered User
FRC #2228 (Cougartech)
Team Role: Student
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Rush-Henrietta
Posts: 371
jamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to behold
Re: IFI_Loader Errors

I'm using
-Windows XP
-MPLAB IDE v7.20
-IFI Loader v1.0.11
-2008 RC
-2008 O/I
  #4   Spotlight this post!  
Unread 20-04-2009, 20:55
jamie_1930's Avatar
jamie_1930 jamie_1930 is offline
Registered User
FRC #2228 (Cougartech)
Team Role: Student
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Rush-Henrietta
Posts: 371
jamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to behold
Re: IFI_Loader Errors

Quote:
Originally Posted by Roger View Post
There is also the "programming button" on the robot's controller that must be pressed prior to downloading. Press it only long enough for the lights on the controller to change -- much longer and you get the "christmas lights" effect [blinky lights] which you don't what it to do. It sounds like you got that part okay.
What can you do to get rid of this christmas lights effect I'm getting it on start-up now, and can get solid orange on the program state and RC mode, if I hold down the prog button, but everything else (Battery Power, Radio Modem, RC Hardware) is blinking green.



I've gotten a little closer when we reconfigured the baud rate and port connections, and I'm now finding the control board, but I'm receiving a different error. Runtime Error ''11: Division by zero. and after I recieve this error the programming state returns to it's pervious flickering orange

Last edited by jamie_1930 : 20-04-2009 at 21:05.
Closed Thread


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
IFI_Loader protocol? Shinigami2057 Programming 11 29-11-2006 22:57
New IFI_LOADER! Greg Ross Programming 12 09-02-2006 12:05
IFI_Loader Problem, please help. winners Programming 9 18-01-2006 17:54
IFI_Loader problem(new to C, newb) FormatteD_C Programming 3 20-02-2004 11:38
IFI_Loader and Windows ME: What gives? Astronouth7303 Programming 2 19-01-2004 15:25


All times are GMT -5. The time now is 01:09.

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