I've been building various projects with the ESP32-CAM AI thinker module. I have been doing this for a while now with no problems. Recently I changed my PC to a newer one with Windows 11and installed Arduino IDE from scratch.
I then took an existing working module and added code that allowed OTA programming.
The module is removed from the board and programs ok. When I plug it back in I get this error message repeat ad infinitum.
assertion "state == EntryState::WRITTEN || state == EntryState::EMPTY" failed: file "/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_page.cpp", line 339, function: esp_err_t nvs::Page::eraseEntryAndSpan(size_t)
abort() was called at PC 0x400f3a6b on core 0
ELF file SHA256: 0000000000000000
Backtrace: 0x4008c724:0x3ffbc150 0x4008c99d:0x3ffbc170 0x400f3a6b:0x3ffbc190 0x4015c9fa:0x3ffbc1c0 0x4015d2e9:0x3ffbc210 0x4015d69e:0x3ffbc290 0x4015dc7f:0x3ffbc2e0 0x4015b5b1:0x3ffbc350 0x4015ae2d:0x3ffbc3b0 0x4015aedf:0x3ffbc3d0 0x4015af2a:0x3ffbc3f0 0x400d78a3:0x3ffbc410 0x400d8a31:0x3ffbc430 0x401540ab:0x3ffbc460 0x4008d9a2:0x3ffbc480
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_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:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
The same message occurs with various modules of the same type.
I have reverted back to earlier versions of software and the same message occurs.
I have plugged a module into what Amazon refer to as a Burner Shield and the board works fine - no error messages. In order to do this however I have had to cut out the PIR handling code - so in the hardware configuration it isn't doing what I want, so I need it working in the original board.
I made up a little programming board myself. The only connections are 5v, GND, TX, RX. This module worked perfectly ok until now.
The only thing that I can think of is that I used a different library when setting up Arduino IDE or that Windows 11 doesn't work the same.
Any help would be appreciated.
ps I have trimmed the software right down to use minimal code but it still repeats the same message