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.