Help ESP32 Dev board bootloader files & user code flash address

BillBill
Posts: 3
Joined: Fri Sep 22, 2023 10:40 am

Help ESP32 Dev board bootloader files & user code flash address

Postby BillBill » Fri Sep 22, 2023 10:55 am

Hi,
I'm going round in circles, after flashing complied code to my ESP32 NODEMCU32 board to the wrong address, it of course messed up the boot.

I cannot find the boot files anywhere. I have found ESP32-WROOM-32-AT-V3.2.00
which has a 'factory_WROOM-32.bin' file. Loading this does work, but I do not think it is the correct one? Could somebody please help?

Next question. When loading a compiled .bin file. What memory location should I use?

I am finding loading a compiled bin file to a board that has previously had a sketch loaded, works fine.
However, if I try to load the same file to a new board, the flash seems to work, but the code will not run. I have been using address 0x10000 (This is the address shown when downloading a sketch using Arduino IDE)

I am using the ESP32 Flash Download Tool V3.9.5 and Arduino IDE V2.2.1

Many thanks, you help is appreciated.

BillBill
Posts: 3
Joined: Fri Sep 22, 2023 10:40 am

Re: Help ESP32 Dev board bootloader files & user code flash address

Postby BillBill » Mon Sep 25, 2023 11:25 pm

To answer my own question, as nobody else could,
I changed to the esp32 dev board. It then gave be three bin files,
bootloader, partition table and firmware.
These have to be flashed together, at address 0x1000, 0x8000 and 0x10000

Why one cannot use the default settings and just flash one firmware file to 0x10000, I do not know.

Who is online

Users browsing this forum: abuhanzala and 155 guests