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.

CC3220SF-LAUNCHXL: Writing single files into flash image

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

Hi,

For the CC3200, all of our flash parts were pre-programmed with our image and during production I was able to write our unique files into the image via uniflash_3.4's CLI.

Now we are moving to the CC3220SF and I am not able to do the same thing with uniflash 4.2.  The original image gets overwritten with the new files.

Is there a way to do this with uniflash 4.2 or some other method?  Right now our only option is to create the entire image at the factory.

Thanks

Kevin

  • HI Kevin,

    Yes, there is a fundamental difference in programming between CC3200 and CC3220. You will need to program the entire production image at once. This is to ensure the security of the device. If you really cant do everything at once, then you will have to have an extra step which uses another interface to get the data after the initial programming. For instance you could use the same UART interface to send data to the device, but now the device has to "willingly" accept it via a MCU program subroutine, etc.

    -Aaron
  • Sorry for the delay in responding,

    I don't fully understand the extra step that you mention above and saying the device has to "willingly" accept the data?  Are you saying copy the image off the device and then insert my new data into image  and reprogram?

    Thanks,

    Kevin

  • Hi Kevin,

    Feature which you do at CC3200 is not available at CC3220. You may to write your unique files by the filesystem API from your firmware.

    Uniflash CLI allows to change files in prepared image, but at end whole image is created and uploaded into device. Previous image in device is cleared during upload.

    Jan
  • Kevin -
    Would secure content delivery be an option for you?
    www.ti.com/.../swra509a.pdf
    see page 23
    not quite the same, but would give you the ability to do what you describe