#ESP32 Flasher
68 messages · Page 1 of 1 (latest)
Good luck rewriting esptool
All I really have to do is figure out what data, commands, etc. it sends over UART
This sounds cool
I'm just making it so I can switch between CircuitPython and the WiFi Marauder firmware when I'm on the go.
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.
Did you ever finish this? I'm thinking about including this in the marauder app: https://github.com/espressif/esp-serial-flasher
I did, but someone thought it'd be funny to fuck up my only Windows PC so I have to finish the code again.
Tomorrow I'm free so I can start development again if you'd like me to.
Oh no. You didn't get to push anything to github?
No. I don't have to start entirely from scratch since the unfinished code is still on Github.
Is it using the library that I linked?
Yeah.
oh wow, this is cool
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
Is this the right github for this project to contribute? https://github.com/zap8600/espFlasher-Flipper
Yeah. Sorry, I've had some PC issues for a while. I've fixed them and I'm setting up a dev environment right now.
Using the library I'm using? It'd be extremely helpful if I could get some help with it.
Oh this is awesome, I had this idea as well.
Since the flipper is flashed from serial it should be possible over esp
I've had some PC issues for a bit, but I'll continue working on it soon.
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
Wdym? Are you saying flashing the Flipper using the ESP32?
Just simple debugging
Isn't that what this is
Oh
No it's the other way around
Sorry I nisread
Yeah this was my idea
It's alright. It would be a cool idea though.
I will use this repository for my Flipper Zero projects. The various README.md files should describe how to use the files on your Flipper Zero. - flipper-zero-tutorials/gpio/uart_demo at main · ja...
I implemented an ESP32 flasher in the latest marauder app release: https://github.com/0xchocolate/flipperzero-wifi-marauder/releases/tag/v0.5.0
I'll help implement this when I'm available if you'd like. I'm still eager to learn more about the ESP32 devices in general.
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 🙂 ).
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.
what changes would be needed for the flasher to work with s3 chips?
I think just to flash the bootloader at 0x0 instead of 0x1000
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
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.
Do you have an S3 chip? I updated the app so maybe you could test that path.
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.
i will try
Here's the new app! https://github.com/0xchocolate/flipperzero-esp-flasher
I just remembered about this
I've been so busy with running Linux on the ESP32-S3 that this completely slipped my mind
Whaaaaat this sounds cool
My dumb ass is trying to figure out how to implement SMP. Here's a link you can check out.
http://wiki.osll.ru/doku.php/etc:users:jcmvbkbc:linux-xtensa:esp32s3
just tested, didnt work. the esp just starts spamming gibberish when i reset after flashng
Which files did you flash?
?
the bootloader and partitions from github and then firmware compiled by me (works normally)
What about boot_app0? I don't know what else would be different - I thought it was just a different bootloader address.
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
Link?
Update firmware page from marauder wiki
Ok i test, i have few esp32 boards but my flipper not detect board.
How do you know your flipper doesn’t “detect” it?
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