Hi, I am trying to modify the partition table of my ESP32. Specifically to expand the size of the nvs partition and reduce the size of the SPIFFs partition. The code gets uploaded but the ESP throws this error while booting:
␛[0;32mI (108) boot: Chip Revision: 1␛[0m ␛[0;32mI (127) boot_comm: chip revision: 1, min. bootloader chip revision: 0␛[0m ␛[0;32mI (78) boot: ESP-IDF HEAD-HASH-NOTFOUND 2nd stage bootloader␛[0m ␛[0;32mI (78) boot: compile time 23:46:13␛[0m ␛[0;32mI (78) boot: Enabling RNG early entropy source...␛[0m ␛[0;32mI (84) boot: SPI Speed : 40MHz␛[0m ␛[0;32mI (89) boot: SPI Mode : DIO␛[0m ␛[0;32mI (93) boot: SPI Flash Size : 4MB␛[0m ␛[0;32mI (97) boot: Partition Table:␛[0m ␛[0;32mI (100) boot: ## Label Usage Type ST Offset Length␛[0m ␛[0;32mI (108) boot: 0 nvs WiFi data 01 02 00009000 0007d000␛[0m ␛[0;32mI (115) boot: 1 otadata OTA data 01 00 00086000 00002000␛[0m ␛[0;32mI (123) boot: 2 app0 OTA app 00 10 00090000 00100000␛[0m ␛[0;32mI (130) boot: 3 app1 OTA app 00 11 00190000 00100000␛[0m ␛[0;32mI (138) boot: 4 spiffs Unknown data 01 82 00290000 0007d000␛[0m ␛[0;32mI (145) boot: End of partition table␛[0m ␛[0;31mE (150) boot: ota data partition invalid and no factory, will try all partitions␛[0m ␛[0;31mE (158) esp_image: image at 0x90000 has invalid magic byte␛[0m ␛[0;31mE (164) boot_comm: mismatch chip ID, expected 0, found 21␛[0m ␛[0;31mE (170) boot_comm: can't run on lower chip revision, expected 1, found 204␛[0m ␛[0;33mW (177) esp_image: image at 0x90000 has invalid SPI mode 100␛[0m ␛[0;33mW (184) esp_image: image at 0x90000 has invalid SPI size 15␛[0m ␛[0;31mE (190) boot: OTA app partition slot 0 is not bootable␛[0m ␛[0;31mE (196) esp_image: image at 0x190000 has invalid magic byte␛[0m ␛[0;31mE (202) boot_comm: mismatch chip ID, expected 0, found 65535␛[0m ␛[0;31mE (208) boot_comm: can't run on lower chip revision, expected 1, found 255␛[0m ␛[0;33mW (216) esp_image: image at 0x190000 has invalid SPI mode 255␛[0m ␛[0;33mW (222) esp_image: image at 0x190000 has invalid SPI size 15␛[0m ␛[0;31mE (229) boot: OTA app partition slot 1 is not bootable␛[0m ␛[0;31mE (235) boot: No bootable app partitions in the partition table␛[0m ets Jun 8 2016 00:22:57
This is my partition table:
# Name, Type, SubType, Offset, Size, Flags nvs, data, nvs, 0x9000, 500k, otadata, data, ota, ,8k, app0, app, ota_0, , 1M, app1, app, ota_1, ,1M, spiffs, data, spiffs, ,500k,
Not sure why this is happening.