-
Notifications
You must be signed in to change notification settings - Fork 10
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
invalid stub handshake response received #63
Comments
Can confirm, same issue here (windows, cargo-espflash 3.0.0). I didn't adjust the config from 2.x but I updated the target with espup if that's useful information. Note that the board has a 26MHz crystal and PS: happy to see a fellow user of my firmware here! |
Hi! Mind trying to use the
Correct, more information https://docs.esp-rs.org/book/troubleshooting/std.html#wrong-xtal-frequency |
yeah after some more try and errors and short reading (stub is a kind of a bootloader?) right? with this flag --no-stub is successfull but i was very confused. @beeb yeah i am struggeling a litte bit but i after some breaks one step after another. But great project so far. :) |
Could you try using this branch https://github.com/SergioGasquez/espflash/tree/feat/esp32-26mhz?
|
i got a few timeout notification but it seems to work. No handshake error or need to set the --no-stub flag |
Can you share the logs? Maybe there are still some missing tweaks |
Hey @SergioGasquez thanks for looking into it. I can confirm that with the stable release and However this is what I get with your branch every time I try:
|
@SergioGasquez |
Logs are not enabled with the
Might share debug logs? Although I think I may know what's happening: The stubs are sending the sync message but espflash is not able to read it properly (different baudrate) |
Just pushed a commit SergioGasquez/espflash@d86a622 to the branch, could you guys reinstall it and test it with logs enabled:
|
Thanks @SergioGasquez , here are the logs from my side (I shortened the data sequences for brevity):
|
Just to confirm, these logs were using the latest commit of my branch? Looks like it's retrying lots of times the sync command (probably because it's not able to read it due to the different baud rate). Also, could you try using the |
Yes this is on commit
|
Hi! Could you try with the new |
Hey @SergioGasquez sorry for the late reply. Still no luck with espflash 3.1.0. Getting a EDIT: wait I have not updated cargo-espflash I think, let me check |
Ok I updated cargo-espflash to 3.1.0 and the error is slightly different: without option:
with
|
Hello
i got the following issue:
i can connect with py -m esptool -p .... to my sparkfun esp32 thing board.
I use this instruction guide to flash the device: https://github.com/beeb/coffee-scale-app/blob/main/rs/README.md
Also i set the baudrate to a lower one (115200) in the espflash.toml without success.
I tried to find with google the issue with the handshake and thats why i set the baudrate to a lower part.
What did i wrong or miss?
The text was updated successfully, but these errors were encountered: