LoPy4 crash
-
@mythael How often does that happen? Every few Minutes, once an hour, once a day, once a week?
-
@robert-hh it depends in general it takes 4 hours or less (the fastest crash observed is 10 minutes) with this little script it took 15 hours. I also tried with another Lopy4 but I have the same problem.
-
@mythael which firmware version do you use? How do you power to the device?
-
@robert-hh I'm using version 1.20.2.rc7 and the card is USB powered. I tried it on a 3.1 extension card and a Pysense card.
-
@mythael I have set-up a LoPy4 with a similar script like yours, and it is running not continuously since 10 days without any crash. The script is below. It blinks green every 20 seconds. The LoPy4 is powered by a separate USB supply & not connected to a computer. I use my own simple expansion board with FT232 USB/UART bridge. The firmware is 1.20.2.rc7, but my own build.
import pycom import utime pycom.heartbeat(False) while True: print ("ok") pycom.rgbled(0x004000) utime.sleep(1) pycom.rgbled(0) utime.sleep(20) -
@mythael 21 days on the road an still running.
A note on the USB supply I am using: it is a dumb one. Just delivering 5V up to 1A without any protocol.
From time to time I connect via Telnet as an additional verification besides the green LED coming up every 20 seconds. -
@mythael I stopped the test yesterday after 44 days for loading the latest firmware 1.20.2.rc9. The device was still up and working.
-
@robert-hh 96 days since the last stop and still working fine. Similar for the LoPy1 which runs as single channel Lora gateway, which restarted twice in that time, both caused pulling unintentionally it's power plug.
-
@robert-hh are you running the nanogateway.py example that we provide? I have not been able to get that running stable for more than a day yet :/
Gijs -
@Gijs I assume that not. I am running a version from months or years ago, and with the Loriot network. I can send you a copy of that nanogateway script.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login