GithubHelp home page GithubHelp logo

Comments (9)

awatterott avatar awatterott commented on July 24, 2024

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.

from atmega328pb-testing.

MarosMacko avatar MarosMacko commented on July 24, 2024

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...

from atmega328pb-testing.

awatterott avatar awatterott commented on July 24, 2024

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.

from atmega328pb-testing.

MarosMacko avatar MarosMacko commented on July 24, 2024

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.

from atmega328pb-testing.

awatterott avatar awatterott commented on July 24, 2024

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.

from atmega328pb-testing.

MarosMacko avatar MarosMacko commented on July 24, 2024

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 :)

from atmega328pb-testing.

MarosMacko avatar MarosMacko commented on July 24, 2024

Well, here I am again, deleted the folder and re-installed the Arduino IDE, still got the same problem...

from atmega328pb-testing.

awatterott avatar awatterott commented on July 24, 2024

Pleased post the log messages from the compiler.

from atmega328pb-testing.

awatterott avatar awatterott commented on July 24, 2024

The next Arduino AVR toolchain will have support for the ATmega328PB:
arduino/toolchain-avr#47

from atmega328pb-testing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.