I am having trouble burning a hex file on to my Sprakfun Pro Micro. I am using Ubuntu 16.04. I used the Arduino IDE to find the command I need and copied and pasted that into my Linux terminal (Changing the path to file of course). The command starts running like how it would on the IDE, however things break down when it gets to the “Connecting to programmer:” part. I realize that I need to reset my pro micro to bootloader mode, otherwise the “programmer” that gets read is some jarbled mess of what the promicro is doing.
I hooked up a switch to the ground and reset pins. When I try to reset the avrdude command just stops completely the ttyACM port that the pro micro is registered as gets changed. Do I need to re-flash the bootloader? Is there an easier way to burn a hex file?