I have a full development WGM160P board and we do pushes to it mostly via Gecko OS IDE and then through Zentri updates using OTA enabled settings. We then call a dfu_update on the device after we release a bundle.
For some reason we are getting the device into a weird state after it's running. Here's the error.
SAVEMODE> Starting Safemode console for 300 seconds.
Issue 'faults_reset' then 'reboot' to exit safemode.
So far, after that we must connect it to a PC with USB.
Is this only because we are pushing via Gecko OS IDE?
after I run those two commands (connected via computer), the device resets fine and runs our code and connects to the internet fine.
We're wanting to test some things completely unattended and always run Zentri commands or is this just an issue with just using Development Builds? I haven't tried a Production Build via Zentri.
the system.uuid is:
I was going to test with just using Gecko OS Studio -> Program Device -> Mode -> Products -> <Select Product> only, but not sure if that's a better solution to prevent the issue.
Sorry for the delay in replying to your post.
Let me notify one of my colleagues familiar with WGM160P about this message.
Did you using or lasted SDK 4.2.3?
Also, this state happens when the device has occurred 10 times of hard fault error. If you type down ls command you will see the core_dump files on that.
Please copy that core_dump ( you can using web setup features for an easier copy) and attach it to us so that we can investigate more of it.
And would you mind to explain your code a little bit so that I can understand which services you used in your code?
I do see the dump files now that you mentioned it use the web socket console. There are 8 of them total. I'll try and get one pushed to you later today when I get the device.
We're now using SDK 4.2.0-8775. Should I upgrade to be consistent?
Now that you mention it, it might be some of our code causing the core dumps. The core functionality is using MQTT code connecting to AWS, Temperature sensors (by TI), and sending GPIO functions to certain pins for functionality on our side.
Right now, I don't have the temperature sensors hooked up, so that could be the reason for the crashes.
In the meantime, are there any settings for safemode to bring it back online / network connected when it hits this "safe mode" state?
Just wondering if there are options or issues when we start shipping some of these development boards to remote locations.
Thanks for all of the help.
The simplest way is to disable safe mode, by setting system.safemode.disabled to 1.