I have a Nano clone with mini USB connector, but it has an ATMEGA328PB processor. It can be programmed as an ATMEGA328P, as it returns the correct signature. (yes, I know, the so-called signature is just embedded in the bootloader loaded by the supplier).
Fine, sez I, but I want to use the second serial port. So I need a '328PB Board def'n; I'll setup Minicore, select the 328PB variant, and away we go.
So in detail,
A) Upload blink with different flash rate to the Nano, to verify our new device can be programmed as received; that works, using the normal, not old, bootloader setting in the IDE; Note, the signature is
avrdude: Device signature = 0x1e950f (probably m328p)
B) Upload blink with different flash rate to the Uno, board Uno, to verify we are programming the Uno; that works;
(both those steps were just precautionary);
C) Upload example "ArduinoISP" to the Uno, preparing for changing the Nano's bootloader;
D) Install Minicore boards manager;
E) Select boards manager "Minicore", board "Atmega328"
F) Select variant 328PB,
G) Verify COM port is correct
H) Unplug the Uno from the PC
I) Wire up the Uno as a programmer(wiring verified, ICSP header to ICSP header, except that pin 5 on the Uno header goes to the Reset pin on the Nano clone
J) Plug the Uno back in
K) Select "burn bootloader"
and we should be good?
But, No. The burn fails as follows:
Using port : COM6
Using programmer : stk500v1
Setting baud rate : 19200
AVR part : ATmega328PB
Programming modes : SPM, ISP, HVPP, debugWIRE
Programmer type : STK500
Description : Atmel STK500 v1
HW Version : 2
FW Version : 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.0 us
XTAL frequency : 7.372800 MHzAVR device initialized and ready to accept instructions
Device signature = 00 00 00 (retrying)
Device signature = 00 00 00 (retrying)
Device signature = 00 00 00
Error: invalid device signature
Error: expected signature for ATmega328PB is 1E 95 16
- double check connections and try again, or use -F to carry on regardless
Avrdude done. Thank you.
Error while burning bootloader.
The real device signature doesn't seem correct; also, that XTAL frequency.
I'm confused. I thought this worked for me, back in March 2025, but I admit to taking no notes; is there a step I've missed, or are these Nano clones truly only usable as Atmega328P Nanos?