Hi
Thanks to some horrible luck i broke off the usb connector of my Arduino Pro Micro. The copper traces too have come off so soldering the usb back on is out of reach for me. However I do have a USBAsp programmer with me. Is there any way to upload code to the Pro Micro board with the USBAsp?
Of course there is. How do you think the original USB firmware was installed? Just connect to the SPI pins, same as Uno and other AVR processors.
Thanks! can you give a step by step guide because i did try that but it didnt go as planned
The board powered up but i was unable to upload any program due to an error
"the selected serial port
does not exist or your board is not connected"
i installed the correct driver for the usbasp too so now im confused
Or if you have a USB->serial cable connect the TX and RCV pins to the RCV and TX pins on the Micro, click upload than quickly press the reset button on the Micro. The onboard USB to serial uses one of the control lines to do the reset, in this case you have to do it manually
Sorry i dont have one ;( Will try to acquire one if USBAsp method doesnt work.
The Pro Micro doesn't have a reset pin so how do I reset the board?
By grounding the reset pin. Between the GND and VCC pin.
You need to use Sketch > Upload Using Programmer. Do not do a standard Upload.
You can also hold Shift while clicking the Upload button as a more convenient way to trigger an Sketch > Upload Using Programmer when you are doing it frequently.
ahh i did that too but kept getting the same error, so i want to know if im missing something
That does not work with a ProMicro as there is no onboard USB-to-Serial. Uploads are done via the USB 'stack', not via the uart (RX and TX).
Yes this didn't work for me.
Can I upload the code to the Pro Micro with a FTDI Driver?
No; you need a programmer (Arduino programmed as ISP or otherwise).
In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to post the full output from the "Upload Using Programmer" with the IDE set to verbose mode.
Please do this:
- Select File > Preferences from the Arduino IDE's menus.
- Uncheck the checkbox next to Show verbose output during: [] compilation
- Check the checkbox next to Show verbose output during: [] upload.
- Click the OK button.
- Attempt an Upload Using Programmer, as you did before.
- After the upload fails, you'll see a button on the right side of the orange bar in the Arduino IDE: Copy error messages. Click that button.
This copies the full output to the clipboard. - Open a forum reply here by clicking the Reply button.
- Click the
</>
icon on the post composer toolbar.
This will add the forum's code block markup (```
) to your reply to make sure the error messages are correctly formatted.
- Press Ctrl+V.
This will paste the error output from the upload into the code block. - Move the cursor outside of the code tags before you add any additional text to your reply.
- Click the Reply button to post the output.
Other post/duplicate DELETED
Please do NOT cross post / duplicate as it wastes peoples time and efforts to have more than one post for a single topic.
Continued cross posting could result in a time out from the forum.
Could you also take a few moments to [url=https://forum.arduino.cc/index.php?topic=710766.0]Learn How To Use The Forum[/url].
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.