Closed Cainor closed 1 year ago
To double-check, did you hold the boot button as you plugged it in, then press and release the reset button, then release the boot button?
Also, I just made a (minor) modification. Could you re-download the script and try again?
@SkeletonMan03, again thank you for the quick response. Still same issue. And yes, -Hold BOOT -Plugin -Press RESET -Release BOOT
I removed the try block where it's getting stuck since I think esptool is erroneously throwing some exception. Could you pull the latest version and try again? Sorry about that. It worked on a WROOM fine, but I had no devboard or S2 to test with
Bro, don't apology .. I'd like to apology for annoying you with this issue :)
Anyway, since the "try" block was removed, I'm seeing the actual error message:
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: OSError(22, 'A device which does not exist was specified.', None, 433)
Ah, interesting. I've not seen that error get thrown. Can you check in device manager and make sure that you have any driver you may need for it?
Hmm .. Does this means I need to download the driver fro ESP32?
Yes, you probably need its driver
Alright .. I almost got, but not yet.
I've downloaded Zadig: https://zadig.akeo.ie/
and tried to change the driver. Now I have it like this:
Still same issue. Will look into it later. Thank you so much @SkeletonMan03 . I think it is better to revert back the try block and print out the Exception message.
Interesting. I added a print for it to show what serial port it detected as a sanity check, but that won't resolve the issue. I'll do some testing when I get home from work, but it was working fine last time I was testing in both Linux and Windows
I think this is an issue from my end. Your code is fine.
I try to make stuff work on anything it's being ran on, but can't always pull it off. I'll still do some testing later to see what can be done. What's really confusing to me is it appears to sucessfully finish the erase before it's throwing the exception, but the exception is from esptool.main in the erase function
Just wanted to update this issue. That I got it to work with the Original repo: https://github.com/UberGuidoZ/Flipper/tree/main/Wifi_DevBoard/FZ_Marauder_Flasher
It showed the same error I faced here, but it continued to run regardless. And it worked.
Note that I tried it before and it didn't, but it seems like that the issue was my driver with ESP32-S2. It worked after I used: Zadig: https://zadig.akeo.ie/
First of all, I'd like to thank you for your work.
I'm trying to use the your script to flash the my FZ WiFi dev board. But facing the issue below:
I'm using a CMD shell with Administrative permissions.
EDIT: The result above is the same when choosing the first option. Just wanted to see if will work with another option.