Altera_Forum
Honored Contributor
11 years agoUsing alt_flash_open_dev with 'enable_reduced_device_drivers'
I'd like to use on-chip RAM (69KB) for a small nios app to execute in-system-programming code. The only way I could get the code to fit is by enabling the reduced driver option.
The problem I'm having though, is that the call to alt_flash_open_dev returns a null handle to the flash. As a test, if I execute out of external sram, the same code returns a proper handle and I can read/write to the flash. Since I want the nios app to be self contained, without relying on the external flash or external ram for booting itself, how can read/write to the flash with 'enable_reduced_device_drivers'?