pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
196 stars 167 forks source link

Safe Boot is not working #239

Open rahuldhole opened 5 years ago

rahuldhole commented 5 years ago

When I got new pycom I did some wrong program which leads in breaking the original settings like wifi and bluetooth has stopped working, so I want to safe boot and flash my wrong program files (main.py).

Output in VSCode with Pymakr plugin:

> Failed to connect (Error: Port is not open). Click here to try again.
Connecting on COM5...

Thank you!

robert-hh commented 5 years ago

These steps seem to be overdone, especially since the documentation on the Pin-out about safe boot is wrong. There is no previous of factory firmware. The only thing safe-boot does is skipping boot.py and main.py. So, to get to a clean initial state, reload the firmware using the updater and select "erase flash". That will giev you a device with the most recent firmware and an empty file system.