[Bug]: M5 Stack firmware not working with ESP32-S3 version of the M5 Stack
Category
Hardware Compatibility
Hardware
Other
Firmware Version
2.3.10
Description
invalid header: 0xffffffff after flashing M5 Stack firmware to M5stack Core S3. Tried several times, also custom build in PlatformIO
Relevant log output
invalid header: 0xffffffff
Me too, Atom S3 Lite , adding relevant info.
MacBook Pro, OS version 14.5 Sonoma, chipset Apple Silicon
invalid header: 0xfESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x7 (TG0WDT_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT) Saved PC:0x40048839
Which variant have you build?
I realize this thread is a bit dated, but I encountered a similar issue when using the web flasher and wanted to share my experience in case it helps with ongoing development or support.
I consistently received the following error same as the OP:
invalid header: 0xffffffff
I tested the latest firmware builds (v2.5.20.4c97351, both beta and alpha) without success from the web flasher.
Ultimately, I was able to manually flash the v2.5.20.4c97351 "firmware-m5stack-cores3-2.5.20.4c97351" firmware via the console, which allowed the device to boot and partially function. However, several issues remained even after tying the alpha and nightly builds as well:
The display does not initialize (remains black).
I came across a comment suggesting a potential SPI conflict between the LCD and LoRa on the CoreS3, which may be related, but I'm just guessing, complete amateur here.
The device is accessible in the Meshtastic web client and via Bluetooth, and it detects other nodes close by, but it is unable to send messages, and I am unable to see it from another device.
I’ve tried multiple build variants with the same results.
Hardware details:
M5Stack CoreS3
LoRa868 V1.1 module
There are dipswitch options on the LoRa Board, I used for NSS 6, for IRQ 14 and RST 5 which I took from the variants/m5stack_cores3/variant.h
I'm relatively new to the platform but happy to assist with testing or provide logs and configuration details if needed. I appreciate the work being done here and would be glad to contribute in any way I can to help resolve these issues.