SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By PancakeMSTR
#193554
Hi,
So I've got a little project that needs an atmega32u4. Because I'm a cheapshit I bought a chinese arduino, I guess pro micro, clone. Specifically, [this osoyoo](https://www.amazon.com/gp/product/B012F ... UTF8&psc=1).


Okay so first of all, plugged into my mac every LED on the board turns on and stays on. That's two red LEDs and a green one.

Now, for my project I just need the bootloader burned onto the chip. I... have no fucking idea how to do this. I tried using the arduino IDE, which recognizes the board as a Genuino Micro, but trying to burn the bootloader using the arduino IDE interface just gives me nothing more than "error burning bootloader" message.

I'm not a big microcontroller user. I don't know what the hell is going on. I need help.

Also, as a corollary, do any of you use the dfu-programmer thing?

If I run a command like
Code: Select all
    make -f Makefile dfu
and then get the output
Code: Select all
    sh: dfu-programmer: command not found
    sh: dfu-programmer: command not found
    -n dfu-programmer: waiting
    -n .
    -n .
Can anyone tell me what's going on? I have literally not a clue.

Thanks. I'd really appreciate help on this.