Go Down

Topic: ATmega328 programming in the final circuit (Read 949 times) previous topic - next topic

nicolaf

Hi,
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?

Thanks

Grumpy_Mike

#1
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