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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
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.
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.
Differences
http://www.atmel.com/Images/Atmel-42559-Differences-between-ATmega328P-and-ATmega328PB_ApplicationNote_AT15007.pdf
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
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!
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?
I was able to get PORTE working by modifying the DAT file per the INC file.
Then, you are OK.
Good luck.