USBASP Bootloading a ATMega328p with a 8mhZ internal clock

What are we going to do is program an ATMega328P without an external crystal by using USBASP programmer and the Arduino IDE.
Why would we want this? It uses less components and gets up closer to knowing how to program with something like WINAVR and because programming is fun an addicting. Not everything runs on Arduino, but it is a great place to start.
USBASP Bootloading a ATMega328p with a 8mhZ internal clock
I use an USBASP clone programmer from my local electronics store. I have read this same procedure can be done on and Arduino board, but i have not been unsuccessful at making that work.

Step 1: Connections

If you follow the ISP Header 6-pin and connect the
MISO to the MISO on the chip
SCK to SCK on the chip.
You get the idea.
You could do all this on a breadboard or you could use the avr target board fournd here.
Additionally you can get some good help here
The 6-Pin header is on the USBASP.

Step 2: Board Files

If your board selection does not look like mine where is says ” ATMEGA 328 on a breadboard (8MHz internal clock) ”  then you need to install the board files i have provided.
Even if you do have the ” ATMEGA 328 on a breadboard (8MHz internal clock) ” showing but it is not working then you need to install my files.
USBASP Bootloading a ATMega328p with a 8mhZ internal clock
The only difference is the last line.     atmega328bb.build.variant=arduino:standard

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top