boards/sltb001a: reset before flashing#11548
Merged
cladmi merged 1 commit intoRIOT-OS:masterfrom May 28, 2019
Merged
Conversation
When it was running 'hello-world', the board could not be flashed through JLinkExe anymore and only through the drag and drop support. By resetting the board before doing 'loadbin' it can now be flashed properly.
19 tasks
jcarrano
approved these changes
May 28, 2019
Contributor
jcarrano
left a comment
There was a problem hiding this comment.
Tested. Fixes the issue.
Contributor
Author
|
CI is green. Lets's go. |
Contributor
Author
|
Thank you for the review. |
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.
Contribution description
When it was running 'hello-world', the board could not be flashed through
JLinkExe anymore and only through the drag and drop support.
By resetting the board before doing 'loadbin' it can now be flashed
properly.
There may be other firmwares too, but
hello-worldshows enough the issues.Testing procedure
Try flashing two or more times
hello-worldWith this pull request it works without issues.
RIOT_CI_BUILD=1 BOARD=sltb001a make --no-print-directory -C examples/hello-world/ flash-onlyWith master after the second time it fails:
****** Error: Timeout while checking target RAM, RAMCode did not respond in time. (PC = 0x00000009, CPSR = 0x00000008, LR = 0x81000000)!Issues/PRs references
Found while running the test suite on the board in #10870