Forum Discussion

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

problem writing flash via alt_flash

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
No RepliesBe the first to reply