Open dmartauz opened 6 years ago
Hi sorry for the wait, can you try the new firmware just released today please?
https://forum.pycom.io/topic/2097/new-firmware-release-1-10-0-b1-external-4mbyte-ram-support
Thank you
Hi, I already tried and it throws Guru Meditation Errors immediately after boot. Daniel suspects that it is caused by flash SPI frequency and is working on a patch for the updater.
Did Daniel say anything more on this? We get invalid instruction occasionally (GME) that we suspect is related to SPI failing to read. It can also corrupt main.py if it fails to read it and then writes over it. We have also seen completely broken FAT with multiple entries for same file name. Know of which SPI frequency may function better?
Dear @dmartauz and @nevercast,
if you feel lucky, you might want to try our custom build just released on [1]. More background about this is available through [2].
If we are lucky together, this will improve the stability significantly. If you will be still receiving the core dumps, I will be happy if you would share its content with us. Please just don't paste it into the comment itself but put it into a file which you will be able to upload by dragging it into the text area.
Please be aware that when upgrading to the current 1.20.1 development release these builds are based upon, you will have to erase your device completely before flashing in order to keep things straight. You will find respective references to this on the forum. Hint: Use pycom-fwtool-cli --port /dev/ttyUSB0 erase_all
, see also [3].
Please also be aware that this procedure will also erase the LoRa MAC stored on the device. @robert-hh thankfully outlined the procedure to restore it appropriately:
- If you still know the value the LoraMac had before, then you can follow the procedure explained at https://forum.pycom.io/topic/1272/lora-mac-ffffffffffffffff/21.
- If you do not know it, you will have to use the Pycom updater to restore it:
- First, use the Pycom updater (GUI version) to install a recent image (like pybytes 1.20.1) from the Internet. You do not have to use it, the installation process itself already restores both the LoRa MAC and the Sigfox ID.
- Then, use the Pycom updater to flash the custom image. Do not erase the flash in between.
As it turned out to gain more robustness for others already [4,5], we will be happy to learn if this happens to you as well.
With kind regards, Andreas.
[1] https://packages.hiveeyes.org/hiveeyes/foss/pycom/vanilla/LoPy-1.20.1.r1-0.6.0-vanilla-dragonfly.tar.gz [2] https://community.hiveeyes.org/t/investigating-random-core-panics-on-pycom-esp32-devices/2480 [3] https://community.hiveeyes.org/t/installing-the-recent-pycom-firmware-1-20-1-r1-requires-erasing-the-flash-memory-completely/2688 [4] https://community.hiveeyes.org/t/testing-the-custom-dragonfly-builds-on-pycom-devices/2746 [5] https://github.com/pycom/pycom-micropython-sigfox/issues/361#issuecomment-553399627
I encountered some instability of L01 while powered by my custom board. Errors are thrown when WiFi client connects to the WiFi AP of L01. Then I found out that it only happens with release 1.7.6.b1 and later. I soldered another L01 to the OEM baseboard and flashed it with 1.9.2.b1. This is the output:
Many more errors follow....
Sometimes it happens immediately after establishing WiFi connection, in another cases after some time or when some communication is performed (e.g. FTP connection).