Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFlash 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 this11 Replies
- Altera_Forum
Honored Contributor
google :-) (dekker mutex)
I've not looked at the sopc mutex component either, I've seen code snippets on here that might be trying to use it - but the interface seemed gross (via open() etc). I can imagine implemeting mutex in a logic block with multiple Avalon slaves (one for each master) where a write of '1' would stall writes on the other slaves (ie from the other masters) until a write of '0'.