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.

CC3100 - factory reset

Other Parts Discussed in Thread: CC3100, UNIFLASH

Hi,
I want my CC3100 back to its original state.
I presume I should flash servicepack.bin file, using the UniFlash (currently I have servicepack_1.0.0.1.2.bin).
I saw similar threads (http://e2e.ti.com/support/wireless_connectivity/f/968/t/377920.aspx), talking about changing the FW application - but they weren't clear about "factory reset".

Explanation:
I've been playing with the chip I have, adding profiles, changing the AP SSID, connecting as STA, later on I'll probably flash data to the internal flash, etc.
My code works, and will work on this 'dirty' chip, but may fail on 'clean' chips, during production.

So I need to know if re-flashing the bin file ("Service Pack Update" from UniFlash) will do the job, or I need some other operation, like "Format"?
I've read the UniFlash Wiki, but it wasn't clear enough.

Thanks

  • Hi,

    There is no "magic" button for factory default and it is up to the user to define what factory reset includes.

    What I can suggest is that flashing the Service Pack is not enough as all the data would still remain on SFLASH.

    What you need to do if you want to start clean is to Format the device and then flash Service Pack. Other user files or configuration files are up to you.

    Shlomi

  • Hi - thanks for the quick reply.

    I think I need to understand the terminology better:
    1. SFLASH is the serial flash? So the FW doesn't reside there... Any TI data there? Default web pages, etc.?
    2. Does the FW reside in the host ST micro-controller flash within the CC3100, if memory serves...?
    3. So what does the UniFlash "Format" operation do? Clean what flash?

    I'm not using the SFLASH as a DB/file-system for my data.
    The only configuration I'm doing is via non-sflash API (E.G. sl_WlanSet(SSID), etc.) and via default web-server (profiles).
    Where is that data stored? How can I wipe it clean?

    Thanks

  • Hi,

    Please see inline.

    1. SFLASH is the serial flash? So the FW doesn't reside there... Any TI data there? Default web pages, etc.?

    [SI] SFLASH is the serial flash. The FW is running in ROM (for the ROM devices), however, when bugs are revealed and need to be fixed, the fix is applied using patches that are loaded and executed in the device SRAM. These set of patches is the Service Pack. The Service Pack is stored on SFALSH and loaded to RAM upon initialization. No additional TI data is stored on SFLASH by default. However, there may be additional data depending on what API you invoke (e.g. as a result of adding profiles, wlan_set, etc)
    2. Does the FW reside in the host ST micro-controller flash within the CC3100, if memory serves...?

    [SI] FW resides in ROM.
    3. So what does the UniFlash "Format" operation do? Clean what flash?

    [SI] "Format" creates the FAT on the SFLASH. Since it erases the previous FAT (if exists), then virtually you can say that it cleans the SFLASH.

    I'm not using the SFLASH as a DB/file-system for my data.
    The only configuration I'm doing is via non-sflash API (E.G. sl_WlanSet(SSID), etc.) and via default web-server (profiles).
    Where is that data stored? How can I wipe it clean?

    [SI] any API you invoke may result in storing of data. The data is stored on the SFLASH. You can wipe it out with "Format" only (actually you can also erase a specific file if you know its name using Uniflash).

    Shlomi