UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 19428

OPB/PLB EMC Flash Controller - Flash driver call XFlashIntel_Initialize() returns XST_FLASH_NOT_SUPPORTED

Description

General Description:

When I use the Flash driver for the OPB or PLB EMC Controller, the XFlashIntel_Initialize() function call returns XST_FLASH_NOT_SUPPORTED, not allowing the driver to continue. In the "xparameters.h" file, the following attributes are set to zero:

#define XPAR_PLB_EMC_0_NUM_PARTS 0

#define XPAR_PLB_EMC_0_PART_WIDTH 0

#define XPAR_PLB_EMC_0_PART_MODE 0

How do I remedy this?

Solution

The driver call fails due to these attributes not being set. However, they can be modified in software code. This can be accomplished by using the XFlash_LookupConfig() function to return a pointer to the configuration table pointer and modify its values with the appropriate part, width, and mode before calling XFlash_Initialize().

More information can be found in the "xflash_g.c" driver file.

AR# 19428
Date Created 09/03/2007
Last Updated 12/15/2012
Status Active
Type General Article