View Single Post
  #7   Spotlight this post!  
Unread 11-10-2005, 08:57
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Compiling Help!!

Quote:
Originally Posted by ajsetter
Once i download our hex file, the blinking orange light stays blinking until i reset the controller and then after its reset, it flashes red and green (bad code). I then have to re-download the default hex file and after it finishes, it runs as it should.
It sounds like your downloading works okay since the original hex file downloads and runs. I've seen this happen when the hex file didn't get completely downloaded, or the hex file was a partial one, or as RbtGal1351 suggested the cable connection was noisy or otherwise poor, but unless the compiled hex is larger than the default hex I don't see why this would be your case.

To help isolate the culprit I've attached a default v2.2 hex file I compiled and tested on our robot. Try downloading this. If you still have problems then it isn't your compiler it's the connection, if you do have problems then lets dive into your compiler settings.

PS: I was backpacking in Mass. over the weekend, so I was out of touch for awhile.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 11-10-2005 at 10:28.