Forum Discussion

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

Setting niosii reset vector to CFI in Qsys

I'm attempting to parallel flash the cyclone III starter board.

In Qsys, I've included cfi_flash controller and tri_state conduit bridge and tri_state conduit pin sharer. I have generated this design and flashed it into hardware successfully.

However, when I try to also flash nios II code into CFI using nios ii flash programmer, I get the error mentioned here:

"problem

why does the nios ii flash programmer produce the error “empty flash content cannot be programmed or verified” when you run the flash programmer to program cfi flash memory?

solution

the nios® ii flash programmer will generate this error message when the reset vector of nios ii cpu has not been set as cfi flash memory in sopc builder."

When I return to Qsys to set the reset vector to CFI, that option does not exist.

Any ideas?

alphaOri

4 Replies

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

    Did you forget to connect the Nios II instruction master to the generic tristate controller that is setup to be a flash controller? Only memories connected to the instruction master will show up in the reset vector drop down list.

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

    Thanks for replying. I checked the connections - I didn't forget to connect them.