Forum Discussion
Altera_Forum
Honored Contributor
14 years agoFlash memory is effectively read-only memory that can be written to by very specific bus cycle sequences.
The memory datasheet will tell you how to write to it, and you might find some standard software that can do it. I'm also not sure how easy it is to perform the desired cycles through the normal bus width adapter that gets added between the 32bit Avalon bus and a 16bit memory. You can execute code from the flash (and have the cpu's reset vector addressing it), but you'll need other memory for data and stack and for the code running while you do the flash erases and writes.