UART software download problem on WIN10
Posted: Sun Oct 22, 2023 11:16 pm
Hi!
I recently got my hands on the ESP32s2 module, which doesn't have an onboard USB-UART bridge. I took one (STLink Virtual COM port from STLink v2) to download my code, but the process did not work. I pulled down boot0, connected through the same bridge using the terminal and I got a message: "rst:0x1, boot:0x3 [...] waiting for download"
Hence the conclusion the power, bridge, and connections are correct. But, when I try to use esptool.py (chip_id, read_mac) or download code using platformio there is an error "A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x01): Possible serial noise or corruption." Solutions from the troubleshooting guide didn't help.
When the same setup is connected to the same platformIO IDE on Linux everything works. My friend has the same problem with WIN11, so my question is... Do You know any workaround to it? Or rather a correct solution?
Thank You!
Ps. Using a board with an onboard bridge is working under both our systems.
I recently got my hands on the ESP32s2 module, which doesn't have an onboard USB-UART bridge. I took one (STLink Virtual COM port from STLink v2) to download my code, but the process did not work. I pulled down boot0, connected through the same bridge using the terminal and I got a message: "rst:0x1, boot:0x3 [...] waiting for download"
Hence the conclusion the power, bridge, and connections are correct. But, when I try to use esptool.py (chip_id, read_mac) or download code using platformio there is an error "A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x01): Possible serial noise or corruption." Solutions from the troubleshooting guide didn't help.
When the same setup is connected to the same platformIO IDE on Linux everything works. My friend has the same problem with WIN11, so my question is... Do You know any workaround to it? Or rather a correct solution?
Thank You!
Ps. Using a board with an onboard bridge is working under both our systems.