Error "assertion "entry < ENTRY_COUNT" failed" on startup
Posted: Tue Apr 03, 2018 5:00 pm
Sorry for my english. I was helped by Google Translate
Today I ran into a problem. My board with ESP32 has ceased to start. The message "assertion "entry < ENTRY_COUNT" failed" comes to the serial port. I guess it happened because the board was powered by a battery. At the critical battery discharge, an error occurred in the NVS. As a result, the microcontroller cyclically reboots.
What can I do to make the controller work again?
Now I cleaned the project, left only the app_main and rebuilt it.
Full error message from the serial port:
assertion "entry < ENTRY_COUNT" failed: file "C:/esp32/msys32/home/x8973/esp/esp-idf/components/nvs_flash/src/nvs_page.hpp", line 188, function: uint32_t nvs::Page::getEntryAddress(size_t) const
abort() was called at PC 0x400d2e2b on core 0
Backtrace: 0x40086e6c:0x3ffc7800 0x40087043:0x3ffc7820 0x400d2e2b:0x3ffc7840 0x400e0e5b:0x3ffc7870 0x400e1112:0x3ffc7890 0x400e0aea:0x3ffc78d0 0x400e06f0:0x3ffc7930 0x400e057e:0x3ffc7980 0x400e0607:0x3ffc79a0 0x400e0632:0x3ffc79c0 0x400d2d9f:0x3ffc79e0 0x400d161e:0x3ffc7a00
Today I ran into a problem. My board with ESP32 has ceased to start. The message "assertion "entry < ENTRY_COUNT" failed" comes to the serial port. I guess it happened because the board was powered by a battery. At the critical battery discharge, an error occurred in the NVS. As a result, the microcontroller cyclically reboots.
What can I do to make the controller work again?
Now I cleaned the project, left only the app_main and rebuilt it.
Full error message from the serial port:
assertion "entry < ENTRY_COUNT" failed: file "C:/esp32/msys32/home/x8973/esp/esp-idf/components/nvs_flash/src/nvs_page.hpp", line 188, function: uint32_t nvs::Page::getEntryAddress(size_t) const
abort() was called at PC 0x400d2e2b on core 0
Backtrace: 0x40086e6c:0x3ffc7800 0x40087043:0x3ffc7820 0x400d2e2b:0x3ffc7840 0x400e0e5b:0x3ffc7870 0x400e1112:0x3ffc7890 0x400e0aea:0x3ffc78d0 0x400e06f0:0x3ffc7930 0x400e057e:0x3ffc7980 0x400e0607:0x3ffc79a0 0x400e0632:0x3ffc79c0 0x400d2d9f:0x3ffc79e0 0x400d161e:0x3ffc7a00