pycom / pycom-micropython-sigfox

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

Guru Meditation Errors on flash access WiPy 3 with 1.20.2.rc3 #402

Open mfallavol opened 4 years ago

mfallavol commented 4 years ago

WiPy 3 (sysname='WiPy', nodename='WiPy', release='1.20.2.rc3', version='v1.11-2037465 on 2020-02-05', machine='WiPy with ESP32', pybytes='1.3.1')

Ever since I upgraded to 1.20.2.rc3 I have been having problems with updating python modules via FTP access. It seemed I would have somewhat better luck if I deleted the file I was replacing first but that just proved not to matter.

About 75% of the time I try to upload a module I get a slew of Guru Meditation Errors and my flash is erased. Unfortunately, this means I cannot use this version for any of my deployed systems because I'll completely loose the ability to talk to them via the WiFi/internet and the systems will have to be dismantled and the WiPy's returned to me for programming.

I tried to post this on the forums but I get: " You do not have enough privileges for this action"

os.unlink('vpL2.conf')
Guru Meditation Error: Core  0 panic'ed (Cache disabled but cached memory region accessed)
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40201ba8: bad00bad bad00bad bad00bad
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40201ba8: bad00bad bad00bad bad00bad
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40201ba8: bad00bad bad00bad bad00bad
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40201ba8: bad00bad bad00bad bad00bad
amotl commented 4 years ago

Dear Michael,

thanks for writing in.

Several people have been able to mitigate similar issues with one of our custom/unofficial Dragonfly builds based on Pycom’s 1.20.1.r1 [1]. We've refreshed this the other day and published corresponding Squirrel builds based on Pycom’s most recent 1.20.2.rc3 [2].

If you want to give WiPy-1.20.2.rc3-0.8.0-vanilla-squirrel.tar.gz a try, we will be happy to hear about the outcome for you.

As I see you already have been running 1.20.2.rc3, you probably won't need this but for others coming here: Please note the installation instructions regarding the erase_all procedure.

With kind regards, Andreas.

[1] https://community.hiveeyes.org/t/dragonfly-firmware-for-pycom-esp32/2746 [2] https://community.hiveeyes.org/t/squirrel-firmware-for-pycom-esp32/2960