odroid-go-firmware icon indicating copy to clipboard operation
odroid-go-firmware copied to clipboard

DisplayError("ERASE ERROR"); on thirds pass

Open 32teeth opened this issue 5 years ago • 5 comments

make monitor
ui_choose_file: HEAP=0x00019b58
ui_choose_file: fileCount=2
ui_draw_page: HEAP=0x00018b2c
menu_main: fileName='/sd/odroid/firmware/Go-Play.fw'
flash_firmware: HEAP=0x00019a84
Opening file '/sd/odroid/firmware/Go-Play.fw'.
Header OK: 'ODROIDGO_FIRMWARE_V00_01'
FirmwareDescription='Go-Play (20180726)'
flash_firmware: expected_checksum=0x4e68ed3f
flash_firmware: checksum=0x4e68ed3f
flash_firmware: FLASH_START_ADDRESS=0x00100000

I get three successful passes (0,1,2), then 3 fails all the time

Erasing ... (3)
spi_flash_erase_range failed. eraseBlocks=330

32teeth avatar Apr 05 '19 01:04 32teeth

This typically happens when using a device other than ODROID-GO that has a smaller flash capacity.

OtherCrashOverride avatar Apr 05 '19 15:04 OtherCrashOverride

Tried 20181004 with 16GB Kingston Card Same result

ui_choose_file: HEAP=0x00019b58
ui_choose_file: fileCount=1
ui_draw_page: HEAP=0x00018b44
menu_main: fileName='/sd/odroid/firmware/Go-Play.fw'
flash_firmware: HEAP=0x00019a84
Opening file '/sd/odroid/firmware/Go-Play.fw'.
Header OK: 'ODROIDGO_FIRMWARE_V00_01'
FirmwareDescription='Go-Play (20181004)'
flash_firmware: expected_checksum=0x29883e2b
OK: [2] Length=0x09ada0
Erasing ... (3)
spi_flash_erase_range failed. eraseBlocks=330

32teeth avatar Apr 05 '19 17:04 32teeth

The ODROID-GO has 16MB of internal flash. Other ESP32 devices typically only have 4MB which is too small to hold Go-Play.fw.

OtherCrashOverride avatar Apr 05 '19 21:04 OtherCrashOverride

@OtherCrashOverride good insight

I have tried on a ESP32-WROOM-32D with 128MBITS -> 16MB

32teeth avatar Apr 10 '19 19:04 32teeth

As the repo name suggests, this software is written for the ODROID-GO. It uses a WROVER (PSRAM) module and has 16MB of internal flash. The issue does not occur on that device.

OtherCrashOverride avatar Apr 13 '19 12:04 OtherCrashOverride