Closed Andrewiski closed 7 months ago
Thank for reporting the issue, intially, I thought it is due to the new IDF v5.1 used by latest arduino-esp32. Howver, after migrating tinyuf2 from idf v4 to v5. The issue stil; persists. I did a lot more tests and finally find the root cause. It is caused by the newly-introduced periman
module. I have submitting PRs with detail explanation to arduino-esp32 core
The change is very simple, just change the return from false->true in a function. If you cannot wait for the fix, you can simply make the change local. Should it work for you, maybe drop a comment there, the more people test this, the more likely (and sooner) espressif would merge it.
Operating System
Windows 10
INFO_UF2.TXT
When attempting to program on a ESP32 S3 Rev TFT using bootloader version 0.16.0, Arduino immediately errors with "A fatal error occurred: Could not open COM9, the port doesn't exist" even though the com port is listed in device manager in windows. Downgrading to 0.12.3 bootloader, power resetting, and programming again the device programs and does the normal hang after "Hard resting via RTS Pin" that requires the push of rest button but the device is programmed. With version 0.16.0 bootloader the USB uf2 programming seems to work and a double tap of reset bring up the uf2 bootloader as expect bug seems to only effect Arduino programming I confirmed same issue on multiple ESP S3 Rev TFT's on multiple Windows computers. I did not try moving forward from 0.12.3 to see what version it breaks.
What happened ?
Arduino programming fails with
How to reproduce ?
ESP32 S2 Rev TFT upgrade bootloader to 0.16.0, Power reset to activate bootloader, Check Info_Uf2.txt Confirm Successful Upgrade (I have had the 0.16.0 show and then on power cycle revert)
Drag and Drop Feather_ESP32S#_ReverseTFT_FactoryTest.uf2 to Feather USB Drive Now Should be running the factory Test and Serial Port Show in Windows. Using Arduino Studio perform Upload of any Simple Code. Arduino upload fails with Immediately after Compile With Could not open COM10, the port doesn't exist COM10 is present in device manager still, factory code is still running device did not program at all
Debug Log
No response
Screenshots