Starting in Vivado and SDK 2015.3, programming support has been added for MACRONIX devices (specifically MX25L25635F) as described in (Xilinx Answer 50991).
2015.3 FSBL does not support MACRONIX flash.
How can I add support for MACRONIX QSPI flash in FSBL?
This is an example of how to add MACRONIX (MX25L25635F and MX66L51235F) support to FSBL.
To add support for MACRONIX flash in FSBL, we need only add the flash ID into the ID coding in the function FlashReadID(void) of FSBL.
The ID for MX25L25635F is 0xC2 0x20 0x19, and 0xC2 0x20 0x1A for MX66L51235F.
The ID bytes are represented by ReadBuffer ReadBuffer and ReadBuffer in FlashReadID().
ReadBuffer is used to identify flash vendor, and ReadBuffer is used to identify flash capacity.
The MACRONIX vendor byte 0xC2 and the capacity byte 0x1A are not defined in FSBL.
We can add definitions for them, then FSBL will support them.
See the attached FSBL project. The definitions are added into qspi.c and qspi.h.
|Name||File Size||File Type|