I’m trying to make my ESP32 board work with MDash (it’s actually an ESP32-WROOM-32U). This board is intended to be a commercial product so it needs to be solid. It runs well with Mongoose OS and today I started MDash testing. I’m able to connect to MDash and the board shows as online.
I wrote a very simple Mongoose app that blinks LEDs and flashed it using USB. I included this in my yml:
# These are needed for MDash and OTA Updates
- origin: https://github.com/mongoose-os-libs/dash
- origin: https://github.com/mongoose-os-libs/rpc-service-ota
Sometimes when I try to manage the board I get a core dump. As soon as I click the gear in the MDash dashboard and it switches to the management page. The board then tries to reboot but it appears to be booting corrupted firmware.
I think this is related to an unsuccessful attempt to OTA update it. It looked like the firmware was accepted but then there was an error from my board to the effect that the flash could not be written.
I’m trying to get this to work properly and reliably and would appreciate suggestions, thank you all.
I am seeing “watchpoint 0 triggered” when I used MDash to do an RPC call to reboot the device. Sometimes it happens when I just click the gear on the device tile (on MDash).