sdps
Vitis Drivers API Documentation
xsdps_raw_example.c File Reference

Overview

This example is used to test read and write transfers on SD/eMMC interface.

Please note that running this example will modify the card contents and file system information will be erased in the card. Card will need to be re-formatted.

Modify the offset and Size macros to test different SD memory offset and size.

 MODIFICATION HISTORY:
 Ver    Who     Date     Changes


3.9 mn 12/02/19 First release 3.10 mn 09/17/20 Fix sector offset issue with Non-HCS SD cards 4.2 ro 06/12/23 Added support for system device-tree flow.

 

Functions

int main (void)
 Main function to call the SD example. More...
 

Function Documentation

int main ( void  )

Main function to call the SD example.

Returns
XST_SUCCESS if successful, otherwise XST_FAILURE.
Note
None