AR# 19428

|

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

描述

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?

解决方案

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
日期 12/15/2012
状态 Active
Type 综合文章
People Also Viewed