MiniCore icon indicating copy to clipboard operation
MiniCore copied to clipboard

ATmega328PB-AU - signature mismatch

Open fenrir-5 opened this issue 7 months ago • 5 comments

Hello all, I'm trying to burn the Arduino bootloader to the ATmega328PB-AU TQFP32 MCU using Arduino as ISP and I get all kinds of avrdude errors. For some reason it worked on few chips but I couldn't upload my sketch via FTDI using the Sparkfun FTDI basic UART board. Here's what I get in the console when I try to burn the bootloader:

` Arduino: 1.8.19 (Linux), Board: "ATmega328, Yes (UART0), EEPROM retained, 328PB, BOD 2.7V, LTO disabled, External 16 MHz"

/home/fenrir/.arduino15/packages/MiniCore/tools/avrdude/7.2-arduino.1/bin/avrdude -C/home/fenrir/.arduino15/packages/MiniCore/hardware/avr/3.0.0/avrdude.conf -v -patmega328pb -cstk500v1 -P/dev/ttyACM0 -b19200 -e -Ulock:w:0xff:m -Uefuse:w:0b11110101:m -Uhfuse:w:0xd7:m -Ulfuse:w:0b11111111: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 /home/fenrir/.arduino15/packages/MiniCore/hardware/avr/3.0.0/avrdude.conf
     User configuration file is /home/fenrir/.avrduderc
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyACM0
     Using Programmer              : stk500v1
     Overriding Baud Rate          : 19200
     AVR Part                      : ATmega328PB
     Chip Erase delay              : 10500 us
     PAGEL                         : PD7
     BS2                           : PC2
     RESET disposition             : possible i/o
     RETRY pulse                   : SCK
     Serial program mode           : yes
     Parallel program mode         : yes
     Timeout                       : 200
     StabDelay                     : 100
     CmdexeDelay                   : 25
     SyncLoops                     : 32
     PollIndex                     : 3
     PollValue                     : 0x53
     Memory Detail                 :

                                       Block Poll               Page                       Polled
       Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom                 65    20     4    0 no       1024    4      0  3600  3600 0x00 0x00
       flash                  65    10   128    0 yes     32768  128    256  4500  4500 0x00 0x00
       lfuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
       hfuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
       efuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
       lock                    0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
       signature               0     0     0    0 no          3    1      0     0     0 0x00 0x00
       calibration             0     0     0    0 no          1    1      0     0     0 0x00 0x00

     Programmer Type : STK500
     Description     : Atmel STK500 version 1.x firmware
     Hardware Version: 2
     Firmware Version: 1.18
     Topcard         : Unknown
     Vtarget         : 0.0 V
     Varef           : 0.0 V
     Oscillator      : Off
     SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions avrdude: device signature = 0x0000ff avrdude main() error: expected signature for ATmega328PB is 1E 95 16 double check chip or use -F to override this check

avrdude done. Thank you.

Error while burning bootloader.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. ` Any idea how can I make it work? Thank you!

fenrir-5 avatar Nov 29 '23 20:11 fenrir-5