IDE is failing to connect to COM port
I have no idea why this is happening. I have a custom rp2040 device that was working just fine yesterday until something happened and now I get the message below from the serial monitor. Uploading sketches doesn't work either. The device shows up just fine in device manager as COM6 and says it working correctly but it seems like the IDE just can't connect to it. Thanks for the help.
8 Replies
What was the last code uploaded to the board. What was it doing?
Card info from the SD card library I think. I was testing to see if the sd card was working
Whay pins is the SD card module conected to .
It should be: MISO - GPIO 20, MOSI - GPIO 19, CLK - GPIO 18 and CS - GPIO 21
Ok so thats stops my idea, I was ninking it might be taking over the tX/RX pins you use to upload.
So could you upload your image of your work state
Is it an PY tool or arduino IDE error? You may want to try a different ide and/or programming language to see if your pytool is corrupted, like thonny ide.
You can run a command to figure out if your pytool is uploaded correctly on windows. I’ll share the command in a bit.
PyTool is what uploads the code, IDEs compile the code and convert it to bits and then PyTool actually uploads the code from the ide.
Use this command in win command terminal
pip show pytool
Have you got another sketch open on the same port?