avrdude: stk500_recv(): programmer is not responding

Hi Guys,

I have made a PCB with an ATMega328AU (see the schematic attacched). I have burnt the bootloader using an arduino nano. Since I have an ATMega328AU I added in the avrdude file in Arduino\hardware\tools\avr\etc the following section:

part parent "m328"
id = "m328au";
desc = "ATmega328AU";
signature = 0x1e 0x95 0x14;
ocdrev = 1;
;

then I connected my nano to the PCB I made, uploaded the ISP sketch and in the processor list I selected ATMega328AU and burnt the bootloader. I got the message at the end:

avrdude: verifying ...
avrdude: 1 bytes of lock verified

avrdude done. Thank you.

So I guess everything worked. now I switch the usb to the new board and try to upload the example BareMinimum. Select again the board ATMEGA328P (should be the same since the P and AU differ only by the signature), switch back to AVRISP mkll and try to upload. The IDE doesn't succeed in the uploading:

Using Port : COM19
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding

I've heard about the issues with the FTDI chips so I tried a couple of them but no luck (I bought the FTDI chips on digikey so I guess this is not the issue).

Does anyone have an idea what's going on?

Thanks :smiley:

uC.pdf (247 KB)

uC.pdf (247 KB)

These are incorrect

id = "m328au";
desc = "ATmega328AU";

Take the AU off the ends, that only describes the 32-pin TQFP package.

The fuses are

ATmega328 0x1E 0x95 0x14

ATmega328P 0x1E 0x95 0x0F

So just use m328 and ATmega328

You also need to cross the Rx & Tx lines. Look at the Duemilanove schematic. FTDI Tx goes to 328P Rx, FTDI Rx goes to 328 Tx.

After a little bit of struggle in the soldering process, I succeeded in swapping the RX with the TX and worked smoothly thanks :smiley: