Hi everyone,
I recently bought a brand new Arduino Pro Micro and it worked fine until I uploaded the first program on it. I couldn't find Pro Micro in the boards list so I selected Leonardo and uploaded a test program. Everything went pretty well until I had to upload another program on it. Now, every time I try to upload, I get a message saying:
"Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is
** correct, try pressing the board's reset button after initiating the upload.**"
I also tried to reset at upload phase but it didn't work for me. I then checked Device Manager to see if the board somehow gets disconnected and it seems like it does.
BEFORE UPLOAD: Everything looks good. The board is working fine.
What should happen is that when the upload starts (after compilation finishes), the Pro Micro is reset and the bootloader runs. The bootloader will typically enumerate as a different COM port than the one present when the Pro Micro is running the application code. The upload process waits for this new port to appear and then does the upload to that port. If I understand what you're saying, the new port never appears while the bootloader is running.
Does your computer try to install a new device during the upload?
It's possible this is related to this bug:
which has been fixed in the hourly build of the Arduino IDE. You could try using the hourly build to see if it fixes the problem:
Note that the hourly build is primarily intended for beta testing and it may not be as stable as the production releases of the Arduino IDE.
There was also a recent report of problems during this type of upload, which ended up being caused by the antivirus software:
You could try to TEMPORARILY disable your antivirus for a single upload to see if that's the cause. If so, you would need to whitelist the appropriate file/location/process in your antivirus settings.
Just in case it might provide some clue to someone, please provide a verbose upload output:
File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
Sketch > Upload
After the upload fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
Paste the error messages in a reply here USING CODE TAGS (</> button on the forum toolbar).
The ProMicro is not an Arduino. It was designed by Sparkfun; it might have been sold by Arduino but I can't find it in the store or the retired products.
Sparkfun has a boards package that you can install using the boards manager. After that you will have a couple of Sparkfun boards that you can choose from; ProMicro should be there.
I don't use ProMicro, but went through the exercise of installation a while ago.
I've done a ton of work with Pro Micro clones, but never bothered to install the Sparkfun package. I always just select Arduino Leonardo or Arduino/Genuino Micro and have never had a problem.
Looking at your pics would also tell me you have not installed all your motherboard devices (possibly from a fresh install).
You should also make sure they too are fixed before going too much further especially the PCI and SMBUS devices as they can be important to a properly running system and might save you some further grief.
Pro Micro may be problematic .
If the device's port is not recognised the best way is to force reset (wire RST pin to the GND) and check the port your Pro Micro is advertising.
Try to upload code within 8 seconds from resetting.
I had a lot of trouble with the above - I ended up with erasing the chip with :
(I am under linux, so do not know the port naming under Windows. Make sure you point to the proper one, as the chip after several flashing attempts changed its port from ttyACM0 to ttyACM1).
Similar problem. Until I found the suggestion to reset during upload, I thought I had bricked 2 of them. Now, I have to reset every time I upload. I tried to burn bootloader, but it is looking for a programmer (USBasp) rather than the target
sbkenn:
Similar problem. Until I found the suggestion to reset during upload, I thought I had bricked 2 of them. Now, I have to reset every time I upload. I tried to burn bootloader, but it is looking for a programmer (USBasp) rather than the target
Does erasing the chip wipe out the bootloader too ?
sbkenn:
Does erasing the chip wipe out the bootloader too ?
If you can still upload using the reset 'trick', the boot loader is still there. You will need to check the behaviour of the Pro Micro in Windows device manager (or the Linux/Mac equivalents). As mentioned above, it should switch from something like 'ProMicro' to something like 'ProMicro (boot loader)'; note that I have no experience with ProMicros.
An upload of a sketch via ICSP will wipe the boot loader.
The IDE (nowadays ?) generates two hex files. One without boot loader and one including the boot loader; the former is used by the IDE when you do a normal upload via USB (will not wipe the boot loader) or an upload using programmer (will wipe the boot loader).