View Single Post
  #4   Spotlight this post!  
Unread 22-01-2007, 01:56
ericand's Avatar
ericand ericand is offline
Registered User
AKA: Eric Anderson
FRC #3765 (Terrabots)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: St. Paul, MN
Posts: 148
ericand is a jewel in the roughericand is a jewel in the roughericand is a jewel in the rough
Re: Intermittent CODE ERROR, followed by uncommanded relay switching

The key to soliving the problem that was showing up last year (with symptoms similar to yours) was the change in the linker script. The 8.2-8.3 problem was found by our team to be temperature sensitive (occuring more often when the processor was cold, and less when it was warm).

The problem seemed to occur when the memory used by txdata and rxdata (the memory used to communicate between the master controller and the slave controller) was in the memory section adjacent to the hardware registers. The linker script patch makes that piece of RAM protected so it is not used (and the memory used for communication is moved away from the hardware registers).