Forum Discussion

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

JTAG User Code

Anyone know how to read the device JTAG User Code (Electronic Signature) from Nios II?

thanks!

2 Replies

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

    I presume you mean the usercode which is part of the device configuration and is stored in the SOF file.

    Unfortunately there is no way for logic within the chip to see this usercode as it can only be accessed via the JTAG pins on the chip.

    Sorry.

    But you can get a lot of the benefits of a usercode using a system ID peripheral. Please tell us what you're trying to do if the system ID peripheral doesn't meet your needs.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ultimately we want to be able to indentify exactly what hardware (.sof, or .pof) is loaded, from the Nios II so that we can dynamically display it to an operater if it is requested. Unfortunately, the sysid returns information about the SOPC generation only. So I can re-synthesize my VHDL many times without the sysid ever changing. The SOPC system does not change with near the frequency as the VHDL. I don't want to have to Re-Generate the SOPC every time to get a new sysid.

    I guess the way to go is some User Logic as an Avalon Mem Slave that has only one register with definable contents... ?

    thanks for the response.

    John