geekhack
geekhack Projects => Making Stuff Together! => Topic started by: Tactile on Mon, 13 February 2017, 19:33:43
-
I'm running Win 10 64 bit and have all tools I need to build firmware (TMK, QMK) and flash a Teensy.
I've just gotten my first Pro Micro to play with and it looks like I need to install some Arduino stuff in order to flash it. I just want to flash it with Soarer's converter so, as you know, I have Soarer's hex file ready to go, I just need to get it onto the Pro Micro.
I'm trying to avoid installing two gallons of stuff on the computer just to do a one teaspoon job.
What's the minimum toolset I need to just flash a Pro Micro?
-
AVRdude, usually comes bundled with winavr, arduino, etc...
http://savannah.nongnu.org/projects/avrdude (http://savannah.nongnu.org/projects/avrdude)
-
This thread might help you out: https://deskthority.net/workshop-f7/how-to-use-a-pro-micro-as-a-cheap-controller-converter-like-soarer-s-t8448.html
I am currently in the process of doing exactly that (building a Soarer's converter with a Pro Micro). I think I have the pro micro side of things working, but I fear that my keyboard doesn't work...
-
https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide
Windows 10 works defs.
Basically flash the blinkies thing first according to the guide above and then you need to use Arduino builder
http://forum.arduino.cc/index.php?topic=151774.0
Select the hex file and the Arduino Leonardo or the Arduino micro if it doesn't work. Then short RST to gnd and mash that COM x-1 button where x is what the normal com operating port is
If you see pie charts you're sweet.
Soarer's converter takes a while to boot up and install I've found, so unplug, plug it in, reset to ground again, and just wait and sit. NumLock led should come on after that and your keyboard should work
-
First two replies are spot on (from my limited experience). The only thing you need is the command line utility avrdude (http://download.savannah.gnu.org/releases/avrdude/avrdude-6.3-mingw32.zip). The deskthority guide (https://deskthority.net/workshop-f7/how-to-use-a-pro-micro-as-a-cheap-controller-converter-like-soarer-s-t8448.html) is a great one, tells you exactly the command line arguments to use, and even includes pics of Pro Micro pinouts and the equivalent Teensy labels.
Only bit of trouble I had was figuring out that shorting the pins for flashing needs to happen quite quickly after power up.
-
The Pro Micro w/Soarer's is inside the 42H1292 I'm typing on right now. Thanks to all who replied.
-
So what was the method you used in the end? Mine seems to be a bit inefficient to myself even lol
-
So what was the method you used in the end? Mine seems to be a bit inefficient to myself even lol
At one of the corners of the Pro Micro are a couple of solder pads labeled "J1". On my Chinese Pro Micro these solder pads were not bridged, which they must be for a 5 volt Pro Micro. When I learned about this I bridged J1 with a bit of solder and then was able to flash it in Win 10 using avrdude.
The command line I used was the standard:
avrdude -p atmega32u4 -P YOUR_SERIAL_PORT -c avr109 -U flash:w:filename.hex
I had Device Manager open so I could watch the serial port, which changes (did for me, anyway) between "running" mode & bootloader mode. When I saw what serial port Windows assigned when the Pro Micro was in bootloader mode I just up-arrowed in the terminal, edited the serial port, shorted reset and ground once more, and pressed enter in the terminal.