Open
Conversation
When a device have bootloader on flash, user can set a offset that may try erase and/or override the bootloader. Add an exception to abort on any of that conditions. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
The SAM4L SoC have a special flash controller on the whole family. Add CalwFlash controller to allow bossac work with SAM4L SoC family. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This enables SAM4L SoC family support on BOSSA. Note: SAM4L SoC family doesn't have SAM-BA boot rom. User needs compile and set all configuration to allow use any SAM-BA host like BOSSA. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
The SAM4L doesn't have an user interface to access the reset controller. Add Cortex-M4 NVIC reset instructions to allow use of parameter -R. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
galak
added a commit
to galak/sdk-ng
that referenced
this pull request
Oct 8, 2020
Pull in changes from shumatech/BOSSA#143 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
galak
added a commit
to zephyrproject-rtos/sdk-ng
that referenced
this pull request
Oct 9, 2020
Pull in changes from shumatech/BOSSA#143 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
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.
Add FlashOverrideSambaError exception. This is necessary to signal to user that he is trying to erase a region where bootloader is instaled. SAM4L doesn't have ROM bootloader and sam-ba is in flash area
Add SAM4L flashcalw controller
Introduce SAM4L support
Tested with SAM4LC4B
I made an workaround to allow readChipId. I hope discuss a better approach related to that to allow proper SAM4L detection.
https://github.com/shumatech/BOSSA/compare/master...nandojve:bossa/sam4l?expand=1#diff-4bc76381991166f0b7d7a4a0a9116fdeR83-R84