![]() |
Power Up Code Error / System Crash
Hi all,
I'm seeing some weird behavior out of the RC, and was wondering if anyone has seen similar. We are using Kevin Watson's ifi_sensor workspace as a baseline, and have multiple modules plugged in on top of it, tied together in various ways. Pretty standard stuff. When the robot is first turned on, there is a code error, and the red light blinks. Upon a reset, the code runs smoothly as expected; resetting the RC after initial boot does not cause this problem. The bug seems to be limited to full power cycles only. Is there any extra initialization on a cold boot? I believe I may be tripping the watch dog, but can't be entirely sure. Thanks! |
Re: Power Up Code Error / System Crash
There's a ton of extra initialization on a cold boot. At the very least, all the inline initialized variables are re-initialized during a cold boot, thus why people often have failed autonomous modes after a field error. There's a fair bit of processor memory clearing and such like as well. If you've fiddled with that code then that might do it.
|
Re: Power Up Code Error / System Crash
Quote:
Code:
_entry -> jumps to _startup |
Re: Power Up Code Error / System Crash
Quote:
-Kevin |
Re: Power Up Code Error / System Crash
Quote:
|
| All times are GMT -5. The time now is 01:00. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi