I'm using an Atmega328PB on a pcb converter, to replicate the physical shape of a 328p in a DIP format.
I've uploaded a few different bootloaders, which uploaded fine but I can never get a sketch to upload, at all.
I had a 328p in dip format, so I uploaded a bootloader and a blink sketch. Worked first go.
Went back to the 328pb, varied the bootloader settings, in case that was the problem and now no bootloader will upload.
I'm using an Open Smart AVR ISO Shield with an UNO. I'm using Open Smarts ISP sketch, which is just a variation of the Arduino ISP example. Although I've used both. I've also tried the breadboard way also. Nothing.
As I changed the bootloader several times and for it not to suddenly work, I'm stumped. I'm hoping it is something obvious.
These are the errors, having changed the UART setting, which makes a difference.
Yes UART0
Arduino: 1.8.8 (Windows 10), Board: "ATmega328, Yes (UART0), 328PB, BOD 1.8V, LTO disabled, 8 MHz internal"
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\MAGUIRES\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.0.3/avrdude.conf"
Using Port : COM4
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega328PB
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 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
Reading | ################################################## | 100% 0.06s
avrdude: Device signature = 0xffffff (retrying)
Reading | ################################################## | 100% 0.05s
avrdude: Device signature = 0xffffff (retrying)
Reading | Error while burning bootloader.
################################################## | 100% 0.06s
avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
UART1 PB only
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.05s
avrdude: Device signature = 0xffffff (retrying)
Reading | ################################################## | 100% 0.07s
avrdude: Device signature = 0xffffff (retrying)
Reading | Error while burning bootloader.
################################################## | 100% 0.05s
avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Thank you