I have some new from DigiKey ATMEGA328PU in the DIP28 package.
I am burning them for 8mhz internal clock. Using MiniCore.
They seem to take the bootloader OK (shows successful), but when I go to put my program in, I get the "not in sync" error.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x57
Yes, I pulled the micro out of the Uno before programming my new 328. Also tried an FTDI cable, no joy.
I know it has to be simple, thoughts?
Rat_Patrol:
I know it has to be simple, thoughts?
There's something wrong in the way that you have connected everything together.
I made a shield for it, and because I don't have a photo hosting account I'll just list the connections:
Arduino Pin 328 pin
13 19
12 18
11 17
10 1 (also has 10k pull up resistor to +5v)
328pins:
7&20 to +5 (also has .1uF cap, tried with it connected and disconnected)
8&22 to GND
ETA: Just tried again with my old hand-made shield (the new one is a proper PCB), and I get the same error, only the resp is different:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xbc
Are you trying to upload your sketch over serial using the bootloader, or via ICSP? These connections:
Rat_Patrol:
Arduino Pin 328 pin
13 19
12 18
11 17
10 1 (also has 10k pull up resistor to +5v)
are for uploading over ICSP. You'll need to use the Tools>Upload Using Programmer option, rather than the normal 'Upload' button in the IDE.
I don't have a photo hosting account
Post photos as attachments.
BJHenry:
Are you trying to upload your sketch over serial using the bootloader, or via ICSP? These connections:are for uploading over ICSP. You'll need to use the Tools>Upload Using Programmer option, rather than the normal 'Upload' button in the IDE.
That was it; using the "Upload Using Programmer". Completely forgot about that!
Haven't tried it in circuit yet, but it took the program. I did try BLINK, and it worked fine.
Thanks again!
No worries, I'm glad to hear you got it working