Jump to first stage bootloader

Jstar88
Posts: 4
Joined: Wed Oct 18, 2017 8:17 am

Jump to first stage bootloader

Postby Jstar88 » Wed Oct 18, 2017 8:24 am

Hello,
I would like put esp32 in boot mode with a serial command, without the use of en and gpiO0.
In a single core microcontrollor, what i do is to jump to bootloader address.
Is it possible in esp32? Should task and dual core system be handled in special way?

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Jump to first stage bootloader

Postby ESP_igrr » Sun Oct 22, 2017 6:15 am

Boot mode is latched on power-on reset and BOD reset. I don't think it is possible to enter first stage bootloader by software, unless you use an external circuit.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Jump to first stage bootloader

Postby WiFive » Sun Oct 22, 2017 12:48 pm

You might be able to store a copy of the esptool loader in flash and copy it to ram and execute it. Or you could just do OTA over serial.

Jstar88
Posts: 4
Joined: Wed Oct 18, 2017 8:17 am

Re: Jump to first stage bootloader

Postby Jstar88 » Wed Nov 01, 2017 5:41 pm

Thanks, i will for OTA way, downloading from uart :)

Who is online

Users browsing this forum: No registered users and 97 guests