Let's Make Robots!

avrdude

How I fixed my "programmer is not responding" "not in sync" while attempting to program my Mini Pro

I bought a CP2102 USB - TTL board from eBay. I added the recommended cap from the DTR pin, cut the RST trace, and attached the other end of the cap to the RST pin. I plugged it into my Mini Pro clone, swapping the TX and RX lines as one would think was logical. I got no joy. The arduino IDE would constantly say, either, avrdude: stk500_getsync(): not in sync: resp=0x00 , while in Windows, or, avrdude: stk500_recv(): programmer is not responding , while in Ubuntu.

Manual compile and upload

We decided to get rid of the Arduino IDE for our project, and switch to make/avr-gcc/avrdude. Sure, the IDE is great for beginners and those who write small to medium-small projects, but it's awkward to use with larger projects using lots of files and several people coding at the same time. And the PC our university has provided to us is quite slow so some stuff take way too much time.

The transition wasn't as easy as we had hoped for though, and it took a day to figure everything out. So to hopefully make things smoother for others, here's how we did it.