@wsanders I don't know, but I assume that firmware built using the latest SDK is backwards compatible and should work on older Core 2s. I don't have an older Core2 to test.
Posts made by kempston
-
RE: Boot loop on M5Core2 after burning Core2factoryTest
-
RE: Boot loop on M5Core2 after burning Core2factoryTest
Despite there being no response whatsoever by M5Stack, this issue has now been solved by an independent developer.
The cause of this issue 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.
-
RE: Boot loop on M5Core2 after burning Core2factoryTest
For the information of anyone following this thread, M5stack has now released an updated version of Core2FactoryTest that now works on recent Core2 devices. But many of the other programs listed in M5Burner still fail.
Clearly, they've made a change to Core2FactoryTest that makes it compatible with new Core2s but they haven't told their developers what this change is (or why it's needed) and haven't responded to the open Github issue.
-
RE: Boot loop on M5Core2 after burning Core2factoryTest
@teastain Thanks for the suggestion.
I sent a message to support@m5stack.com ten days ago but there's been no response so far.
I've now logged an issue on Github:
https://github.com/m5stack/M5Core2/issues/127 -
RE: Boot loop on M5Core2 after burning Core2factoryTest
Does anyone know how to encourage M5stack to comment on this issue?
It seems that recent Core2 devices don't work to the extent that it's impossible to install M5stack's own factory test program, even though installing UIFlow_Core2 does work correctly.
It would be good to have some idea of the timescale for a fix.
-
RE: Boot loop on M5Core2 after burning Core2factoryTest
I'm informed by another user that M5Stack are aware of this issue, which is a "flash compatibility issue with old version IDF" and they say that "we will update the firmware on M5Burner soon to fix it".
-
Boot loop on M5Core2 after burning Core2factoryTest
I have a new M5Stack Core2 that was working perfectly on arrival with the pre-installed factory test program.
I used M5Burner to install UIFlow_Core2 and that worked. I was able to use flow.m5stack.com to send simple programs to the device and everything I tried worked.
I then used M5Burner to re-install Core2FactoryTest and the burn appeared to work but the device then entered an infinite boot loop, reporting (via the serial monitor):
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 etc
I've tried re-installing UIFlow_Core2 and Core2FactoryTest several times. Each time, UIFlow_Core2 works perfectly and Core2FactoryTest fails as described.
I've also tried several other programs via M5Burner: some work and some fail to boot, some with "IllegalInstruction", some with "InstrFetchProhibited".
Any ideas? I suspect a hardware fault but can't reconcile that possibility with the fact that some programs work.