Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21592 Discussions

problem writing flash via alt_flash

Altera_Forum
Honored Contributor II
1,060 Views

Hello, 

 

I'm trying to store non-volatile data on my flash via 

 

"alt_flash_open_dev", "alt_write_flash" etc. 

 

but it doesn't work. One issue could be... 

 

My flash is connected as a 8 Bit device, but if I read out the cfi-table it shows me that a 16 Bit device is connencted, therefore I have to use the 

--width=8 extension when I flash the ram. 

 

But how can I use the --width=8 extension in my NIOSII C++ programm, if it is possible at all??? 

Should I redesign the low level device driver??? 

 

Thanks 

Maestro
0 Kudos
0 Replies
Reply