Go Down

Topic: ATmega328 programming in the final circuit (Read 1 time) previous topic - next topic


i have a little doubt. Is it possible to program the ATmega328 microcontroller (or a generic ATmel micro) with the ISP connector (MISO, MOSI, etc..) in a final circuit board togheter with  the other electronics components, or i had to remove the micro from the board and program it separately?



Sep 30, 2012, 11:26 am Last Edit: Sep 30, 2012, 07:01 pm by Grumpy_Mike Reason: 1
This is called ICP In Circuit Programming, and you can do it so long as your programmer can waggle those pins. This is usually possible if those pins are used as outputs and only connected to other inputs.

If the pins are used as inputs, that is connected to an output of another device then you have to make sure that the other device's output can be over ridden, tri stated or in some other way disabled. One way is to have a removable link.


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131