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 Flash Formatting

Other Parts Discussed in Thread: UNIFLASH

Tech Support,

I've noticed that after flashing demos such as the "out_of_box", other applications do not run properly until the flash is reformatted and then reloaded.  What is the reason for this behavior?  Please advise.

Thanks,

Mark

  • HI Mark,

    I have also experienced this issue. I suspect the cause is running out of space on the serial flash. This will not be the case with every example, but with examples that have extra assets like html, png, ccs files etc. Hence why you will experience it will the out_of_box example.

    Glenn
  • Hi Mark,

    As Glenn suggested, most likely it is the flash that gets full and I can explain. Can you elaborate what you mean by "other applications do not run properly"? Is it Uniflash that fails to program them or failing during execution?

    Regarding the flash, you have a total of 1MB flash. The breakdown is roughly: 256KB for Service Pack, 20KB for FAT, 120KB for system files --> 400KB occupied.

    Now, the OOB which is preflashed occupies a lot of space. Please keep in mind that the smallest memory resolution is a block, which is 4KB. So it is not just summing all the files on your local disk but also take into account the 4KB block (i.e. a small 1KB file would actually consume 4KB on the flash). Doing this calculation, you get 132 blocks which is 528KB!

    So all together it is 928KB which leaves very little to additional files.

    Please remember it is a developement board so formatting and starting over is acceptable.

    Regards,

    Shlomi

  • Hi Shlomi, Thanks for the response. What is not is not clear is how do you know when to reformat? It is very time consuming to reformat between every debug session. So what is the criteria for reformatting? Thanks, Mark
  • Hi Mark,

    Life would have been easier if the file system had a listing option but unfortunatelly this is not the case.

    My recommendation is to keep track of your flash content by using the session wisely.

    The session reflects the content on the flash so it can serve as file listing. Of course it is recommended to keep one session per device.

    In any case, it is possible to erase files as well in case you want to make some room (also can be reflected on session).

    Regards,

    Shlomi

  • Hi,

    Did the above post answer your query? please verify the answer.

    Shlomi

  • Hi,

    I am closing the thread, if issue still exist please open a new thread and add a link to this one for reference.

    Shlomi