CrowPanel 4.3'' HMI broken after flash

edited June 2 in Elecrow HMI Display

The module either displays
invalid header: 0xffffffff
Or partition table errors

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403cdd15
SPIWP:0xee
Octal Flash Mode Enabled
For OPI Flash, Use Default Flash Boot Mode
mode:SLOW_RD, clock div:1
load:0x3fce3810,len:0xfec
load:0x403c9700,len:0x4
load:0x403c9704,len:0xab0
load:0x403cc700,len:0x2cc0
entry 0x403c9880
E (38) flash_parts: partition 0 invalid magic number 0x5050
E (38) boot: Failed to verify partition table
E (38) boot: load partition table error!

Any flash attempt only works with the --nos-tub argument in place when flashing via esptool otherwise it generates a md5 verification error.

esptool.py v4.8.1
Found 3 serial ports
Serial port /dev/cu.wchusbserial1440
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 2MB (AP_3v3)
Crystal is 40MHz
MAC: 24:58:7c:55:34:90
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x00166fff...
Flash params set to 0x0220
SHA digest in image updated
Compressed 19600 bytes to 12384...
Wrote 19600 bytes (12384 compressed) at 0x00000000 in 1.5 seconds (effective 107.0 kbit/s)...
File  md5: 6a914f13e4b0f557db155786e491d001
Flash md5: c574790aa467eee0484111db88c1e6ce
MD5 of 0xFF is c574790aa467eee0484111db88c1e6ce

A fatal error occurred: MD5 of file does not match data in flash!

Best status so far is

���ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375d15
SPIWP:0xee
Octal Flash Mode Enabled
For OPI Flash, Use Default Flash Boot Mode
mode:SLOW_RD, clock div:2
load:0x3fce3820,len:0x1108
load:0x403c9700,len:0x4
load:0x403c9704,len:0xbdc
load:0x403cc700,len:0x2f4c
entry 0x403c989c
E (578) Octal Flash: No detected Flash chip, please check the menuconfig to see if the chip is supported

A fatal error occurred. The crash dump printed below may be used to help
determine what caused it. If you are not already running the most recent
version of MicroPython, consider upgrading. New versions often fix bugs.

To learn more about how to debug and/or report this crash visit the wiki
page at: https://github.com/micropython/micropython/wiki/ESP32-debugging

MPY version : ecfdd5d-dirty on 2025-05-20
IDF version : c9763f62
Machine     : Generic ESP32S3 module with ESP32S3


abort() was called at PC 0x40389fbf on core 0


Backtrace: 0x40375616:0x3fceb200 0x403849c9:0x3fceb220 0x40388556:0x3fceb240 0x40389fbf:0x3fceb2b0 0x4037ebb9:0x3fceb2e0 0x40375243:0x3fceb300 0x403cdb0e:0x3fceb340 0x403cde55:0x3fceb380 0x403c9909:0x3fceb4b0 0x40045c01:0x3fceb570 0x40043ab6:0x3fceb6f0 0x40034c45:0x3fceb710

Any ideas how to save the board ?
kind regards,
oliver

Comments

  • Hi, Oliver,
    I hope this message finds you well. Thank you for reaching out . Sorry for the inconvinience caused.

    Our technical support team is currently looking into the issue in your message. Please be patient, and we will get back to you as soon as possible.

    Thanks! Have a nice day!

  • I managed to reflash with original provided firmware .
    So thank you but we can close this issue but i have a different question .
    Can you provide information on hoq to use the imagetools module in

    MicroPython v1.19.1-881-gcae7a7c73-dirty on 2023-10-30; ESP32S3 module (spiram) with ESP32S3
    Type "help()" for more information.

    ['class', 'name', 'file', 'struct', 'open_png', 'lodepng_error', 'convert_rgba8888_to_swapped_bgra5658', 'convert_rgba8888_to_bgra8888', 'convert_rgba8888_to_bgra5658', 'lv', 'png', 'get_png_info', 'COLOR_IS_SWAPPED', 'COLOR_SIZE']

    Is it possible to get the original source code this micropython version was compiled with ?

    kind regards,
    oliver

  • @oliver said:
    I managed to reflash with original provided firmware .
    So thank you but we can close this issue but i have a different question .
    Can you provide information on hoq to use the imagetools module in

    MicroPython v1.19.1-881-gcae7a7c73-dirty on 2023-10-30; ESP32S3 module (spiram) with ESP32S3
    Type "help()" for more information.

    ['class', 'name', 'file', 'struct', 'open_png', 'lodepng_error', 'convert_rgba8888_to_swapped_bgra5658', 'convert_rgba8888_to_bgra8888', 'convert_rgba8888_to_bgra5658', 'lv', 'png', 'get_png_info', 'COLOR_IS_SWAPPED', 'COLOR_SIZE']

    Is it possible to get the original source code this micropython version was compiled with ?

    kind regards,
    oliver

    Hi, Oliver,
    I hope this message finds you well. Thank you for the update . Sorry for the inconvinience caused.

    Our technical support team is currently looking into the issue in your message. Please be patient, and we will get back to you as soon as possible.

    Thanks! Have a good day!

Sign In or Register to comment.