I've uploaded a sketch to my arduino yun and it runs ~1-2 minutes before reseting again. I'm not sure what is causing this.
Has anyone encountered this problem? I didn't see any posts involving the Yun and this issue. If you know of a forum post, please forward me to that post.
If in 1 min wifi does not work, It will reset and reboot.
nano /usr/bin/wifi-reset-and-reboot
/sbin/reboot
fix method:
nano /etc/rc.local
#wifi-live-or-reset
Disable wifi-live-or-reset, connect ethernet cable to wifi router. make sure you have enough wifi signal strength (>80%) then re-enable wifi-live-or-reset.
Hmm, it seems to be connecting to the wifi correctly. It'll run about 4-5 loops within the sketch which print to the serial monitor and then it restarts.
mjmostachetti:
Hmm, it seems to be connecting to the wifi correctly. It'll run about 4-5 loops within the sketch which print to the serial monitor and then it restarts.
Do you have any other ideas?
Without seeing your code, I have only two WAGs:
unstable power source
excessive RAM usage that crashes the AVR
Posting your code can at confirm or dismiss the second one...
mjmostachetti:
K. I'll post the code tomorrow.
It's currently receiving power via USB, so it's probs the ram.
Thanks for the info.
Btw, I got your PM(s), but I was not near a computer all day yesterday and this morning things are going a bit crazy over here as I need to check with some clients about some possible computer damage after an earthquake here in the San Fernando valley this morning.
I might not be able to take a closer look at this until late tonight or possibly even not until sometime tomorrow...