NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

CC3200 File Operations

From Texas Instruments Wiki
Jump to: navigation, search
Cc31xx cc32xx return home.png
Cc32xx return sample apps.png

Overview[edit]

This example demonstate the file operations that can be performed by the applications. The application use the serial-flash as the storage medium.

CC3200 launchpad has 1 MB Sflash.

Page,Sector and Block size is given below:
Page - 256 Bytes
Sector - 4 Kb
Block - 64 Kb

A filesystem is maintained in the SFlash and the simplelink library exposes APIs to perform file operations by storing the contents in SFlash. The application demonstrates the usage of these APIs.

Application details[edit]

The application does the following:

  • Open a user file for writing
  • Writes "Old MacDonalds" child song several times to get just below a 64KB file
  • Closes the user file
  • Opens the file again for reading
  • Reads the data and compares it with the stored buffer
  • Closes the user file
  • Glows the GREEN LED on success, else glows the RED LED on failure.

Source Files briefly explained[edit]

gpio_if - Basic GPIO interface APIs. Used to control the RED/GREEN LED.
main - Initializes the device, exercises the file operation APIs supported by the SimpleLink library

pinmux - Assigns a personality to the pins at the device boundary
startup_* - Tool specific vector table implementation

Usage[edit]

  1. Run the reference application (Flashing the bin/IAR/CCS).
  2. In case the file operations succeeds, on completion, the GREEN LED glows. In case of any errors, the RED LED glows. 

Limitations/Known Issues =[edit]

None.

Links[edit]

{{#invoke: Navbox | navbox }} {{#invoke: Navbox | navbox }}

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3200 File Operations here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3200 File Operations here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC3200 File Operations here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC3200 File Operations here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC3200 File Operations here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 File Operations here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 File Operations here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC3200 File Operations here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC3200 File Operations here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity