Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFlash memory share for POF and NIOS HEX
Hi i have a question related to a NIOS application on S3 devkit. As you probably know this kit has a flash memory which can be used to set up the S3 with an on board Max device which does a para...
Altera_Forum
Honored Contributor
15 years agoAs I already told you, choosing add hex file when you create a pof you will be able to choose the start address of the HEX PAGE in the POF that you'll write. I am not saying that this will reopen the SOF, fill the M9k with the hex and the build a pof: I am saying it will put at a user defined offset the hex in the pof (and so in the flash when you program the flash with it).
Already used this technique a lot of times with Quartus 9.1. I do not know if you are using a version that fails it. How to make Nios II boot from this hex in flash is another question. You may need to write a little bootloader that lives in internal memory (reset address to ram) or a little preamble that copies the hex to other resources (reset address to flash) or, if your program support XIP, just execute from flash (reset address to flash). Regards