This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200-LAUNCHXL: OTA Stores Garbage File and Fails to launch image after downloading image from Dropbox

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200, UNIFLASH

So I am running the OTA example from the SDK and have been following the "CC3200 Over-The-Air (OTA) Update Application Note.pdf".

I encounter a problem whereby instead of storing the downloaded image as /sys/mcuimg2.bin as I would expect from the documentation, it downloads a file and stores it with a random string of characters. After formatting + updating the service pack, then uploading secondary bootloader + mcuimg1.bin, then power cycling I run the application. The application successfully connects to WiFi, downloads an image from the Dropbox app that I created and then reboots. However, instead up running the new image, it fails to load the new image and rolls back to the original.

I am certain that it downloads something as I see a log on the dropbox that increments the download file success counter and a file does appear on the flash. Here is the output when I go to uni-flash and press List File System (note the garbage values in bold at the end):

[01:24:33] INFO: file start size fail total size filename
[01:24:33] INFO: index block [BLKs] safe [BLKs]
[01:24:33] INFO: ----------------------------------------------------------------------------
[01:24:33] INFO: N/A 0 5 N/A 5 FATFS
[01:24:33] INFO: 0 81 4 no 4 /sys/mcuimg.bin
[01:24:33] INFO: 4 5 5 yes 10 /tmp/phy.cal
[01:24:33] INFO: 6 15 33 yes 66 /sys/servicepack.ucf
[01:24:33] INFO: 7 85 20 no 20 /sys/mcuimg1.bin
[01:24:33] INFO: 8 105 1 yes 2 /sys/mcubootinfo.bin
[01:24:33] INFO: 9 107 1 yes 2 /sys/stacfg.ini
[01:24:33] INFO: 10 109 2 yes 4 /sys/pref.net
[01:24:33] INFO: 11 113 1 yes 2 /sys/ipcfg.ini
[01:24:33] INFO: 12 115 1 yes 2 /sys/mode.cfg
[01:24:33] INFO: 13 117 1 yes 2 /sys/pmcfg.ini
[01:24:33] INFO: 14 119 1 yes 2 /sys/mdns.cfg
[01:24:33] INFO: 15 121 1 yes 2 /tmp/table.arp
[01:24:33] INFO: 16 123 1 no 1 /sys/otastat.txt
[01:24:33] INFO: 17 124 20 yes 40 l88humvxursxarmvhdwclx5eh8grzxylflspfdv52m8zuqrqhw


For reference I have created an app on Dropbox, I am using the fourth digit of the NWP version which is zero as the basis of my folder named Vid01_Pid00_Ver0000 and attached below is my output from TeraTerm... after Pressing SW3 is will download the image go into reboot... but then it rolls back to 1.0.0 although I definitely stored 1.0.1 on the Dropbox as per the .pdf instructions.

Can you please assist me?

Best,

Scott