Other Parts Discussed in Thread: UNIFLASH
Now, customer want to download the whole image with their main MCU. First, they need generate the image with uniflash.
Illustration:
GW_SPIWIFI_PROJ.bin - customer’s original mcu image file generated by CCS;
Programming.bin - generated from uniflash Gang Programming, it contains the Format Storage Command, the mcuimg.bin and Service Pack.
1. When they choose the Storage Capacity Bytes as 1MB, uniflash can generate the Programming.bin successfully. But the size of Programming.bin is 1MB, it is too large to download with customer’s main MCU(the main MCU just has 600kB~700KB free space to store the Programming.bin). The following pictures are the test results on CC3200launchpad.
2. Due to the flash free space limited, they try to set the Storage Capacity Bytes as 512KB. But there is an error: Total size of files + the Gang image exceeded the storage size.
3. However, they try to send the 512KB Programming.bin (just contains the Format Storage Command and mcuimg.bin) with CLI, and then send the servicepack.bin with uniflash asynchronously. After reset, the CC3200launchpad can execute and run normally.
Step 1:
Step 2:
4. From the above step, we can see that if customer send the mcuimg.bin and service pack separately, there are still 17 blocks free space. But why the mcuimg.bin and servicepack.bin can’t be merged into one file less than 512KB? Is there anyone know how to merge them with the 512KB Storage Capacity Bytes option using uniflash? Thanks.