I've been racking my brain and seeking help over at the arduino.cc forum, but I'm still at a loss. I'm trying to create a board with an ATMEGA328P TQFP-32 to fade a series of green LEDs in a random fashion to resemble fireflies. My issue is that nothing seems to be working in the way of programming the chip.
The sketch works fine when using my boarduino, but when I try to program the TQFP, it doesn't want to work.
First, I tried using my boarduino, with the ArduinoISP sketch loaded on it, to burn a bootloader to the target board, which, appeared to load the bootloader, but when it tried uploading the sketch, it wouldn't work. I tried selecting the target board as an Uno, a LiliPad, a proMini, etc. Each time the bootloader would "load" but when it came to uploading the sketch, nothing would happen.
Then I moved to tying to use the boarduino without the 28pin DIP Atmega328 and use jumper wires to the corresponding sockets to program the TQFP chip, again, nothing worked.
Finally, I tried using my PocektISP programmer and upload the a bootloader through avrdude and the command prompt. Again, nothing is working.
I need this for my sisters wedding, which is in August, so the faster I can figure out/get help with programming the chip, the sooner I can solder 40 of these boards together.
Below is a screen capture of the schematic I'm using. Also, I've tried taking the resistor off the MOSI pin to try an avoid any issues with that, but, as you might have guessed, it didn't work.



