Electronic – How to implement an ISP connector on the board

avrispprotection

I'm planning to make a small circuit with a ATtiny85V-10PU. As the pins on this chip are very limited, there are just enough for what I'm planning to do, so all pins will be used for in- or output with LEDs and stuff connected.

When including a ISP connector to this pins, my opinion is, that connected things like LEDs etc. would use the ISP data as power source and maybe the connection could not work to programm my chip (low voltage or something like this). Is there any prevention circuit I should include to be on the safe side, or am I fully wrong?

Is there any best practice, nothing circuit specific?

Best Answer

There are no general best practices. For each pin, consider what will happen if it is forced high or low by the programmer. Will it break anything in your circuit? How much current will the programmer have to source or sink to get the voltage to be at ground or Vcc? Will this exceed the specifications of your programmer?