SWAS034B February 2017 – July 2024 CC3120
PRODUCTION DATA
The CC3120R device maintains a proprietary file system on the serial flash. The CC3120R file system stores the service pack file, system files, configuration files, certificate files, web page files, and user files. By using a format command through the API, users can provide the total size allocated for the file system. The starting address of the file system cannot be set and is always at the beginning of the serial flash. The applications microcontroller must access the serial flash memory area allocated to the file system directly through the CC3120R file system. The applications microcontroller must not access the serial flash memory area directly.
The file system manages the allocation of serial flash blocks for stored files according to download order, which means that the location of a specific file is not fixed in all systems. Files are stored on serial flash using human-readable filenames rather than file IDs. The file system API works using plain text, and file encryption and decryption is invisible to the user. Encrypted files can be accessed only through the file system.
All file types can have a maximum of 100 supported files in the file system. All files are stored in 4-KB blocks and thus use a minimum of 4KB of Flash space. Fail-safe files require twice the original size and use a minimum of 8KB. Encrypted files are counted as fail-safe in terms of space. The maximum file size is 1MB.
Table 8-2 lists the minimum required memory consumption under the following assumptions:
ITEM | CC3120 [KB] |
---|---|
File system allocation table | 20 |
System and configuration files | 256 |
Service Pack | 264 |
Gang image size | 256 |
Total | 796 |
Minimal Flash size | 8MBit |
Recommended Flash size | 16MBit |
The maximum supported serial flash size is 32MB (256Mb). See the Using Serial Flash on CC3120/CC3220 SimpleLink™ Wi-Fi® and Internet-of-Things Devices application report.