Closed MarosMacko closed 6 years ago
It looks like you are using an older IDE and that you have installed a new core + toolchain. In this case you have to update/replace the files in the user directory:"C:\Users\Notebook\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\
Or you can also use the current IDE v1.8.3, which includes the latest toolchain.
I am using the v1.8.3 :) So did I actually harm something by installing the toolchain manually? I haven't seen "do not install toolchain if you have IDE vx.x.x or above" anywhere...
If you use v1.8.3 then the AVR Boards v1.6.19 (with the new toolchain) cannot be installed or uninstalled, because they are bundled with the IDE.
I am talking about installing the Atmega328pb toolchain (sorry if I have chosen my words poorly...) When I am using 328p-pu, everything is compiled OK, but I cannot upload 328p-pu program on PB without modifying the checksum etc...
Edit: I also tried "Atmel atmega328pb Xplained mini" board, sketch compiled just fine, but seems that the Xplained mini board with PB is either badly programmed in IDE or using another (HW?) trick, because I got the error that the compiler expected Atmega328p...
avrdude: Device signature = 0x1e9516
avrdude: Expected signature for ATmega328P is 1E 95 0F
Double check chip, or use -F to override this check.
There is no special ATmega328PB toolchain and the current Arduino toolchain does not include the files/definitions for the ATmega328PB.
If you want to upload a 328P program to a 328PB, then you can modify the AVRdude configuration (avrdude.conf) and change the signature.
I would recommend to start with a clean installation of the Arduino IDE and remove the packages/directories under C:\Users\Notebook\AppData\Local\Arduino15\packages\arduino\
.
Then the installation steps will work as long as no other "AVR Boards" package is installed via the Boards Manager.
Well, what is your software if not 328pb toolchain? :)
I will re-install IDE and delete the folder as you've said and give it a go on a clean IDE :)
Well, here I am again, deleted the folder and re-installed the Arduino IDE, still got the same problem...
Pleased post the log messages from the compiler.
The next Arduino AVR toolchain will have support for the ATmega328PB: https://github.com/arduino/toolchain-avr/pull/47
Hi, just installed fresh watterott files for the 328pb (got my own board with 328pb), every step in the manual was done in order and I am getting these errors. I am using USBasp as a programmer, bootloader was burnt fine (no errors).
Full upload message: