Hello everyone,
I'm encountering an issue with my ESP32 project, and I'm hoping someone here might be able to help. I'm using the ESP32 (revision v3.1) with the following configuration:
ESP-IDF Version: v5.1-beta1
Crystal Frequency: 40 MHz
Flash Size: 4MB
Chip Type: ESP32 (Dual Core, WiFi, BT)
When I attempt to flash my application using espflash, the flashing process completes successfully, but upon reboot, I get the following error in the bootloader:
E (136) esp_image: Segment 0 0x3f000020-0x3f01eef8 invalid: bad load address range
E (145) boot: Factory app partition is not bootable
E (150) boot: No bootable app partitions in the partition table
This seems to suggest that the bootloader is unable to load the factory application due to an invalid memory address range. The system then enters a reset loop with the same error messages.
ESP32 Boot Error: "Factory app partition is not bootable" - Invalid Load Address Range
ESP32 Boot Error: "Factory app partition is not bootable" - Invalid Load Address Range
- Attachments
-
- Screenshot_20240903_133240.png (149.63 KiB) Viewed 1465 times
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 Boot Error: "Factory app partition is not bootable" - Invalid Load Address Range
That conclusion is correct. Not sure why that is happening, though - perhaps for some reason the app is compiled for the wrong ESP32 type? You could try to remove the build directory, doing a new build and then flashing everyrting (bootloader + partition table + app) using 'idf.py flash'.
Who is online
Users browsing this forum: No registered users and 92 guests