SWRU558 June 2020 CC3100 , CC3100MOD , CC3200 , CC3200MOD
The following code illustrates a common production line operation of format → service pack update → program.
>>uniflashCLI.bat -config "c:\ti\uniflash_3.2\sessions\http_server\httpserver.usf" -setOptions com=5 spPath="C:\ti\CC31xx_CC32xx_ServicePack_1.0.0.10.0\servicepack_1.0.0.10.0.bin" -operations format servicePackUpdate program
***** Texas Instruments Universal Flash Programmer *****
> Configuring UniFlash with the following configuration: c:/ti/uniflash_3.2 /sessions/http_server/html/httpserver.usf
> Device: CC31x Flash Devices
> Interface: CC31x Flash Connections
> Template XML: C:\ti\uniflash_3.2 \sessions\http_server\httpserver_session\templates\CC3xxx_template.xml
> Token XML: C:\ti\uniflash_3.2 \sessions\http_server\httpserver_session\templates\CC3xxx_token.xml
> User setting [com]: 5
> User setting [spPath]: C:/ti/CC31xx_CC32xx_ServicePack_1.0.0.10.0/servicepack_1.0.0.10.0.bin
> Executing operation: format
> Relevant settings:
Capacity: 1MB
INFO: > Executing Operation: Connect
INFO: setting break signal
INFO: detecting FTDI for device reset
INFO: connection succeeded
INFO: getting storage list
INFO: > Executing Operation: Init
INFO: reading version info
INFO: DEVICE CC3100 ES1.33
INFO: reading version info
Progress (SRAM): 16%
Progress (SRAM): 24%
Progress (SRAM): 41%
Progress (SRAM): 57%
Progress (SRAM): 65%
Progress (SRAM): 82%
Progress (SRAM): 98%
Progress (SRAM): 100%
INFO: > Executing Operation: Format
INFO: Erase storage SFLASH
INFO: erase storage succeeded
INFO: erase storage completed
> Finish Executing operation: format
> Executing operation: servicePackUpdate
> Relevant settings:
Serivce Pack File: C:/ti/CC31xx_CC32xx_ServicePack_1.0.0.10.0/servicepack_1.0.0.10.0.bin
INFO: > Executing Operation: ServicePackProgramming
INFO: Path to the service pack file: C:/ti/CC31xx_CC32xx_ServicePack_1.0.0.10.0/servicepack_1.0.0.10.0.bin
INFO: reading version info
INFO: CC3100R Device detected.
INFO: NWP/MAC/PHY Version from Service Pack:
INFO: NWP Patch version: 2.4.0.2
INFO: MAC Patch version: 1.3.0.1
INFO: PHY Patch version: 1.0.3.34
INFO: Downloading file "/sys/servicepack.ucf" with size 10100
Progress (/sys/servicepack.ucf): 40%
Progress (/sys/servicepack.ucf): 81%
Progress (/sys/servicepack.ucf): 100%
INFO:
New Token is 0x2B4874A0
INFO: Download complete
> Finish Executing operation: servicePackProgramming
> Executing operation: program
INFO: > Executing Operation: Program
INFO: > File name: /sys/mcuimg.bin, Update: true, Erase: true
INFO: > Erase File: /sys/mcuimg.bin
INFO: erasing file "/sys/mcuimg.bin"
INFO: deleting file "/sys/mcuimg.bin"
INFO: erase file completed
INFO: > Size of file = 37020
INFO: > Update File: /sys/mcuimg.bin
INFO: Downloading file "/sys/mcuimg.bin" with size 37020
Progress (/sys/mcuimg.bin): 11%
Progress (/sys/mcuimg.bin): 22%
Progress (/sys/mcuimg.bin): 33%
Progress (/sys/mcuimg.bin): 44%
Progress (/sys/mcuimg.bin): 55%
Progress (/sys/mcuimg.bin): 66%
Progress (/sys/mcuimg.bin): 77%
Progress (/sys/mcuimg.bin): 88%
Progress (/sys/mcuimg.bin): 99%
Progress (/sys/mcuimg.bin): 100%
INFO:
New Token is 0x0
INFO: Download complete
INFO: Verifying Data...
INFO: get file
Progress (/sys/mcuimg.bin): 11%
Progress (/sys/mcuimg.bin): 22%
Progress (/sys/mcuimg.bin): 33%
Progress (/sys/mcuimg.bin): 44%
Progress (/sys/mcuimg.bin): 55%
Progress (/sys/mcuimg.bin): 66%
Progress (/sys/mcuimg.bin): 77%
Progress (/sys/mcuimg.bin): 88%
Progress (/sys/mcuimg.bin): 99%
Progress (/sys/mcuimg.bin): 100%
INFO: Done. Reading 37020 bytes
INFO:
Verification OK
INFO: > Updated Token value: 0x0
INFO: > File name: /cert/ca.pem, Update: false, Erase: false
INFO: > File name: /cert/client.pem, Update: false, Erase: false
INFO: > File name: /cert/private.key, Update: false, Erase: false
INFO: > File name: /sys/macadd.bin, Update: true, Erase: false
INFO: > Size of file = 6
INFO: > Update File: /sys/macadd.bin
INFO: Downloading file "/sys/macadd.bin" with size 6
Progress (/sys/macadd.bin): 100%
INFO:
New Token is 0x0
INFO: Download complete
INFO: Verifying Data...
INFO: get file
Progress (/sys/macadd.bin): 100%
INFO: Done. Reading 6 bytes
INFO:
Verification OK
INFO: > Updated Token value: 0x0
INFO: > File name: /sys/mode.cfg, Update: true, Erase: false
INFO: > Size of file = 80
INFO: > Update File: /sys/mode.cfg
INFO: Downloading file "/sys/mode.cfg" with size 80
Progress (/sys/mode.cfg): 100%
INFO:
New Token is 0x0
INFO: Download complete
INFO: Verifying Data...
INFO: get file
Progress (/sys/mode.cfg): 100%
INFO: Done. Reading 80 bytes
INFO:
Verification OK
INFO: > Updated Token value: 0x0
INFO: > File name: /sys/ipcfg.ini, Update: true, Erase: false
INFO: > Size of file = 200
INFO: > Update File: /sys/ipcfg.ini
INFO: Downloading file "/sys/ipcfg.ini" with size 200
Progress (/sys/ipcfg.ini): 100%
INFO:
New Token is 0x0
INFO: Download complete
INFO: Verifying Data...
INFO: get file
Progress (/sys/ipcfg.ini): 100%
INFO: Done. Reading 200 bytes
INFO:
Verification OK
INFO: > Updated Token value: 0x0
INFO: > File name: /sys/ap.cfg, Update: false, Erase: false
INFO: > File name: /sys/devname.cfg, Update: false, Erase: false
INFO: > File name: /sys/mdns.cfg, Update: false, Erase: false
INFO: > File name: /sys/dhcpsrv.cfg, Update: false, Erase: false
INFO: > File name: /sys/httpsrv.cfg, Update: false, Erase: false
INFO: > File name: /sys/pref.net, Update: false, Erase: false
INFO: > File name: /sys/smartconfigkeys.cfg, Update: false, Erase: false
INFO: > File name: /sys/stacfg.ini, Update: true, Erase: false
INFO: > Size of file = 104
INFO: > Update File: /sys/stacfg.ini
INFO: Downloading file "/sys/stacfg.ini" with size 104
Progress (/sys/stacfg.ini): 100%
INFO:
New Token is 0x0
INFO: Download complete
INFO: Verifying Data...
INFO: get file
Progress (/sys/stacfg.ini): 100%
INFO: Done. Reading 104 bytes
INFO:
Verification OK
INFO: > Updated Token value: 0x0
INFO: > File name: /sys/p2p.cfg, Update: false, Erase: false
INFO: > File name: /sys/pmcfg.ini, Update: true, Erase: false
INFO: > Size of file = 10
INFO: > Update File: /sys/pmcfg.ini
INFO: Downloading file "/sys/pmcfg.ini" with size 10
Progress (/sys/pmcfg.ini): 100%
INFO:
New Token is 0x0
INFO: Download complete
INFO: Verifying Data...
INFO: get file
Progress (/sys/pmcfg.ini): 100%
INFO: Done. Reading 10 bytes
INFO:
Verification OK
INFO: > Updated Token value: 0x0
INFO: > File name: www/main.html, Update: true, Erase: true
INFO: > Erase File: www/main.html
INFO: erasing file "www/main.html"
INFO: deleting file "www/main.html"
INFO: erase file completed
INFO: > Size of file = 2714
INFO: > Update File: www/main.html
INFO: Downloading file "www/main.html" with size 2714
Progress (www/main.html): 100%
INFO:
New Token is 0x0
INFO: Download complete
INFO: Verifying Data...
INFO: get file
Progress (www/main.html): 100%
INFO: Done. Reading 2714 bytes
INFO:
Verification OK
INFO: > Updated Token value: 0x0
INFO: > File name: www/led_demo.html, Update: true, Erase: true
INFO: > Erase File: www/led_demo.html
INFO: erasing file "www/led_demo.html"
INFO: deleting file "www/led_demo.html"
INFO: erase file completed
INFO: > Size of file = 2573
INFO: > Update File: www/led_demo.html
INFO: Downloading file "www/led_demo.html" with size 2573
Progress (www/led_demo.html): 100%
INFO:
New Token is 0x0
INFO: Download complete
INFO: Verifying Data...
INFO: get file
Progress (www/led_demo.html): 100%
INFO: Done. Reading 2573 bytes
INFO:
Verification OK
INFO: > Updated Token value: 0x0
INFO: > File name: www/images/demo-lightswitch.jpg, Update: true, Erase: true
INFO: > Erase File: www/images/demo-lightswitch.jpg
INFO: erasing file "www/images/demo-lightswitch.jpg"
INFO: deleting file "www/images/demo-lightswitch.jpg"
INFO: erase file completed
INFO: > Size of file = 2404
INFO: > Update File: www/images/demo-lightswitch.jpg
INFO: Downloading file "www/images/demo-lightswitch.jpg" with size 2404
Progress (www/images/demo-lightswitch.jpg): 100%
INFO:
New Token is 0x0
INFO: Download complete
INFO: Verifying Data...
INFO: get file
Progress (www/images/demo-lightswitch.jpg): 100%
INFO: Done. Reading 2404 bytes
INFO:
Verification OK
INFO: > Updated Token value: 0x0
> Finish Executing operation: program
INFO: > Executing Operation: Disconnect
<End of command>