View Single Post
  #1   Spotlight this post!  
Unread 18-02-2005, 20:05
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Code suddenly fails to initialize

Suddenly my code will not initialize, after downloading the code (which successfully compiles without any problems) the LEDs all stay the same (blinking orange ligh ton program state, solid orange on rc mode, and red solid on OI code error)

Here are the steps I've taken to try to diagnose the problem:
- Downloading default code - works perfectly fine
- Redownloading the master code - doesn't help
- Uncommenting the printf statement in the User_initialization in user_routines.c saying "IFI 2005 controller initialized" - Nothing shows in the terminal window
- Adding printf statement at the very top of the user_initialization above everything - Still doesn't display in terminal window

Since the lights aren't changing, it would seem like it was a hardware issue since the default code works fine. I haven't touched anything with initialization code in my code, so it should at least be initializing and if there's a code problem give a blinking red LED on the rc, not a blinking orange (which is for downloading code). So, the problem makes absolutly no sense to me since it won't even initialize with this code, yet with default it will... and I've made no changes.

Any ideas?