Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   2005 default code (http://www.chiefdelphi.com/forums/showthread.php?t=32257)

Ryan Cumings 19-01-2005 11:31

Re: 2005 default code PROBLEMS!
 
Quote:

Originally Posted by davidhoare
I apologize if this has been answered directly in other forums but I could not find it...

I have set our system up with the v2.2 compiler, but for this problem am not even using it.

I downloaded the master code and followed the instructions. It seemed to work fine.
I downloaded the frc_default.hex code supplied in the 2005 RC User Default Code ver2.2 archive. (didn't compile it or modify it in any way - just downloaded through the IFI loader...)

That gave me rapidly blinking red/green 'program state' LED on the RC and gibberish on the IFIloader terminal window.

Trying instead to download the FRCCode.hex that came in the same archive give us slow blinking program state red LED on the RC and nothing in the IFI loader terminal window.

(both situations gave yellow solid "rcmode" light on RC, and red flashing "Code Error" light on OI)

We are stumped. Any help PLEASE. We have gone back to scratch so many times now we are tearing our hair out. :ahh:
Thanks!
David Hoare

You may need to use the 2.4 user code. Try loading that code in and see if the program error goes away.

davidhoare 19-01-2005 19:21

Re: 2005 default code PROBLEMS!
 
Quote:

Originally Posted by Ryan Cumings
You may need to use the 2.4 user code. Try loading that code in and see if the program error goes away.

Thankyou Ryan.

That worked - once... We loaded the default 2.4 code and all was great. Then decided we would work on that code, so needed to install the 2.4 compiler...did that, and now THAT SAME CODE will not load successfully. Same red-green rapid flashing :ahh: (again - same code as before. Default IFI downloaded .hex files. No modifications at all. Not compiled.)

Does this mean we have a dud controller? We have reset, blanked, and re-manstered it dozens of times. Tried no cables, tethered, wireless, no OI, no joysticks or pwm's, anything...

Thanks for your help - what else should we do!?!
David

Astronouth7303 20-01-2005 15:24

Re: 2005 default code
 
Rapidly flashing red/green for program status generally means that a printf() was used before InitializeSerialComms(). Or at least it did last year; I don't know if it applies to the new serial drivers.

RIgnazio 20-01-2005 16:32

Re: 2005 default code
 
http://www.usfirst.org/robotics/2005...s.htm#Section5
Look about 1/2 way down the screen that comes up. It will say:
Quote:

2005 FIRST Robotics Competition Supplemental Robot Code Demonstrated at the Kickoff by Dave Lavery Added 1-10-05
That is where the kickoff code is, then modify that to your needs.
If you don't see it, mainly because you are in a rush, the link for the code is:
http://www.usfirst.org/robotics/2005...2005_01_08.zip
It should work fine, assuming that FIRST used the latest IDE, latest C18, and latest IFI Loader when they did this code.

PM me if you need more help.


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

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