Introduction
This is the unit test application for the SD/MMC SPI component. It consists of test cases for the following:
- Check presence
- Memory check
- Read/write sector access and data integrity
- Read/write multiple sector access and data integrity
- Warning
- Running this application might damage the data stored in the SD/MMC card.
Main Files
- unit_tests.c: SD/MMC SPI unit tests application.
- sd_mmc_spi.c: The SD/MMC SPI driver
- sd_mmc_spi.h: The SD/MMC SPI driver header
- conf_test.h: test configuration file
- conf_board.h: board initialization process configuration
- conf_clock.h: clock specific initialization
- conf_sd_mmc_spi.h: SD/MMC SPI driver configuration
- conf_usart_serial.h: Serial port configuration (
- See Also
- conf_test.h)
- conf_access.h: Used for compatibility only.
Device Info
All 32-bit AVR devices can be used. This application has been tested with the following setup:
- Evaluation kits with a SD/MMC connected to an SPI interface.
Compilation Info
This software was written for the GNU GCC and IAR for 32-bit AVRs. Other compilers may or may not work.
Contact Information
For further information, visit Microchip.