How to transfer a C program to a chip?

chipPer wrote me:

“What’s the easiest (cheapest) way to transfer a C program to a chip?”

Here’s my reply:

It depends on what chip it is.

Most microcontrollers require a programmer. This is a little thing you plug into the USB port that makes it possible to program the chip.

What programmer you need depends on what chip you have.

Here’s an overview of how it works:

Some chips can be programmed directly through the USB port without any programmer.

For example the ATMega32U2.

Unfortunately you can’t plug this chip into a breadboard. But I’ve made a complete tutorial on how to build a circuit with it.

It’s more for those beyond the very beginner stage, but if you’re curious check it out:
Keep on Soldering!

PS! If you have no idea what a microcontroller is, check out this article:

PPS! If you want to start building cool things with electronics — even without any experience — check out my eBook “Getting Started with Electronics”:

More Mail Archive Tutorials

1 thought on “How to transfer a C program to a chip?”

  1. Many thanks,
    it was good of you to help (us) avoid the lengthy and frustrating learning process you must have gone through with your logical and detailed description of programming controller ic’s; if I can’t avoid doing this in the future, I shall certainly appreciate the solid grounding I have from reading your articles.
    Best Regards.


Leave a Comment