Hi there,
i have a problem, which has been discussed here several times and i really would like to understand the main problem:
After Uploading an USB HID Sketch, the Micro Pro is no longer recognized by Windows. OK, as i read, the Micro is not able to handle a USB Hid Sketch and the USB Port.
I succeeded in Uploading an empty Sketch just with Setup and Loop but the main issue is still there, the Pro Micro will not be recognized by windows and can not be programmed.
I have some other Arduinos here to write the bootloader but none with 3,3V
What can i do, to program this Arduino without having such a trouble ? Or can i Upload something, what will erase everything ?
I have an STK500 anywhere in my storage but my skills are all forgotten and i hope, that there is another way - easier -
Thanks Alot
When I wrote the sketch that power down soon to M5stack, the sketch could be written by pressing the reset button immediately after writing.
If you have a problem caused by the written sketch, you may solve it by pressing the reset botton.
The only reason that I can think of why Windows still does not recognise your board after a successful upload of the empty sketch is that you used the wrong board selection in the IDE. Did you install the Sparkfun AVR boards package? That will allow you to select a 3.3V/8MHz ProMicro.
You will still need to use the double-tap reset trick the first time to upload a sketch but after tgat your problem shoukd be gone.
And if you managed to upload via USB, your bootloader is still OK.
The 3.3V Pro Micro will happily run on 5V. Do not use USB and power the Pro Micro with 5V on the Vcc pin (not the RAW pin); the 5V can come from your 5V board that you use as the programmer.
I made the same mistake the first time that I used a 3.3V / 8MHz Pro Micro; I knew that I had to install the board package but lazyness (or eagerness) got the better of me and I programmed it as (16MHz) Micro or Leonardo
You can mark the topic as solved by clicking thesolution button under the most useful reply so others know that your problem was solved; this helps people with the same problem and also indicates to the regular helpers that they don't have to spend time on it.