TMS570LC43xx: README updates

pull/129/head
Elms 2021-05-25 07:41:39 -07:00 committed by Daniele Lacamera
parent b15a9a5b14
commit f67fbbf273
1 changed files with 19 additions and 8 deletions

View File

@ -1,17 +1,23 @@
# TMS750LC43xx
#Build
# build from command line
```
make CCS_ROOT=/c/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS F021_DIR=/c/ti/Hercules/F021\ Flash\ API/02.01.01
```
## Build using Code Composer Studio (CCS)
Create key or copy to direcotry `IDE/CCS/TMS570LC43xx/` if you already have one.
```
make -C ./tools/keytools
./tools/keytools/keygen.exe IDE/CCS/TMS570LC43xx/ed25519_pub_key.c
./tools/keytools/keygen.exe --ecc256 src/ecc256_pub_key.c
```
## build
```
make CCS_ROOT=/c/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS F021_DIR=/c/ti/Hercules/F021\ Flash\ API/02.01.01
```
Use IDE to build and load wolfBoot bootloader
## Full flash
@ -22,7 +28,6 @@ c:\ti\ccs1031\ccs\ccs_base\scripting\examples\uniflash\cmdLine\uniflash.bat -ccx
```
```
***** Texas Instruments Universal Flash Programmer *****
<START: 12:45:03 GMT-0700 (PDT)>
@ -49,7 +54,13 @@ CortexR5: Writing Flash @ Address 0x00000000 of Length 0x00007ff0
### Only erase necessary sectors
```
c:\ti\ccs1031\ccs\ccs_base\scripting\examples\uniflash\cmdLine\uniflash.bat -ccxml "..\temp-flash\flashHercules.ccxml" -setOptions FlashEraseSelection="Necessary Sectors Only (for Program Load)" -programBin factory.bin 0
c:\ti\ccs1031\ccs\ccs_base\scripting\examples\uniflash\cmdLine\uniflash.bat -ccxml "IDE\CCS\TMS570LC43xx\flashHercules.ccxml" -setOptions FlashEraseSelection="Necessary Sectors Only (for Program Load)" -programBin factory.bin 0
```
### Just update image
```
c:\ti\ccs1031\ccs\ccs_base\scripting\examples\uniflash\cmdLine\uniflash.bat -ccxml "IDE\CCS\TMS570LC43xx\flashHercules.ccxml" -setOptions FlashEraseSelection="Necessary Sectors Only (for Program Load)" -programBin test-app/image_v1_signed.bin 0x20000
```
[dss reference](http://software-dl.ti.com/ccs/esd/documents/users_guide/sdto_dss_handbook.html)