Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashing ESP Device through ESPtool #12

Open
mikeneiderhauser opened this issue Dec 24, 2022 · 4 comments
Open

Flashing ESP Device through ESPtool #12

mikeneiderhauser opened this issue Dec 24, 2022 · 4 comments

Comments

@mikeneiderhauser
Copy link

Looking for some assistance using your pico-uart-bridge to flash an ESP device via esptool.

I currently keep getting timeouts through ESPtool. When I connect to minicom and look at the ttyACM0 device and power cycle the ESP chip on UART0, i do see activity, but can't seem to get flashing via ESPtool to work.

Any advice on getting this to work with esptool?

Thanks!

@Noltari
Copy link
Owner

Noltari commented Jan 31, 2023

@mikeneiderhauser after merging #15 I could flash an ESP-01s through the ESPHome website (although it finished with an error it flashed succesfully), but I couldn't flash it with the ESPHome flasher.

Also sometimes I can see some corruption when connecting through serial port:
image

The error after flashing with ESPHome website was:
Installation failed: SlipReadError: Timed out waiting for packet header

@mikeneiderhauser
Copy link
Author

I updated to the latest release u2f and attempted to flash again. I still can't seem to get it to connect.

@tzhvh
Copy link

tzhvh commented Mar 16, 2023

It's a bit flaky but I tried esptool.py --port /dev/ttyACM0 --baud 76800 --chip esp8266 --before no_reset_no_sync --connect-attempts 0 read_mac and it worked okay for me, although I use a socket for the pico and esp8266 modules.

You will need to hold down the "Flash button" or pull down gpio0 on boot to enter the correct boot mode. the flashtool is likely spooked by the lack of DTR and RTS wiring.

Edit: I tried esptool.py --port /dev/ttyACM1 --baud 76800 --chip esp8266 --before no_reset_no_sync --connect-attempts 0 write_flash --flash_size=detect 0 ~/Downloads/firmware.bin and that worked fine as well

@wiredopposite
Copy link

I'm having this issue with esptool as well, Adafruit web serial esptool does seem to work though. I haven't seen it fail or do anything weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants