makefiles/tools/uniflash.inc.mk: add a common configuration for using UniFlash#11198
Merged
smlng merged 5 commits intoRIOT-OS:masterfrom Mar 18, 2019
Merged
makefiles/tools/uniflash.inc.mk: add a common configuration for using UniFlash#11198smlng merged 5 commits intoRIOT-OS:masterfrom
smlng merged 5 commits intoRIOT-OS:masterfrom
Conversation
Make it more similar to cc2650-launchpad
Put the uniflash flasher in common.
The content is exactly the same.
In UniFlash 4.4.0 the directory where 'xds110reset' is changed. Try to use the newest one available. If none is found in UNIFLASH_PATH, try to use one from the PATH to be sure to have a value. ./uniflash_4.1/simplelink/gen2/bin/xds110reset ./uniflash_4.3.0/simplelink/gen2/bin/xds110reset ./uniflash_4.4.0/simplelink/imagecreator/bin/xds110reset ./uniflash_4.5.0/simplelink/imagecreator/bin/xds110reset
Update to use FLASHFILE as file to be flashed on the board.
Contributor
Author
|
I can remove all the |
49 tasks
smlng
suggested changes
Mar 16, 2019
Member
smlng
left a comment
There was a problem hiding this comment.
looks very good, nice consolidation ... however I want to test this with the 2650stk too
Contributor
|
I tested on the cc2650-launchpad and it is good. Do we have access to the 2650stk? |
smlng
approved these changes
Mar 18, 2019
Member
smlng
left a comment
There was a problem hiding this comment.
works with cc2650stk and uniflash 4.1, too
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
This pull request:
UniFlashversion >= 4.4.0 that had a different reset directory. In case it is not found, I used 'xds110reset' to be sure to have a value.I tested with
cc2650-launchpadwith the versions:The version
uniflash.4.0.986.rundid not work, even on master, as there is noxds110resetTesting procedure
Refactoring
An easier task without board could be to review commit by commit too.
The 3 first commits are only putting in common and can easily be checked by comparing the files.
The same for the
FLASHFILEone.Testing the reset handling
Either you review the code handling, or you test each versions (guess what I did…)
Detect the new path for reset
http://downloads.ti.com/ccs/esd/uniflash/uniflash_sl.4.4.0.2009.run?tracked=1
Detect the old path for reset (same as in master)
http://downloads.ti.com/ccs/esd/uniflash/uniflash_sl.4.3.0.1802.run?tracked=1
Detect the backup to
xds110resetwith this versionhttp://downloads.ti.com/ccs/esd/uniflash/uniflash.4.0.986.run?tracked=1
Flashing still works:
Note
On my machine and the tested version,
DEBUGSERVERfile does not exist and was not working in master. I did not update this part yet.Issues/PRs references
Part of #8838
Running the tests on
cc2560-launchpadboard given by @MrKevinWeiss for #10870