View Single Post
  #10   Spotlight this post!  
Unread 19-02-2005, 09:28
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Code suddenly fails to initialize

[quote=miketwalker]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)

We had the same problem...going through our code..(starting with the default code and building back up), we found that commenting out the "Serial_Driver_Initialize();" in user_initialization() worked. Don't know why. but it worked!

/* Add any other initialization code here. */

Initialize_Serial_Comms();
Initialize_Encoders();
Initialize_Gyro();
robot_init();
Putdata(&txdata); /* DO NOT CHANGE! */

// Serial_Driver_Initialize();
printf("%s\n", strptr); /* Optional - Print initialization message. */

User_Proc_Is_Ready(); /* DO NOT CHANGE! - last line of User_Initialization */
}


Jon Team236