MiniCore programmer not responding

Hello,
I am having the same error. My light also blinks when I press reset. I can upload a sketch with out issue. However when I try to use "Arduino as IPS" and "upload using a programmer" I get this error message.
Com port is correct. I have a atmega328pb chip so I selected that as the variant. Minicore is installed. For the bootloader I have tried the "Yes UART0" and "Yes UART1" option. Both dont work. The board with the Arduino ISP sketch on it has a Atmel mega328pb on it and the target board has a Atmel mega328p on it.

Any suggestions are appreciated.

Thank you,

Global variables use 491 bytes (23%) of dynamic memory, leaving 1557 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\Daniel\AppData\Local\Arduino15\packages\MiniCore\tools\avrdude\7.2-arduino.1/bin/avrdude" "-CC:\Users\Daniel\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\3.0.2/avrdude.conf" -v -V -patmega328pb -cstk500v1 -PCOM3 -b19200 "-Ueeprom:w:C:\Users\Daniel\AppData\Local\Temp\arduino\sketches\6AF12B2B249B33B71758C31026256A95/spirit_nano_malice.ino.eep:i" "-Uflash:w:C:\Users\Daniel\AppData\Local\Temp\arduino\sketches\6AF12B2B249B33B71758C31026256A95/spirit_nano_malice.ino.hex:i"

avrdude: Version 7.2-arduino.1
         Copyright the AVRDUDE authors;
         see https://github.com/avrdudes/avrdude/blob/main/AUTHORS

         System wide configuration file is C:\Users\Daniel\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\3.0.2\avrdude.conf

         Using Port                    : COM3
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 1 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 2 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 3 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 4 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 5 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 6 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 7 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 8 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 9 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 10 of 10: not in sync: resp=0x00
avrdude main() error: unable to open programmer stk500v1 on port COM3

avrdude done.  Thank you.

Failed programming: uploading error: exit status 1

You don't have the same problem :wink: And hence I have created a dedicated topic for your problem.

I'm glad that you did some research on the forum but you're using minicore and a 328PB and the topic where you posted was about a 328P programmed over USB and therefore not applicable to your problem.

??? = -patmega328p

Looks like your error is in the communications between the computer and the board running the "Arduino as ISP" sketch.

The Arduino IDE should be set for the board that you are compiling for, the atmega328p, not the board that is being used as the programmer.

In the Arduino IDE, make sure you have Tools > Programmer set to "Arduino as ISP".

That should be set for whichever bootloader option was used when burning the bootloader to the target board (the board with the atmega328p). I don't recall if "Upload Using Programmer" wipes the bootloader when using MiniCore, but the correct setting is needed so that the compiler uses the correct memory size and serial port references. Since you are uploading via ISP, I would use the "No Bootloader" option and burn the bootloader to the target board before uploading the sketch (this sets the fuses without actually uploading any bootloader code), since that gives you full use of the flash memory.

Are you certain that the board running the "Arduino as ISP" sketch is connected to COM3?

I see, thank you.
The only way I can connect to the target board is through the ISP port. If I press "burn bootloader" will it go to the programmer board or pass though to my target board?

I tried selecting no bootloader then presses burn bootloader. Got an error message again.

Yes I am certain. Double checked in device manager. I can see it connected.

Also I would like to add. When flashing the atmega328pb board with the Arduino as ISP sketch. I was not using minicore. Selected Arduino nano /atmega328p( old bootloader) and pressed upload. Sketch uploaded fine. I have done 3 of the same boards like this. The issues started when I tried using one of the boards as a programmer. I just tried the minicore option because of something I read online.


"C:\Users\Daniel\AppData\Local\Arduino15\packages\MiniCore\tools\avrdude\7.2-arduino.1/bin/avrdude" "-CC:\Users\Daniel\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\3.0.2/avrdude.conf" -v -patmega328p -cstk500v1 -PCOM3 -b19200 -e -Ulock:w:0xff:m -Uefuse:w:0b11111101:m -Uhfuse:w:0xd7:m -Ulfuse:w:0b11110111:m

avrdude: Version 7.2-arduino.1
         Copyright the AVRDUDE authors;
         see https://github.com/avrdudes/avrdude/blob/main/AUTHORS

         System wide configuration file is C:\Users\Daniel\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\3.0.2\avrdude.conf

         Using Port                    : COM3
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 1 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 2 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 3 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 4 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 5 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 6 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 7 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 8 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 9 of 10: not in sync: resp=0x00
avrdude stk500_recv() error: programmer is not responding
avrdude stk500_getsync() warning: attempt 10 of 10: not in sync: resp=0x00
avrdude main() error: unable to open programmer stk500v1 on port COM3

avrdude done.  Thank you.

Failed chip erase: uploading error: exit status 1

That might be a problem, I'm a bit surprised it would upload correctly. The Arduino as ISP sketch may not be looking at the correct serial port.

Do you know which bootloader is burned onto the atmega328pb?

No, sadly I don't know what it has on it. I think I may scrap all these cheep boards and get some better ones. I am extremely new to this. When I ordered them I naively thought they where all the same.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.