Skip to content

Add generic support for devices with more than 128KB flash, and atmega2560#159

Merged
WestfW merged 3 commits intoOptiboot:masterfrom
majekw:m2560
Jul 8, 2018
Merged

Add generic support for devices with more than 128KB flash, and atmega2560#159
WestfW merged 3 commits intoOptiboot:masterfrom
majekw:m2560

Conversation

@majekw
Copy link
Copy Markdown
Contributor

@majekw majekw commented Sep 29, 2015

Inside also support for MEGA 2560 - this board I have and I could test - it works fine :-)

It needs Avrdude 6.1 or at least patch from http://savannah.nongnu.org/bugs/?40897 to program correctly.

It adds generic support for devices with more than 128KB flash.
Also MEGA 2560 is included as valid target.

It needs Avrdude 6.1 or at least patch from
http://savannah.nongnu.org/bugs/?40897 for ealier versions.
@majekw majekw mentioned this pull request Sep 29, 2015
@majekw majekw changed the title Add generic support for devices with more than 128KB flash. Add generic support for devices with more than 128KB flash, and atmega2560 Sep 29, 2015
…cc compilers.

Avr-gcc shipped with Arduino below version 1.6.x doesn't define RAMSTART
for Armega2560 and Optiboot incorrectly assumes wrong location.
It led to store new flash values in register's memory space which
caused unexpected chip behaviour and write/verification errors.
Thanks to Matthijs Kooijman for finding this.
@ppisljar
Copy link
Copy Markdown

ppisljar commented Jan 1, 2017

any plan to merge this ?

@matthijskooijman
Copy link
Copy Markdown
Contributor

Note this comment which suggests that this code has seen significant testing already on various boards. AFAIU the sourcecode that goes along with the linked cores is here: https://github.com/MCUdude/optiboot_flash

@WestfW WestfW merged commit ee098cb into Optiboot:master Jul 8, 2018
@majekw majekw deleted the m2560 branch July 17, 2018 15:55
DarkCaster added a commit to DarkCaster/Arduino-Custom-Boards that referenced this pull request Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants