I want to program a surface-mounted Atmega328 before soldering it to my board. I have an AVR Dragon board that is capable of ISP. This works fine with DIP Atmegas where I can just pop them into a ZIF socket and program them. But how would I program a surface-mount Atmega328?
Electronic – How to program a surface-mount Atmega328
avrispsurface-mount
Related Topic
- Electronic – arduino – How to use the SMD Arduino to program a separate DIP ATmega328
- Electronic – AVR ISP – SCK pin shared with LED
- Electronic – How to “print” traces on the back of a ceramic package
- Electronic – Program an ATTINY85 on the PCB is causing me some trouble
- Electronic – Arduino Nano ISP turns into the target program (as well as target MCU)
- Electronic – Surface Mount Resistor Clip
Best Answer
One option is use a TQFP-32 socket and connect the necessary pins in your AVR Dragon.
Or you can program the device directly in your board after soldering the ATMega328. I suppose that you didn't prepare your board with a connector for JTAG or ISP like explained here: http://support.atmel.no/knowledgebase/avrstudiohelp/mergedProjects/AVRDragon/AVRDragon_ISP_Description.htm
So you will have to soldering some wires and connect in your AVR Dragon. You can create an adapter like this picture: