Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
FAT File System Example 2 for EVK110 Documentation

Introduction

This documents data structures, functions, variables, defines, enums, and typedefs in the software. It also gives an example of the usage of the FAT filesystem through the dataflash memory AT45DBX & SPI driver.

The example lets you issue the following commands on RS232 using POSIX interfaces (open, read, write, close):

  • read a file from the memory files system;
  • concatenate a file to an existing one;
  • copy the content of a file to a new one.

Note: This example assumes that the dataflash memory contains a file in the root directory (and of course that the memory filesystem is a FAT12/16/32).

Main Files

Compilation Info

This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR32. Other compilers may or may not work.

Device Info

All AVR32 devices with an SPI module can be used. This example has been tested with the following setup:

  • EVK1100, EVK1101 or EVK1105 evaluation kit

Setup Information


CPU speed: 12 MHz

  • Connect USART1 (on EVK1100 or EVK1101) to a PC serial port via a standard RS232 DB9 cable, or USART0 (on EVK1105) abstracted with a USB CDC connection to a PC.
  • Set the following settings in your terminal of choice: 57600 8N1

Contact Information

For further information, visit Atmel AVR32.