Forum Discussion
Altera_Forum
Honored Contributor
21 years agoUsing alt_flash_open_dev
Hello, I have a Nios2 system that runs from flash (flash = program memory). My program needs to access flash at a certain moment, it needs to write/read some data to it. The alt_flash_open_de...
Altera_Forum
Honored Contributor
21 years agoHi,
I have been doing some trials with the flash access: - If my program runs from flash, I can't access the flash as a data memory (alt_flash_open_dev returns FAIL). - If my program runs from internal data memory, I can access the flash as a data memory (alt_flash_open_dev returns PASS). - if my program runs from flash but the flash access is placed in a seperate section that is located in FPGA internal RAM, I can't access the flash (alt_flash_open_dev returns FAIL). I think that the latter case should work. What do you think about this? thanks, Dolphin