ESP32-CAM esp_core_dump_flash

Hi,
I'm not sure whether this is the correct category for my problem.
Since several days I try th get my ESP32-CAM running without any failures.
I can compile and download the code without any failures. But It doesn't work propperly.
What is the problem?

  1. after a reset I get an error `E (489) esp_core_dump_flash: No core dump partition found!
  2. after some secundes it shows WiFi connected
    Camera Ready! Use 'http://192.168.180.21' to connect
  3. the stream on the web server is very slow

What are the settings on arduino IDE?

  • Board: AI Thinker ESP32-CAM
  • CPU Frequency : 240MHz (WiFi/BT)
  • Flash Frequency: 80MHz
  • Flash Mode: QIO
  • Partition Scheme: Huge APP (3MB no OTA/1MB SPIFSS)
  • Core Debug Level: none

Is there anybody who can help?
Thanks a lot in advance.

1 Like

Help us help you.

does a simple test program such as File>Examples>Basic>Blink upload OK?

@Idahowalker, @horace,
thanks a lot for your answers.
I found there was a parameter in the code not set.

Hi! I'm experiencing similar problem with my esp32-cam. Do you mind sharing which parameter needs to be set?
Thanks!

2 Likes

If you find the answer somewhere else, could you please tell me? I have the same problem as well with my esp32 cam. Thanks in advance :slight_smile:

1 Like

Hi,
yes I think it was this parameter :
#define CAMERA_MODEL_AI_THINKER // Has PSRAM.
You have to remove the comment indicator //

1 Like

And which was the code\sketch you were using ?

1 Like

Hello,
I used this example:

file --> examples --> ESP32 --> Camera --> CmeraWebServer

Hello, this is the code i was using as well. I already change those parameters. But I still have the same problem. Do you know any other options that could case it?

1 Like

TVM, I have used some of the examples from the RandomNerdTutorials site, that was a parameter I did not recognise.

@srnet,
I used for this example

the settings:

#define EEPROM_SIZE 1

// Pin definition for CAMERA_MODEL_AI_THINKER
#define PWDN_GPIO_NUM     32
#define RESET_GPIO_NUM    -1
#define XCLK_GPIO_NUM      0
#define SIOD_GPIO_NUM     26
#define SIOC_GPIO_NUM     27

#define Y9_GPIO_NUM       35
#define Y8_GPIO_NUM       34
#define Y7_GPIO_NUM       39
#define Y6_GPIO_NUM       36
#define Y5_GPIO_NUM       21
#define Y4_GPIO_NUM       19
#define Y3_GPIO_NUM       18
#define Y2_GPIO_NUM        5
#define VSYNC_GPIO_NUM    25
#define HREF_GPIO_NUM     23
#define PCLK_GPIO_NUM     22

For an other example CameraWebServer I used this settings:

// ===================
// Select camera model
// ===================
//#define CAMERA_MODEL_WROVER_KIT // Has PSRAM
//#define CAMERA_MODEL_ESP_EYE // Has PSRAM
//#define CAMERA_MODEL_ESP32S3_EYE // Has PSRAM
//#define CAMERA_MODEL_M5STACK_PSRAM // Has PSRAM
//#define CAMERA_MODEL_M5STACK_V2_PSRAM // M5Camera version B Has PSRAM
//#define CAMERA_MODEL_M5STACK_WIDE // Has PSRAM
//#define CAMERA_MODEL_M5STACK_ESP32CAM // No PSRAM
//#define CAMERA_MODEL_M5STACK_UNITCAM // No PSRAM
#define CAMERA_MODEL_AI_THINKER // Has PSRAM
//#define CAMERA_MODEL_TTGO_T_JOURNAL // No PSRAM
// ** Espressif Internal Boards **
//#define CAMERA_MODEL_ESP32_CAM_BOARD
//#define CAMERA_MODEL_ESP32S2_CAM_BOARD
//#define CAMERA_MODEL_ESP32S3_CAM_LCD

I hope this is helpful to you.

What are you using to program the board? I found that if using an ESP-CAM-MB board to program I got that same error until I changed the flash mode to DIO. After that things worked as expected.

1 Like

I also have the same problem with the example ESP32 --> Camera --> CmeraWebServer

I guess you still have the same problem, do you?

I still have what problem?

Hello everybody. I have the same problem but my board is not AI THINKER. If I flash it as AI THINKER I get the same error. It's written on the image

I've resolved the problem. I've selected "Ai Thinker ESP-32 cam" board. Flash mode "DIO". Partition Scheme "Huge APP (3Mb...)". And it's all. My Cam works fine

1 Like

This solution worked for me as well. Was a saver after searching the WEB for the major part of the day. Thanks

If I change the board to Ai thinker from esp32 Wrover Module I get the "A fatal error occurred: Failed to connect to ESP32: No serial data received. Failed uploading: uploading error: exit status 2" does anyone have a solution for this problem.

Hello maybe it changes the COM Port ID