simple standalone bootloader suitable for customers / end users?

mikemoy
Posts: 627
Joined: Fri Jan 12, 2018 9:10 pm

Re: simple standalone bootloader suitable for customers / end users?

Postby mikemoy » Tue Jun 04, 2019 1:34 am

@OBDave, I have done what your looking for. My device acts as a AP. Clients connects to ESP32, opens browser, and then chooses what file to upload. It then flashes itself and reboots. I am not aw work now, but will show code when I get back.

OBDave
Posts: 14
Joined: Wed May 08, 2019 10:34 pm

Re: simple standalone bootloader suitable for customers / end users?

Postby OBDave » Tue Jun 04, 2019 2:16 am

@mikemoy oh that would be fantastic! Thanks!

mikemoy
Posts: 627
Joined: Fri Jan 12, 2018 9:10 pm

Re: simple standalone bootloader suitable for customers / end users?

Postby mikemoy » Tue Jun 04, 2019 5:52 pm

@mikemoy oh that would be fantastic! Thanks!
No sweat. I have to leave town right after work today. Be back in 2 days, I will PM you with the source. Sorry for the delay, This was an unexpected trip for work.

mikemoy
Posts: 627
Joined: Fri Jan 12, 2018 9:10 pm

Re: simple standalone bootloader suitable for customers / end users?

Postby mikemoy » Wed Jun 05, 2019 6:10 pm

@OBDave, check your PM's.

OBDave
Posts: 14
Joined: Wed May 08, 2019 10:34 pm

Re: simple standalone bootloader suitable for customers / end users?

Postby OBDave » Wed Jun 05, 2019 8:03 pm

@mikemoy - thanks. I sent you a reply.

malecos
Posts: 1
Joined: Wed Dec 09, 2020 11:17 pm

Re: simple standalone bootloader suitable for customers / end users?

Postby malecos » Wed Dec 09, 2020 11:27 pm

Friends, hello!
I've been looking for something exactly the same way you have described.
I need a bootloader with an AP network, in which the user can just access the ESP AP, choose a bin file from his computer and upload the code.
The bootloader needs to be preserved for further updates. I mean, I understand that on each restart, ESP will create a AP network for some seconds, if the user don't access the network and type the IP address on browser, the ESP will automaticaly run the last main code updated, but if the user access the AP network, choose the file and update it, ESP will automaticaly reset after the file upload and restart with another code writen in its flash memory.
Could you please share the source of such amazing code, please?
Thanks!

Who is online

Users browsing this forum: No registered users and 148 guests