Forum Discussion

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

EPCS configure file format in AS mode

I have sevral questions about the EPCS' configuration file format.

1.If i want to update the configuation file,by AS configure mode,which file format is the appropriate?

2.About the right file format,can we modify the content? such as add the version,the date,and etc.

Thanks a lot!

3 Replies

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

    what exactly do you mean by "update the configuration file" ?

    files that contain the fpga image are created by the quartus software.

    modifying as you mentioned is not possible as far as i know. these files are not like binary files from microcontrolers where you can patch some kind of a string. you will need to change such messages, if they exist, within your fpga project source and recompile via quartus.

    but there is a possability to modify fpga memory content without recompiling if you have used some onchip memories and the are initialized by a MIF of HEX file. such onchip memories can be your application memory for the instructions as well as data or any other kind.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    if you mean to write the EPCS memory, the correct term should be program file not configuration file. if you are programming EPCS device thru AS mode it means you are using the .pof file right? modifying the content of the programming file will corrupt it and quartus programmer doesn't allow the corrupted file to be loaded.

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

    --- Quote Start ---

    ... such as add the version,the date,and etc.

    --- Quote End ---

    I think to add version, date,... information, you can use the 32Bit HEX-JTAG Usercode (Settings - Device - Device and Pin Options).

    Sincerely, Carlhermann