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.
No description
8 Replies
DaDev
DaDev2mo ago
What was the last code uploaded to the board. What was it doing?
Superfish
SuperfishOP2mo ago
Card info from the SD card library I think. I was testing to see if the sd card was working
DaDev
DaDev2mo ago
Whay pins is the SD card module conected to .
Superfish
SuperfishOP2mo ago
It should be: MISO - GPIO 20, MOSI - GPIO 19, CLK - GPIO 18 and CS - GPIO 21
DaDev
DaDev2mo ago
Ok so thats stops my idea, I was ninking it might be taking over the tX/RX pins you use to upload.
Dennis Willson
Dennis Willson2mo ago
So could you upload your image of your work state
. . . AARAV . . .
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
haitoman#
haitoman#2mo ago
Have you got another sketch open on the same port?

Did you find this page helpful?