Forum Discussion

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

Create JIC from commandline

Hi,

Does anyone have experience in creating JIC files from HEX files with the command-line?

The tool "convert programming files" is available but the function to save and open conversion setup up causes to crash quartus (still in version 12.0) and evreytime I need to create a programming file I've to add files, set all base addresses and set options.

Would be great to do this from command line.

This is how my JIC files looks now:

FPGA: Stratix 3SL70

Flash type: EPCS128

safe_hwimage.hex 0x00000000 0x0014D42D

safe_swimage.hex 0x0014D42E 0x0016D8F9

magicword.hex 0x001FFFFC 0x001FFFFF

user_hwimage.hex 0x00200000 0x0034C651

user_swimage.hex 0x004B0000 0x004D0D53

Thanks in advance,

8 Replies

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

    I recommend using "Convert programming files" utility and generate a .cof file. From there you can run: quartus_cpf -c <filename>.cof The .cof file is easy to change to your liking in a text editor for relative paths etc. Hope that helped.

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

    Thanks Boris,

    But the Altera (12.0) crashes when I save or open a COF file.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Weird. I have not used the CPF in 12.0 actually I don't have 12.0 installed yet on my machine. I wonder if anyone else have seen this issue.

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

    I was in the understanding that the COF already contains the size of the hex files, so if I change my swimage.hex and I will try to make the JIC file it goes wrong I'm afraid.

    But I will give it a try next days.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Have you tried the standalone programmer? See if you have an issue with the 11.0 version.

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

    I manually generate my JIC files presently from a saved COF file I created.

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

    I have generated .jic files with Quartus 12.0 Build 178 many times now with no problems. Perhaps a reinstall of the software is worth a try, but Quartus 12 should have no problems doing this. -James