ESP32-CAM esp_core_dump_flash

@brekel42 can you post your offset for the coredump? This is my partition.csv:

Name, Type, SubType, Offset, Size, Flags

nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x3d0000,
fr, data, , 0x3e0000, 0x20000,

If I add coredump offset to 0x400000 the ESP is restarting in a loop. (Even using other offsets). What could cause this problem?

Ok, this drives me insane. I have bought 5 ESP32-S cams by different suppliers and every time i get the `E (489) esp_core_dump_flash: No core dump partition found!.

I only can upload the default Camserver through the ESP32 Cam motherboard, if i use the FTDL adapter, don't even think about it, only get connecting................. and error.
Tried on 3 different computers, several usb cables. Always the same issue. It doesn't matter when or how long i press the reset button. It doesn't work. 3.3 V or 5V, no succes.
So i was thrilled that the first time i connected it with the motherboard i see actually something happening. The source code is uploading, all the way to 100%...only press the reset button and....nothing.
i bunch of
`E (489) esp_core_dump_flash: No core dump partition found!.
all day long.

So i was glad i found this thread and hope that someone came with the solution. But the options mentioned here won't work either.

Are the esp boards all 5 DOA. Cannot believe that. Especially when i connect them to ESPHome, it works within 5 minutes. But i wanted to trie the camserver because of all the options. So joining here in the hope someone has the final solution.

My partition.csv file is:

Name, Type, SubType, Offset, Size, Flags

nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x3d0000,
fr, data, , 0x3e0000, 0x20000,
coredump, data, coredump, 0x400000, 0x410000,

I have no problem crossing 0x400000, but I have an 8MB chip. Which module are you using and what version of ESP32 is on it?

@clubeddie When I got the coredump partitiin error, it didn't prevent the program continuing on and working, despite the error.

Have you uncommented the right version of module in code for the module you're using?

I haven't tried my ESP32-CAM that needs the ftdi module yet so can't advise on that, other than making sure you put a link from GPIO to ground to upload.

Here the error goes in loop and I checked my router if it gave out an IP address, but that's not done. So I think it is not running at all.

With the ftdi adapter I have put the link to the the gnd. The right module is also unchecked. But you mentions something about a partition.csv.
What and how is the meaning of that?

If you use your file explorer to look in the same directory as your project's files, you should find the partitions.csv file. Adding the line for the coredump partition should create the partition when it is uploaded.
The offset column value should be the offset from the previous line plus the size from the previous line, to give the start address. The standard size for the coredump is 0x10000. But depending on which version of esp32 you've got, you have to make sure this doesn't exceed your total flash memory size.

So I'm using this ESP32 ESP32
Still this is my output on serial monitor in a loop after adding a coredump to the particion file:

rst:0x3 (SW_RESET),boot:0x13 (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:1184
load:0x40078000,len:13220
ho 0 tail 12 room 4
load:0x40080400,len:3028
entry 0x400805e4
ets Jul 29 2019 12:21:46

Without adding the dump particion, i get the dump error, webserver is working but the stream is extremly laggy.

Yo solucione todos los problemas compilando con Arduino y cargando el archivo bin con ESPHome-Flasher. Y todo empezo a funcionar. No se cual es la razon pero funciona.

Had the boards lying around for some weeks, but now finally got around of testing them. Had some hassle getting them working, but it looks okay now.

In the webserver code I used: #define CAMERA_MODEL_AI_THINKER // Has PSRAM
For the board I used: AI Thinker ESP32-CAM
Set the flash mode to: DIO

I keep getting errors on the core dump partition, but the url gives a working screen.

I had a very similar problem to most people on This thread and the exact same error as @delired
try formatting and plugging in a micro sd into the micro sd slot on the esp32 and removing the "programming pin" link, the gpio pin and the ground pin then pressing the "rst" or reset button to run the program once you plug it back in

Hey bro can you help me I've trying for past 2 days on this error "No core dump partition found!"
I've also modified the partition file but after setting coredump offset to 0x400000 the program started in a loop.
I've also tried all of the methods which are discussed in this thread.
If you have solved it kindly guide me on this problem
Thanks in advance.

I found solution, click to "Tools" and select "Burn Bootloader". Both flash modes QIO and DIO worked for me.

Hi everybody!
I'm programming an ESP32-CAM and I think I don't need the coredump feature. So I don't want to reserve a place for coredump in the partition table.

How can I configure coredump in Arduino framework in order to disable it and not have the error 'No coredump partition found!"?

To edit the partitions.csv in the CameraWebServer folder worked for me. :slight_smile:

Like arnepauls recommended, I set it to:

Name, Type, SubType, Offset, Size, Flags

nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x3d0000,
fr, data, , 0x3e0000, 0x1ff00,
coredump, data, coredump, 0x3fff00, 0x100,

Thanks!

My settings:

Board: AI Thinker ESP32-CAM
Partition Scheme: "Huge APP (3MB No OTS/1MB SPIFFS)" or "No OTA (2MB APP/2MB SPIFFS)"
Sketch: File/Examples/ESP32/Camera/CameraWebServer (then save project to disk)

Edit partitions.csv in the folder CameraWebServer:
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x3d0000,
fr, data, , 0x3e0000, 0x1ff00,
coredump, data, coredump, 0x3fff00, 0x100,

Edit sketch:
-> activate #define CAMERA_MODEL_AI_THINKER (comment out // others, except #include "camera_pins.h")
-> configure "const char* ssid" and "const char* password"

Before upload:
-> Tools/Serial Monitor
-> Press reset on the board
-> ..waiting for download (if not, check the jumper IO0 to GND and try again)

After upload:
-> Disconnect jumper IO0 to GND
-> Tools/Serial Monitor
-> Press reset on the board
-> Camera Ready! Use 'http://192.168.x.x' to connect

Toggle OV2640 settings:
XCLK MHz 6
VGA(640x480)

I have made the experience that not every ESP32 always delivers the same quality (e.g. stripes in the image) with the same setting and, above all, does not always work immediately and relatively without delay. Sometimes you have to try something back and forth until it fits. Very high resolutions are only for single images, video definitely does not work. I got rid of the stripes to some extent by setting XCLK MHz to 2. However, at the price of a jelly finger :wink:

For close-ups you can readjust the lens. To do this, however, you have to use a scalpel to loosen the glue from the ring a bit, since the lens was fixed at the factory for the wide range. After loosening the ring, turn the lens in a little further so that the lens comes closer to the sensor.

I have also noticed that there are different supply boards of the type ESP32-CAM-MB and all do not work well and some do not work at all. The ones with a boot and reset button did not work at all. The one with only one reset button worked for me at least partially. Better it ran but with an external TTL adapter.

The Wi-Fi reception can also be a nuisance. It has to be really good. This is a classic example ............ To move the jumper for an external antenna requires special expertise, because it is soldering on micro level. So better bring the ESP32 closer to the router.

If something hangs or you want to erase the flash of your EPS32, then I can recommend the ESP Tool website.

https://espressif.github.io/esptool-js/

Just go to "Connect" and then "Erase Flash". After a few seconds the ESP32 is "virgin".

And then a classic, the power supply and the supply cable. Both must be good and the cable must be as short as possible, otherwise there will be a voltage drop and you will get a BROWNOUT.

1 Like

i have this exact mistake___ how did you resolve it?

therefore? How do you fix this error in summary? 18:57:38.162 -> ..ets Jul 29 2019 12:21:46
18:57:38.985 ->
18:57:38.985 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
18:57:38.985 -> configsip: 0, SPIWP:0xee
18:57:38.985 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
18:57:38.985 -> mode:DIO, clock div:1
18:57:38.985 -> load:0x3fff0030,len:1344
18:57:38.985 -> load:0x40078000,len:13836
18:57:38.985 -> load:0x40080400,len:3608
18:57:38.985 -> entry 0x400805f0
18:57:38.985 -> entry 0x400805f0

18:57:39.468 -> E (491) esp_core_dump_��ash: No core dump partition found!

18:57:39.468 -> E (491) esp_core_dump_flash: No core dump partition found

pasa el bin para probar

Puedes usar otro pin GND, te sugiero usar el que esta al lado del pin 5v
You can use another GND pin, I suggest using the one next to the 5v pin