maybe someone can explain me what is happening. As soon as I flash my core via the Web IDE, it is removed from the devices under Windows. Removing the cable and plugging it in again doesn’t help. The only way to make it appear again is to do a factory reset.
I would like to send some data from the core via serial connection, but I can’t read it if there is no COM port.
Do you have a Serial.begin(baudrate); type call in your setup() function?
Until that line executes, your core won’t do USB enumeration and will not appear as a USB device on your host computer. If you are using the cloud, this usually happens a few seconds after the core switches to breathing cyan on the main LED.
I used to have the Serial.begin(9600) line in my code but with (apparently) otherwise faulty code. Adding that line solved the issue and the core is back again
Thank you very much for your help! I thought the core would always appear in the device settings and serial will only initiate the communication. Guess I was wrong and will need to take a close look at the firmware code.
Anyway, thanks again for your help!