Hello!
I am using the excellent STM32 Thing Plus https://www.sparkfun.com/products/17712 as the core for a new prototype that requires some sophisticated embedded software.
We have many of them and I have successfully used them time and again, uploading via the official Arduino IDE (coding in Atom) and using the serial port to debug. I have done this many times with no issues after following the instructions here https://learn.sparkfun.com/tutorials/st … 1616530414 to set up.
Now, something very odd is happening. After an upload in which I tried to turn OFF my Serial while() loop so that I could run it disconnected from the computer, I found that the board is no longer registering in the COM ports of either my PC or Mac. Interestingly it still runs the last sketch uploaded just fine, in which it reads several sensors, several more inputs, runs 4 separate light strips, and displays a bunch of info on an OLED screen.
Here’s the kicker: when I put it into bootloading mode, it DOES show up in USB Devices (NOT COM) as STM32 BOOTLOADER, which I have never seen before. I’m attaching a screenshot to show what I mean.
I repeated this with another one I had laying around. At this point I’m scared to upload anything anymore for fear of bricking them all!
So the questions are:
-
How could this possibly happen?
-
Is there a way to somehow reflash it leveraging the fact that it does show up in some capacity?
Thank you so much for your help, this has been holding us up for over a week and I’m at my wits end.