-
Notifications
You must be signed in to change notification settings - Fork 116
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
Unable to flash ESP32S3 prototype board #323
Comments
Hi!
|
Hi!
I used both
I'm pretty new to hardware, but I assume yes. For me to flash the board I have to hold down 1 button while pressing and releasing the other. Then it enters boot mode (It tells me so through UART).
Yes If I use |
I am also seeing this on the ESP32-S3-DevKitM-1 (using the idf-rust docker image, So I modified espflash and was able to connect without having to put the board in boot mode manually. diff --git a/espflash/src/connection.rs b/espflash/src/connection.rs
index e653885..aa73f73 100644
--- a/espflash/src/connection.rs
+++ b/espflash/src/connection.rs
@@ -136,6 +136,13 @@ impl Connection {
self.serial.write_data_terminal_ready(false)?;
self.serial.write_request_to_send(false)?;
} else {
+ self.serial.write_data_terminal_ready(false)?;
+ self.serial.write_request_to_send(false)?;
+
+ self.serial.write_data_terminal_ready(true)?;
+ self.serial.write_request_to_send(true)?;
+
self.serial.write_data_terminal_ready(false)?;
self.serial.write_request_to_send(true)?;
@@ -148,6 +155,7 @@ impl Connection {
sleep(Duration::from_millis(millis));
self.serial.write_data_terminal_ready(false)?;
+ self.serial.write_request_to_send(false)?;
}
Ok(()) Post flash/command reset still doesn't work; so requires a manual reset, either using the button or |
I just tried flashing with version So issue must be in my M1 Macbook air or Espflash version. Will test it |
Observing the same behavior with Lilygo T-QT Pro (ESP32-S3) on Ubuntu 22.10. Patch provided by @Andrew-Collins worked on 2.0.0-rc.3 (Thank you very much!) |
I see this with |
I should have a PR soon implementing the various reset strategies now used in |
I've implemented the retry strategies from I have not tested this much so it's possible there are still issues with it, but seems to be working on my end (not that I ever seem to have issues flashing 😁 ). If anybody here could test out this branch and let me know if it helps that'd be appreciated! |
Just bumping this. @reinismu @Andrew-Collins @senior-cpp-developer if any of you are able to confirm that #344 does or does not resolve your issues that would be very helpful. If I don't hear anything back in a couple weeks, I will likely close this issue and assume that the PR resolves the issues (as I did not experience flashing issues previously, so I'm unable to tell if this helps or not). |
Just realised that I wasn't passing through The ESP32-S3 uses a USB JTAG/serial controller, @senior-cpp-developer it would be interesting to see if this was your problem too.
If there is no additional info, then for some reason the os/container/espflash is unable to access udev information. |
Can anyone affected by this issue check if #487 fixes the issue?
|
Recently I got my hands on prototype board that uses ESP32S3 chip. It requires entering flash mode pressing buttons.
I can't manage to flash it using
espflash
Tho it works perfectly fine using
idf.py
Has anyone else stumbled on this?
Thanks!
p.s. It works fine when I try to flash dev board
The text was updated successfully, but these errors were encountered: