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.
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.