#ESP32 Flasher

68 messages · Page 1 of 1 (latest)

lofty cypress
#

I'm working on a ESP32 Flasher so you can flash the WiFi Dev Board from the Flipper by itself. Help would be great if anyone would like to.

wise rapids
#

Good luck rewriting esptool

lofty cypress
golden igloo
#

This sounds cool

lofty cypress
simple quartz
#

I think I read some where that it already has the ability to do that. But no interface or boot script to start up the hw device. It would be nice to have a device with preloads of various Devices you need to flash. Like my son-off switches smart home outlets.

trim pivot
lofty cypress
#

Tomorrow I'm free so I can start development again if you'd like me to.

trim pivot
#

Oh no. You didn't get to push anything to github?

lofty cypress
trim pivot
#

Is it using the library that I linked?

lofty cypress
crimson stag
#

Ive succesfully implemented a host system that implements the ESP32's ability to do a "OTA" update over Serial (see espressif docs) i have my own source for this, if you would like help with your implementation please reach out

fallow axle
lofty cypress
lofty cypress
dim iris
#

Oh this is awesome, I had this idea as well.

#

Since the flipper is flashed from serial it should be possible over esp

lofty cypress
dim iris
#

Yeah I'm sorry I would love to help but I don't know c++

#

I can do some syntax fixes but that's about it

lofty cypress
dim iris
#

Just simple debugging

#

Isn't that what this is

#

Oh

#

No it's the other way around

#

Sorry I nisread

dim iris
lofty cypress
#

It's alright. It would be a cool idea though.

fallow axle
trim pivot
lofty cypress
trim pivot
#

It's mostly UI at this point. You can see how I integrated the lib in my latest commit. Go ahead and check it out, feel free to pull it off into its own app (as long as I get some credit 🙂 ).

lofty cypress
# trim pivot It's mostly UI at this point. You can see how I integrated the lib in my latest ...

I'll make it into its own app, and I will make sure to give you some credit dw. I don't use the marauder board that often, but I've been porting CircuitPython to it. I can't make it official yet because I need a custom USB PID and VID, and I'm not exactly in the position to that. Since it does use an ESP32-S2, it's possible that Espressif can give me a custom PID under Espressif's VID. I have yet to do that.

#

Either way, this means I no longer need my PC to flash the board.

wise rapids
trim pivot
wise rapids
#

oh

#

is it possible to not flash a bootloader with the app?

#

and just flash the fw

trim pivot
#

I'm planning to allow that, but right now it's expecting all the files

#

It looks like S3 also needs a boot_app0.bin at 0xE000

wise rapids
#

all esp32s have that

trim pivot
# wise rapids all esp32s have that

I don't think boot_app0 is needed because it's supposed to be a switch for which fw to load, and there's only one.

I'm still going to add it as an option to avoid confusion.

trim pivot
trim pivot
#

I am now working on making the ESP flasher into its own standalone app (instead of inside the marauder app). I didn't realize it would already be this useful.

trim pivot
lofty cypress
#

I just remembered about this

#

I've been so busy with running Linux on the ESP32-S3 that this completely slipped my mind

lofty cypress
wise rapids
wise rapids
#

?

#

the bootloader and partitions from github and then firmware compiled by me (works normally)

trim pivot
#

What about boot_app0? I don't know what else would be different - I thought it was just a different bootloader address.

daring adder
#

Just went from evil_portal to marauder, no boot_app0 used, worked fine, flashed back to evil_portal with no boot_app0 and it worked perfectly as well

#

my only suggestion, if you're taking them, would be to allow to use a custom "playlist" of files to make it easy to swap between them

#

thanks for the great work

frozen spoke
wise rapids
frozen spoke
#

Ok i test, i have few esp32 boards but my flipper not detect board.

wise rapids
#

How do you know your flipper doesn’t “detect” it?

frozen spoke
#

When i go to wifi options and test them all, i get black screen or wait, sry my bad english, i have to check it from flip