nRFBox icon indicating copy to clipboard operation
nRFBox copied to clipboard

bootloader and partition file missing

Open zhouyousong opened this issue 1 year ago • 2 comments

Hi ,when I flash the nRFBox_V2-1-1.ino.node32s.bin to 0x10000, the serial log as below

chat gpt told me I need download bootloader and partitions to bootloader.bin → 0x1000 partitions.bin → 0x8000

is any one have these 2 files, thanks

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:2 load:0x3fff0018,len:4 load:0x3fff001c,len:6932 load:0x40078000,len:13712 load:0x40080400,len:4260 entry 0x400806e4 I (107) boot: Chip Revision: 1 I (127) boot_comm: chip revision: 1, min. bootloader chip revision: 0 I (78) boot: ESP-IDF v4.0.1-193-ge7ac221 2nd stage bootloader I (78) boot: compile time 02:47:00 I (78) boot: Enabling RNG early entropy source... I (84) boot: SPI Speed : 40MHz I (89) boot: SPI Mode : DIO I (93) boot: SPI Flash Size : 4MB I (97) boot: Partition Table: I (100) boot: ## Label Usage Type ST Offset Length I (108) boot: 0 phy_init RF data 01 01 0000f000 00001000 I (115) boot: 1 otadata OTA data 01 00 00010000 00002000 I (123) boot: 2 nvs WiFi data 01 02 00012000 0000e000 I (130) boot: 3 at_customize unknown 40 00 00020000 000e0000 I (138) boot: 4 ota_0 OTA app 00 10 00100000 00180000 I (145) boot: 5 ota_1 OTA app 00 11 00280000 00180000 I (153) boot: End of partition table E (157) boot: ota data partition invalid and no factory, will try all partitions E (165) esp_image: image at 0x100000 has invalid magic byte E (172) boot_comm: mismatch chip ID, expected 0, found 8 E (178) boot_comm: can't run on lower chip revision, expected 1, found 12 W (185) esp_image: image at 0x100000 has invalid SPI mode 22 W (191) esp_image: image at 0x100000 has invalid SPI size 14 E (198) boot: OTA app partition slot 0 is not bootable E (204) esp_image: image at 0x280000 has invalid magic byte E (210) boot_comm: mismatch chip ID, expected 0, found 65535 E (216) boot_comm: can't run on lower chip revision, expected 1, found 255 W (224) esp_image: image at 0x280000 has invalid SPI mode 255 W (230) esp_image: image at 0x280000 has invalid SPI size 15 E (236) boot: OTA app partition slot 1 is not bootable E (242) boot: No bootable app partitions in the partition table ets Jun 8 2016 00:22:57

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:2 load:0x3fff0018,len:4 load:0x3fff001c,len:6932 load:0x40078000,len:13712 load:0x40080400,len:4260 entry 0x400806e4 I (107) boot: Chip Revision: 1 I (127) boot_comm: chip revision: 1, min. bootloader chip revision: 0 I (78) boot: ESP-IDF v4.0.1-193-ge7ac221 2nd stage bootloader I (78) boot: compile time 02:47:00 I (78) boot: Enabling RNG early entropy source... I (84) boot: SPI Speed : 40MHz I (89) boot: SPI Mode : DIO I (93) boot: SPI Flash Size : 4MB I (97) boot: Partition Table: I (100) boot: ## Label Usage Type ST Offset Length I (108) boot: 0 phy_init RF data 01 01 0000f000 00001000 I (115) boot: 1 otadata OTA data 01 00 00010000 00002000 I (123) boot: 2 nvs WiFi data 01 02 00012000 0000e000 I (130) boot: 3 at_customize unknown 40 00 00020000 000e0000 I (138) boot: 4 ota_0 OTA app 00 10 00100000 00180000 I (145) boot: 5 ota_1 OTA app 00 11 00280000 00180000 I (153) boot: End of partition table E (157) boot: ota data partition invalid and no factory, will try all partitions E (165) esp_image: image at 0x100000 has invalid magic byte E (172) boot_comm: mismatch chip ID, expected 0, found 8 E (178) boot_comm: can't run on lower chip revision, expected 1, found 12 W (185) esp_image: image at 0x100000 has invalid SPI mode 22 W (191) esp_image: image at 0x100000 has invalid SPI size 14 E (198) boot: OTA app partition slot 0 is not bootable E (204) esp_image: image at 0x280000 has invalid magic byte E (210) boot_comm: mismatch chip ID, expected 0, found 65535 E (216) boot_comm: can't run on lower chip revision, expected 1, found 255 W (224) esp_image: image at 0x280000 has invalid SPI mode 255 W (230) esp_image: image at 0x280000 has invalid SPI size 15 E (236) boot: OTA app partition slot 1 is not bootable E (242) boot: No bootable app partitions in the partition table ets Jun 8 2016 00:22:57

zhouyousong avatar Jan 10 '25 16:01 zhouyousong

@zhouyousong I was having the same issue while trying to flash the bin file with the flasher tool. I found that for some reason, my ESP version cannot be flashed with the flasher tool. I finally was able to partition and flash successfully using VS Code and PlatformIO. I hope my solution is also a solution for you.

moises-gonzalez avatar Jun 23 '25 16:06 moises-gonzalez

Files are available here: https://github.com/cifertech/nRFBox/tree/main/Flash%20File

Also Read The Wiki! https://github.com/cifertech/nRFBox/wiki

cifertech avatar Jun 23 '25 16:06 cifertech