So, whenever I try to upload a sketch to my nano BLE it always switches to the bootloader and then eventually says unable to find COM port. I have tried pressing the reset button but that just causes the upload to time out eventually. I have been looking throughout this forum and maybe I missed something but I am unable to figure out how to fix it. Please help?
Try this:
- Press and release the reset button on your board quickly twice. You should now see the LED on the board pulsing, which means the bootloader is running. The double press causes the bootloader to run indefinitely (until the board is reset, powered off, or an upload is done), which means you don't need to get the timing of the reset just right.
- Select the port of your board from the Tools > Port menu. The port will be different when the bootloader is running so don't assume you already have the correct port selected.
- Start an upload in the Arduino IDE.
The upload should now finish successfully. After this, you should be able to go back to doing normal uploads without needing to press the reset button. If you still need to do the reset trick to do uploads after this, the problem may be caused by your code. You can verify this by uploading a simple sketch like File > Examples > 01.Basics > BareMinimum.
Thanks for your answer pert. What actually ended up working was just installing the barebones program onto the bootloader (not sure if this mattered because I thought I had it there before) and then just closing and reopening the Arduino IDE program. Didn't think that would do anything really but it ended up fixing the problem. All good now, thanks anyways.
I'm glad to hear it's working now. Thanks for taking the time to post an update with your solution. Enjoy!
Per