May 9, 2011 AT 12:25 pm

Using Bus Pirate with Arduino IDE

Taylan ran into a problem with a DIY ATmega168p Arduino kit not having the required bootloader for proper use. Come to find out he was able to figure out how to use his Bus Pirate within the Arduino IDE.

This morning an idea popped up in my mind to use the Bus Pirate with avrdude. I managed to program but something was off because I was not able to connect to the bootloader. I can use Bus Pirate with avrdude directly as it’s firmware can interact with avrdude. “How about embedding it into Arduino IDE?” was the question in my mind now.

While messing around the directory of Arduino IDE, I found some text files and answer to my question lies in one of them: programmers.txt

Just add these three lines to it and you are good to go (note: you might need root privileges for Linux)

buspirate.name=The Bus Pirate
buspirate.communication=serial
buspirate.protocol=buspirate

The Bus Pirate is a wonderful tool to have on hand and you can pick up your own in the Adafruit Store.

Via Tayken’s Blog


 

Related

No Comments

No comments yet.

Sorry, the comment form is closed at this time.