Forum Discussion

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

Programming Board Flash

I am working on a project trying to develop some software on an Altera DE1 board. It is driven by a Cyclone II EP2C20F484C7 and first of all the SOPC Builder in Quartus II doesn't have a Board Description file for this board. However, that is not the main issue of this post, although it might be contributing to the problem.

The problem is that when we try to program the .sof file to our board via the Flash programmer in Nios II the following error message is produced in the build window

# Error - Unable to locate a flash memory module name '' in the SOPC Builder system C:/altera/61/ip/sopc_builder_ip/altera_avalon_adapter_downstream_pipeline/class.ptf

We are wondering if this could be a result of not having a board description file for our board. We built our system in SOPC Builder as a "Custom" board and only specified that it was a Cyclone II. We put all the components into the system builder however I've read a couple places that if your using an altera nios dev board you must have a board description file specified. The CD that came with our board contained no such file and the closest description file available in SOPC Builder is for a Cyclone II EP2C35 device and again, not sure if that would be compatible since it's not technically our device.

If we have to make a board description file than ANY info on how to generate or find a netlist for our board would be great!

Any and all initial comments/thoughts/solutions to this problem are very welcome as anything you have to say may help my team and I try and figure this thing out thanks in advance!

11 Replies

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

    Please read the documentation....specifically the User's Guide that came with your board!

    I just took a quick glance through it, and I don't even think that what you're trying to do is even possible. It looks like your board only boots out of an EPCS16 device.

    So... as near as I can tell, your 4MB of CFI flash can be used for software (or other data), but not for an FPGA hardware image. Your hardware should always be stored in the EPCS16 device.

    Cheers,

    - slacker

    EDIT: You _can_ program both the EPCS device and your CFI flash device with the flash programmer. Good news is that your flash programming is working....it's just that your board doesn't support (I don't think) what you're trying to do.