RT1062 working fine, then first time powering up with sd card and now no longer recognized

Hi, I was having good luck using the RT1062 board for a few weeks - I’d never put an SD card in, as I was just prototyping with blob recognition.
I wanted to try the template matching stuff, and it seemed like saving to an SD card was a good idea. So I formatted a 2gb card with drive label MV on my Windows 10 machine and (with power off) inserted the card. The IDE was open and not connected this whole time (but I think I did power down the board without disconnecting - but a script wasn’t running).
When I try to power up the board now, Windows correctly mounts the board and I see my scripts in File Explorer. But I can’t connect over the IDE, and after awhile (like, several minutes), Windows pops up a message saying “USB device not recognized”.
When I try to use the IDE’s “are you trying to connect to a bricked unit” dialog, it instantly fails with a timeout error.
Any ideas what I can try to recover from this? The onboard LED is solid green throughout all these operations…

Thanks!

AKA

Hi, do you have a main.py script on the SD card or the internal uPY flash drive? The camera will run that script when it boots which could cause problems with the IDE if you are doing something which would make the system unresponsive to USB.

Ayyyy, thank you! It would not have occurred to me to delete the main.py that lived on the internal drive.
I did that and rebooted (my computer and the board, just to be thorough) and now I’m back in action.
Really appreciate the fast response, now to figure out why my basic saving-a-frame script is messing stuff up…

AKA

Don’t save pictures to the internal flash drive. It has very limited space.

Thanks, good to know - I didn’t get that far and hadn’t saved images anywhere yet - I think the error was somehow related to checking for the presence of an SD card before creating a folder?
At any rate, I’ll try to stick closer to the included examples for now…

AKA

If you are writing images just make sure you have an SD card. Also note that if power is cut off while writing images this can corrupt the FAT file system.