Menu

mega328pb

wn
2017-12-09
2017-12-09
  • wn

    wn - 2017-12-09

    I think gc is a great compiler! I just started using it a couple of days ago. I really could use some help setting up a DAT file for the atmega328pb. As this is a derivative of the 328p I hope it will be fairly straight forward. Any suggestions would be great!

    thanks.

     
    • Anobium

      Anobium - 2017-12-09

      Welcome.

      We support mega328p and mega328. As master of the dat file hacking the dat files is not recommended.

      What are the differrences between the mega328p/mega328 and the mega328pb? We could add to the set if we have a realiable data source for the information and someone to test the mega328pb. :-) There could be huge differences hence my asking.

       
  • William Roth

    William Roth - 2017-12-09
     
    • Anobium

      Anobium - 2017-12-09

      The differences are not too many.

      For the time being - but, support for this is going to very limited.
      Take the mega328p and rename and mega328pb - this will at least get you running.
      If the memory is the same - excellent.
      You will be missing PortE and the other little features.

      But, does the rename option get you running?

       

      Last edit: Anobium 2017-12-09
      • wn

        wn - 2017-12-09

        They are so close that I have been running with 328p as fhe chip. I only really need PORTE for the additional I/O. Is that doable? I have attached the inc file from atmel. Thanks for the quick replies!

         
        • wn

          wn - 2017-12-09

          I read in the online docs that you could preprocess an inc file. I cannot find the files mentioned in the docs. Is that still possible to do?

           
          • wn

            wn - 2017-12-09

            I was able to get PORTE working by modifying the DAT file per the INC file.

             
            • Anobium

              Anobium - 2017-12-09

              Then, you are OK.

              Good luck.

               

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.