Need help with Pro Micro

Hello,
I have a problem for which I have been unable to find a solution.
I stupidly loaded a sketch that prints "hello world" every second in a loop.
The IDE cannot load a different sketch because the device is unresponsive while it is looping and, of course, it prints "hello world" wherever the cursor is; into the code window, into windows in general, wherever.

I thought perhaps that I could use avrdude with a usbasp programmer to load a new bootloader which should, in theory, reset the device.

Unfortunately it appears that avrdude also cannot detect the pro micro while it is busy looping so I get all sorts of messages that basically say "device not found".

btw, I have connected the usbasp programmer to an uno just to verify that the programmer was working properly and it immediately said: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e950f (probably m328p), so I know the programmer is OK.

Does anyone know of a way to force avrdude, or any other app, to force a new bootloader onto the arduino pro micro? Or is it effectively bricked and I should just toss it?

Thank you

Try this

Short the RST pin to GND on the Arduino whilst the code is compiling. When you see the "Uploading" message remove the short to GND

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.