Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Flash Access Problems

We have a 3 processor design that all boot successfully from a single CFI flash (all reset addresses are set to our CFI Flash at different addresses). The firmwares run in different On Board Memories. Our design has worked successfully for a number of weeks on a number of different boards.

Recently we have seen the following fault on 2-3 different boards on different occasions :-once all 3 CPUs have been loaded and our single main CPU runs the following function

handle = alt_flash_open_dev(CFI_FLASH_NAME);

if (handle == 0) {//Open Failed

with following define is from system.h file

#define CFI_FLASH_NAME "/dev/CFI_Flash"

The function alt_flash_open_dev fails

in addition, when downloading using flash programmer from eclipse compiler the download fails with error "CFI table not found"

We do not use "reduced device drivers" option in the BSP

We are using Quartus II Ver. 10.1

Can anyone give some help on this

11 Replies