Hey,
I have this bug for a while now and don’t know how to fix it. I am using ESP-Prog JTAG edebugger and flasher to flash my esp32 mcus using Serial communication. For UART I should use COM n+1. When I connect ESP-Prog I can see two comports on device manager:
they also shows on VSCode Platformio,but when selecting COMPORT 20, I get this error:
A fatal error occurred: Could not open COM20, the port doesn’t exist
What is the problem? Programmer is working fine, because I usually fix this problem by rewriting drivers using Zadig back and forth a couple of times till Windows changes comport numbers and then Platformio manages to communicate through them. But what actually causes this? Because every time I reconnect ESP-Prog, this error happens.