Forum Discussion

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

Megafunction altparallel_flash_loader--what is this

Hi All

The flash loader in the megawizard, for the cyclone III will that let me write and read bytes the the Flash. If so is there any information in its setting etc.

I have been struggling making a state machine that can save and read data in flash mem, could this be a soloutions Pleae do let me know

11 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If you are always accessing the 16-bit displacement and 16-bit PWM pari at the same time, you might want to combine the flash and make them appear to be a 32-bit flash and treat your data as 32-bit. It is possible to make both flash completely independent, with separate tri-state bridges as described, but this means you also need to have separate address & data for each flash which will consume lots of IO pins. You will also need to have another master to take advantage of simultanenous access to both flash.

    Depending on the data type defined, Nios will adjust the access accordingly. For example, if you define a 32-bit word in Nios and when it is written to a 16-bit flash, I believe Nios will write to two consecutive locations. http://www.altera.com/literature/hb/qts/qts_qii54003.pdf