XSfl_FlashReadStart - XSfl_FlashReadStart - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

This function reads from the flash connected to the specific interface.

Prototype

u32 XSfl_FlashReadStart(u8 SflHandler, u32 Address, u32 ByteCount, u8 *ReadBfrPtr, u64 RxAddr64bit);

Parameters

The following table lists the XSfl_FlashReadStart function arguments.

Table 1. XSfl_FlashReadStart Arguments
Type Name Description
u8 SflHandler is a index to the Sfl interface component to use.
u32 Address contains the address of the flash that needs to be read.
u32 ByteCount contains the total size to be erased.
u8 * ReadBfrPtr is the pointer to the read buffer to which valid received data must be written
u64 RxAddr64bit is of the 64-bit address of destination read buffer to which valid received data must be written.

Returns

  • XST_SUCCESS if successful
  • XST_FAILURE - In case of failure