Changes

Jump to: navigation, search

How to use flash if uni

1,590 bytes added, 13:14, 24 June 2010
Created page with 'This guide describes how to use the flash_if_uni system (which consists of flash_if_uni.c and flash_if_uni.h). flash_if_uni allows a designer a simple means of communicating wit…'
This guide describes how to use the flash_if_uni system (which consists of flash_if_uni.c and flash_if_uni.h).

flash_if_uni allows a designer a simple means of communicating with [http://www.atmel.com Atmel] Flash products ([http://www.atmel.com/dyn/products/product_card_v2.asp?part_id=2955 AT49BV322A], [http://www.atmel.com/dyn/products/product_card_v2.asp?part_id=2956 AT49BV322AT], [http://www.atmel.com/dyn/products/product_card.asp?part_id=3762 AT49BV322D], [http://www.atmel.com/dyn/products/product_card.asp?part_id=3763 AT49BV322DT]) from a Xilinx EDK (Microblaze) project.
<br />
<br />
-----
<br />
<br />
When using flash_if_uni all options are controlled by #defines at the top of flash_if_uni.h. The following constants are defined.
* FLASH_ADDR: This is the Base Address of the XPS_EMC_MCH Memory Controller IP Core in your EDK Project that connects to your Atmel Flash. This should be set to the constant given for the Base Address for the XPS_EMC_MCH in the xparameters.h file generated by EDK.
* FLASH_RDY_ADDR: This is the Base Address of the XPS_GPIO General Purpose IO IP Core in your EDK Project that connects to the Ready line from your Atmel Flash. This should be set to the constant given for the Base Address for the appropriate XPS_GPIO in the xparameters.h file generated by EDK.
* FLASH_RDY_MASK: This is a hex number describing which bit in the XPS_GPIO (that FLASH_RDY_ADDR points to) is connected to the Ready line from your Atmel Flash. If the Ready line is the only thing connected to the XPS_GPIO then this should be set to 0xFFFFFFFF
* EDK_VERSION:

Navigation menu