Closed DomoticX closed 2 years ago
Never mind, it seems the fuse settings where not set properly (needed to restart ArduinoIDE), if you use the same as 328P it will be fine and works! ;-)
Example in ArduinoIDE boards.txt atmega328pbccCAN.bootloader.low_fuses=0xFF atmega328pbccCAN.bootloader.high_fuses=0xD8 atmega328pbccCAN.bootloader.extended_fuses=0xFC
Hi, i was wondering what changes are needed to support the ATMEGA 328PB?
When uploading the 328P bootloader to a 328PB chip it doesn't seem to work...
i checked the pinout, the 328P is almost the same as 328PB, and these values in controller.h are correct also for 328PB
define IV_REG MCUCR
define SPI_DDR DDRB
define SPI_PORT PORTB
define SPI_SS 2
define SPI_MOSI 3
define SPI_MISO 4
define SPI_SCK 5
Do i need to alter some values? or have i overlooked it?