Forum Discussion

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

Convert Programming Files tool and multiple Nios processors

Hi,

I'm trying to create a *.pof file for programming that host 2 configurations and 2 Nios, one for each configuration. The problem seems to be that the "Convert Programming Files" tool from Quartus only supports one *.hex file for one Nios core.

Is there an official way to do something like that? Maybe a document describing that?

It seems like the same problem does appear if you try to use 2 Nios in one configuration. How can I put the 2 Nios files in one *.pof?

Best Regards

3 Replies

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

    Have a look at the "using the flash programmer from the command line" section in the nios ii flash programmer user guide (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/ug/ug_nios2_flash_programmer.pdf). There's a section on "programming both hardware and software into an epcs/epcq device". Look through that. I think sof2flash, elf2flash & possibly bin2flash between them should solve your problem. These allow you to convert files and generate S-record files with offsets. You can then combine them and, if you wish, convert them to a .pof, or simply use the command line programmer.

    Cheers,

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

    Hi Alex, thanks I will look into that. But it doesn't look very comfortable.

    I suppose there is no official way to do that?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    That is an 'official' Altera document. So, Altera certainly support everything in there.

    There are so many different uses for an EPCS/Q device and combinations of images that Altera can't possibly cover everything that everyone is going to want to do. Hence a document like this specifying what functions are available to create an image.

    What you put in there, and where, is up to the user.

    Cheers,

    Alex