geekhack
geekhack Projects => Making Stuff Together! => Topic started by: Khuya on Sun, 19 June 2016, 05:38:09
-
I have been trying to flash the firmware on atmega32u4 with no success.
I ran
$ make -f makefile dfu
dfu-programmer atmega32u4 erase --force
dfu-programmer: no device present.
make: *** [../../tmk_core/rules.mk:424: dfu] Error 3
It keep saying no device present. I did enter DFU mode. Any idea what else am I missing?
-
What bootloader does your atmega have on it?
-
how do I find this? I am not sure what you mean.. I bought this from this link
http://www.aliexpress.com/item/Mini-Leonardo-Pro-Micro-ATmega32U4-5V-16MHz-Module-For-Arduino-Best-Quality/32284746884.html
-
Which OS are you using? Have you installed dfu-programmer? Have you verified a working connection to the atmega32u4?
-
It keep saying no device present. I did enter DFU mode. Any idea what else am I missing?
What bootloader does your atmega have on it?
Caterina Bootloader, a true nightmare. Every guide I found on the internet didn't help.
I ultimately broke something and it's not recognized anymore in the device manager.
I wish you better luck.
-
The issue with that bootloader is that it stays in DFU mode for a very short time IIRC. You can have it stay there for 8 secs, just ground the rest pin twice quickly. A switch helps for this. Also, IIRC, out of the box, that bootloader uses serial communication, so you'll have to use avrdude. Try setting up the arduino environment and use this guide to test it, https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide
-
Instructions here on how to flash a hex file to one of these: https://deskthority.net/workshop-f7/how-to-use-a-pro-micro-as-a-cheap-controller-converter-like-soarer-s-t8448.html (https://deskthority.net/workshop-f7/how-to-use-a-pro-micro-as-a-cheap-controller-converter-like-soarer-s-t8448.html)
-
Thanks everyone, climbalima point me to AVRDUDESS and it's working now! :thumb: my first 20% is done. Now just need to wait for the trrs cable to arrive to connect the two halves :p
(http://i.imgur.com/hnnGR5U.jpg)
-
The issue with that bootloader is that it stays in DFU mode for a very short time IIRC. You can have it stay there for 8 secs, just ground the rest pin twice quickly. A switch helps for this. Also, IIRC, out of the box, that bootloader uses serial communication, so you'll have to use avrdude. Try setting up the arduino environment and use this guide to test it, https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide
I just made a bat file to program my pro micros to make it less work. Short the pins twice then run the batch file works well