-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boot loop on M5Core2 after burning Core2factoryTest #127
Comments
Hello M5Stack dream team 🤗 Indeed, I do suspect a problem with recent M5Core2 production batch, too.
I'm not able to reproduce it, because my M5Core2 or my M5Core2 AWS date from 2021 or 2022. Please, could you explore this issue ? Armel. |
Armel has correctly deduced the cause of this issue, which is that only the latest version of the ESP-IDF SDK developed by Espressif is compatible with new Core2 devices. Firmware built using the earlier version of the ESP-IDK SDK doesn't work on new Core2 devices and enters an infinite loop on booting, reporting either IllegalInstruction or InstrFetchProhibited. This means that about half of the firmware listed in M5Burner will need to be rebuilt by their authors using the latest SDK to make them work with new Core2s. |
On wich update will the Arudio Library Support the new ESP-IDK SDK i have a batch of new Core2s wich have the same bootloop on 1.0.5 when an old one works fine. |
Describe the bug
Using M5Burner to re-install Core2FactoryTest on a new Core2 device results in the device entering an infinite boot loop.
To reproduce
Expected behavior
Expected behaviour after a successful burn is for the Core2Factorytest program to start.
Screenshots
Serial monitor output:
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1100
ho 0 tail 12 room 4
load:0x40078000,len:12308
load:0x40080400,len:3076
entry 0x400805ec
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400f2f20: 443a20c2 0d0e272a 02a8130c
....
Environment
Additional context
Burning UIFlow to the Core2 works, as do some of the other firmware programs listed in M5Burner. But other firmware programs listed in M5Burner (for example, M5HamRadioCore2) also fail, entering an infinite boot loop after the device resets. This is repeatable: programs that work always work; programs that fail always fail.
There have now been three reports of this problem with new Core2 devices in the community forum. Perhaps a recent hardware change has caused the burn process to fail?
Issue checklist
The text was updated successfully, but these errors were encountered: