Add generic support for devices with more than 128KB flash, and atmega2560#159
Merged
WestfW merged 3 commits intoOptiboot:masterfrom Jul 8, 2018
Merged
Add generic support for devices with more than 128KB flash, and atmega2560#159WestfW merged 3 commits intoOptiboot:masterfrom
WestfW merged 3 commits intoOptiboot:masterfrom
Conversation
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.
Closed
…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.
|
any plan to merge this ? |
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 |
DarkCaster
added a commit
to DarkCaster/Arduino-Custom-Boards
that referenced
this pull request
Aug 21, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.