-
Notifications
You must be signed in to change notification settings - Fork 131
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
How to use with ftdi FT232-ttl adapter (esp32s3 board)? Able to monitor but not able to flash... #646
Comments
A few things to try/questions:
|
I was using -b no-reset-no-sync already as I'm only connecting to RX/TX lines and manually putting it into bootrom codeload mode via BOOT0 and reset (and this system only has RX/TX lines available on the connector).
RUST_LOG=debug output, with --no-stub,
Some years ago I did something similar with esptool.py I think and a board that didn't have the CP2102 uart chip and it worked ok, but that was very manual in terms of memory addresses etc and a bin file vs. the elf file. |
@SergioGasquez any other info from here that could help? |
Could you try using |
@SergioGasquez can it? Is the protocol used for flashing the esp32 a standard? I'm not looking for serial interactivity, or jtag/swd debugging, just flashing (which is what drew me to espflash :-) ) |
probe-rs can also be used to flash via the USB/Serial-JTAG, see https://docs.esp-rs.org/book/tooling/debugging/probe-rs.html#probe-rs and probe-rs docs |
@SergioGasquez sure, but why wouldn't espflash be the place for this? It's already handling chip specific things and has the proper options to exclude reset/boot etc. Wouldn't I have to do a bunch of the same stuff to use probe-rs for this? If espflash isn't the right place for this kind of thing I'd be interested in why. |
Any updates on this issue? I'd like to use espflash for code load here without needing a build and esp-idf sdk on the system to load code. |
you mention you are only connectiong tx/rx ? If you are not programming through usb-jtag but through an usb/uart converter on the uart site you need to have the correct connections. In the general case its not enough to have tx/rx connected but also dtr/rts signals. They usually go to the esp32s3 reset gpio and to the gpio0 of the chip respectivly. If that is not present than you cant expect to have a working autodownload! In that case you need to manually reset it. For example look at one official dev board schematic how its connected correctly. |
@Vollbrecht agreed, that's why I mentioned in my initial comment that I'm disabling the reset and boot control features. I had expected that because I was putting in into bootrom codeload mode manually, that espflash would be able to program it. (I also posted how I was aware it was in that mode). I've done this in the past with espflash I think but that requires knowing memory addresses I think as well. The use case for this product something like:
|
esp323s3 here, I'm able to boot into bootrom mode via BOOT0 and reset and can confirm if I open the device up with picocom (at the bottom).
But when the chip is in this mode I'm not able to program, I get timeouts:
Am I missing something?
I'm able to monitor as well btw:
The text was updated successfully, but these errors were encountered: