English
Language : 

CC3120 Datasheet, PDF (38/57 Pages) Texas Instruments – SimpleLink Wi-Fi Wireless Network Processor Internet-of-Things Solution for MCU Applications
CC3120
SWAS034 – FEBRUARY 2017
www.ti.com
5.6 Memory
5.6.1 External Memory Requirements
The CC3120R device maintains a proprietary file system on the sFLASH. 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 sFLASH. The
applications microcontroller must access the sFLASH memory area allocated to the file system directly
through the CC3120R file system. The applications microcontroller must not access the sFLASH memory
area directly.
The file system manages the allocation of sFLASH 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 sFLASH
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 5-2 lists the minimum required memory consumption under the following assumptions:
• System files in use consume 64 blocks (256KB).
• Vendor files are not taken into account.
• Gang image:
– Storage for the gang image is rounded up to 32 blocks (meaning 128-KB resolution).
– Gang image size depends on the actual content size of all components. Additionally, the image
should be 128-KB aligned so unaligned memory is considered lost. Service pack, system files, and
the 128-KB aligned memory are assumed to occupy 256KB.
• All calculations consider that the restore-to-default is enabled.
space
Table 5-2. Title
ITEM
File system allocation table
System and configuration files
Service Pack
Gang image size
Total
Minimal flash size
Recommended flash size
CC3120 [KB]
20
256
264
256
796
8MBit
16MBit
NOTE
The maximum supported sFLASH size is 32MB (256Mb). Please refer to Using Serial Flash
on CC3120/CC3220 SimpleLink™ Wi-Fi® and Internet-of-Things Devices.
38
Detailed Description
Submit Documentation Feedback
Product Folder Links: CC3120
Copyright © 2017, Texas Instruments Incorporated