Go Down

Topic: The PERFECT Arduino Programmer. (Read 643 times) previous topic - next topic


How do you go about it?

I always include a 6-pin ICSP header in my board designs, whether I'm using stripboard or a PCB. I build them with a new, unprogrammed atmega or attiny chip. I'm careful that the SPI pins are not used to drive any heavy loads, or connected to ground or Vcc via rotary encoders or other switches that might not be open during programming, or driving any devices that might be upset by the signals present during programming. After completing and inspecting the board, I program the chip in-situ using an ICSP. I used to use my Arduino as the ICSP, but now I have an AVRISPmkII. If I want to change the program, I just reprogram the chip in the same way.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.


What about something like this? http://aztecmcu.com/catalog/i105.html

I use mine so much I have dedicated an older Duemilanove to it.

Putting an ISP connector onto your board is another way to go, but you still need a programmer.  I would imagine you also need to allow for ISP in your circuit design.  You could easily have things attached to the SPI pins that would prevent you from using them for ISP.

Dirt Biker


The problem with that approach is that every time you want to modify the program in your home-made board, you need to remove the microcontroller and put it in the programmer. Then move it back again before you can test the new program. You'll probably find that the program isn't quite right, so you modify the program and repeat the process a number of times. And you can't use SMD microcontrollers this way.

It's more practical to put an ICSP header on the board and program/reprogram the chip in-situ.

Doesn't have to be a either or situation. Just have the 'programmer' have both the ZIP socket and a six pin ISCP male header pins so a simple IDC cable would work for external target chips. That somewhat how I have my USBtiny programmer setup with a small header board for a mounted ZIF 28 pin for 328p chips, or just move the ICSP IDC cable to a external target board. Of course I can't handle ATTiny chips on the ZIP. One also has to make provisions or work around the need to power the target chip either by programmer supplying Vcc or allowing the target to supply Vcc. The USBtiny programmer has a jumper chip for that option.




Good use of rubber bands. :)

Yep, but I got some Velcro sticky back stuff if I ever get around to it.  =(


Go Up