I have implemented reading the inactive filesystem slot in the cc3200tool v1.2.2. Beware, this may produce garbish, as the active filesystem may already write onto it.
https://github.com/toniebox-reverse-engineering/cc3200tool/releases
Dump all files
cc3200tool -if youdump.bin list_filesystem --inactive
cc3200tool -if youdump.bin read_all_files mydump/ --inactive
This way you can dump all the files of the flash into a readable form. This may also dump internal files of the cc3200, like the servicepack.
Those technical files are dump with 0 length or missing completely if done via UART.
As an alternative, you may try dumping them with binwalk
binwalk --dd='.*' youdump.bin
Test the certificates
Please be sure, that your certificates are OK. The ca.der
is the same on all boxes, the client.der
and private.der
are individual for each box.
copy the files to the certs/client/ directory of teddyCloud, enable the Cloud + the time API in the configuration on the webinterface and open “/v1/time” and check if you get a unix timestamp back + check the logs if the request was made to the cloud.
Delete special files
Please delete
cd mydump/
rm sys/servicepack.ucf # cannot be flashed this way
rm sys/pref.net # the box will boot, but without the jingle and blink red.
cd ..
Rebuild flash
Please download the service pack from TI https://www.ti.com/tool/download/CC3200SDK/1.4.0 to download the servicepack.
cc3200tool format_flash -s 4M
cc3200tool write_file --signature ota_1.0.1.13-2.11.0.1.ucf.signed.bin ota_1.0.1.13-2.11.0.1.ucf /sys/servicepack.ucf # Download from TI
cc3200tool write_all_files mydump/
You may now try to boot your box again.