NetBurner 3.5.0
PDF Version
 
EFFS Programming Guide

This guide covers the NetBurner implementation of the HCC Embedded Flash File System (EFFS) and NetBurner flash card hardware interface. The EFFS is just one part of the NetBurner suite of tools and software. You may need to reference other documents for configuration and hardware specifics for your particular NetBurner platform.

Topics Covered:

  • An overview of examples, supported platforms and debugging information
  • Overview of the flash card EFFS-FAT File System Operation
  • Overview of the on-chip EFFS-STD File System Operation
  • Hardware interface design for external flash cards


Example Programs

A list of examples is provided in the Example Applications section of this document.

Reference Manuals for the EFFS API

The function call reference manuals for the EFFS-FAT and EFFS-STD file systems are located in the \nburn\docs\NetBurner\EFFS folder.

Supported Hardware Platforms

All platforms support the on-board flash chip EFFS-STD file system. The implementation of the flash card EFFS-FAT file system is as described below. All devices can implement an external flash card design, while some platforms also have a flash card socket located on the device itself. There are two types of external flash card implementations:

  • SPI: operates in native SPI mode with a single data channel
  • SDIO: operated with four data channels
    Platform External On-board
    MODM7AE70 SPI N/A
    MOD54415 SPI SPI
    MOD54417 SPI SPI
    SB800EX SDIO
    NANO54415 SPI SDIO

    The flash card sockets on the MOD-DEV-70CR and NANO development boards support SPI mode.

Topic Links:


Debug Port

Throughout this guide, we will refer to the "debug port". The debug port is one of the RS-232 ports that can be used to interact with your NetBurner device in the example programs. By default stdout, stdin and stderr are mapped to the debug port, so when you use functions like printf(), scanf(), gets(), etc. they read and write to the debug port. All of this is configurable. You can also disable the debug port and use the port as a general purpose UART, or you can reassign the stdio file descriptors to use other serial or network interfaces.