Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:mspflasher [2023/11/09 19:38] – [Install] darron | tools:mspflasher [2023/11/10 13:50] (current) – [Build] darron | ||
---|---|---|---|
Line 19: | Line 19: | ||
First install [[https:// | First install [[https:// | ||
- | ===Fetch=== | + | ===Extract=== |
+ | |||
+ | Extract files. | ||
< | < | ||
Line 27: | Line 29: | ||
tar zxvf ~/ | tar zxvf ~/ | ||
cd Source | cd Source | ||
- | sed -i ' | ||
</ | </ | ||
===Patch=== | ===Patch=== | ||
+ | |||
+ | Apply fixes. | ||
< | < | ||
- | diff -u Support.cpp.orig | + | sed -i ' |
- | --- Support.cpp.orig | + | sed -i 's/-lmsp430/-lmsp430 |
- | +++ Support.cpp 2023-11-09 19: | + | </ |
- | @@ -304,7 +304,7 @@ | + | |
- | } | + | |
- | // get parameter | ||
- | - while ((cOpt = getopt(argc, | ||
- | + while ((cOpt = getopt(argc, | ||
- | { | ||
- | // choose code for determined parameter | ||
- | | ||
- | @@ -761,7 +761,7 @@ | ||
- | } | ||
- | // get additional use case specific parameters | + | ===Install=== |
- | - while ((cOpt | + | |
- | + while ((cOpt | + | |
- | { | + | |
- | | + | |
- | { | + | |
- | </ | + | |
+ | Make the binary and install it. | ||
+ | |||
+ | < | ||
make | make | ||
cp ../ | cp ../ | ||
</ | </ | ||
- | < | ||
- | diff -u StdUseCase.cpp.orig StdUseCase.cpp | ||
- | --- StdUseCase.cpp.orig 2019-05-13 10: | ||
- | +++ StdUseCase.cpp | ||
- | @@ -388,6 +388,10 @@ | ||
- | | ||
- | } | ||
- | |||
- | + // load device database | ||
- | + MSP430_LoadDeviceDb(NULL); | ||
- | + Print_N_Log(STD_MSG," | ||
- | + | ||
- | // set interface speed | ||
- | | ||
- | { | ||
- | </ | ||
- | |||
- | ===Usage=== | ||
- | |||
- | When you run this with parameters it sits in a infinite loop reading | ||
- | the arguments, hence it's useless without fixes. | ||
- | |||
- | Fixes can be found on the TI forum, however, whether it works or | ||
- | not is also dependant upon the firmware version in the target which | ||
- | can be downgraded using an old libmsp430.so and then upgraded | ||
- | with a newer libmsp430.so. | ||
===Resources=== | ===Resources=== | ||
[[https:// | [[https:// | ||
- | + | /* | |
- | [[https:// | + | [[https:// |
+ | */ |