XSfl_FlashIdRead - XSfl_FlashIdRead - 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

Reads the flash ID and identifies the flash in FCT table.

Prototype

u32 XSfl_FlashIdRead(XSfl_Interface *SflInstnacePtr, u8 ChipSelect, u8 *SflReadBuffer);

Parameters

The following table lists the XSfl_FlashIdRead function arguments.

Table 1. XSfl_FlashIdRead Arguments
Type Name Description
XSfl_Interface SflInstancePtr is a pointer to the XSfl_Interface driver component to use.
u8 ChipSelNum is the chip select number.
u8 * SflReadBuffer is pointer to the read buffer to store flash id.

Returns

  • XST_SUCCESS if successful
  • XST_FAILURE - In case of failure