Forum Discussion

AnandKulkarni's avatar
AnandKulkarni
Icon for New Contributor rankNew Contributor
1 year ago

Unable to program Non Volatile Key on Cyclone V - DE10 Nano Board

Hi

I have a below situations that works/not works for key programming...

FOR VOLATILE KEY PROGRAMMING...

  • quartus_jli.exe -c1 IntroEx_EKP.jam -aKEY_CONFIGURE

Program successful, but key has to be programmed every time i reboot hardware.

But, reg values are all 0s when key was programmed.

Info: Command: quartus_jli -a VERIFY -c 1 verifykey_a10.jam
Verify_reg:000000000
Exit code = 0... Success

verifykey_a10.jam for reference...

ACTION VERIFY = EXECUTE;
PROCEDURE EXECUTE;
STATE RESET;
STATE IDLE;
'Security Mode Identification
BOOLEAN verify_reg[9];
IRSCAN 10, $013;
WAIT 100 USEC;
DRSCAN 9, $0, CAPTURE verify_reg[8..0];
PRINT "Verify_reg:", verify_reg[8], verify_reg[7], verify_reg[6], verify_reg[5], verify_reg[4], verify_reg[3], verify_reg[2], verify_reg[1], verify_reg[0];
EXIT 0;
ENDPROC;

  • quartus_jli.exe -c "DE-SoC [USB1]" IntroEx_EKP.jam -aKEY_CONFIGURE

Error: jtagserver device 0 does not exist

FOR NON-VOLATILE KEY PROGRAMMING...

I see below two commands are not working, even after re-installing usb-ii blaster drivers.

Device 1 is same as DE-SoC. So i hope "-c1" and "-c DE-SoC [USB-1]" are same. Interestingly they throw different errors.

  • quartus_jli.exe -c1 IntroEx_EKP.jam -aKEY_PROGRAM

Error: This hardware does not support frequency control
Error: This hardware does not support frequency control
Error on line 1: illegal instruction code.

  • quartus_jli.exe -c "DE-SoC [USB1]" IntroEx_EKP.jam -aKEY_CONFIGURE

Error: jtagserver device 0 does not exist

  • $ jtagconfig.exe
    1) DE-SoC [USB-1]
    4BA00477 SOCVHPS
    02D020DD 5CSEBA6(.|ES)/5CSEMA6/..

2) Remote server eth: Unable to connect

Any hints on how can i get cyclone V device programmed with Non-Volatile key.

Is there really a difference between "-c1" and "-c DE-SoC [USB-1]"?

I am using Quartus standard 21.1.

2 Replies

  • Farabi's avatar
    Farabi
    Icon for Regular Contributor rankRegular Contributor

    "We sincerely apologize for the inconvenience caused by the delay in addressing your Forum queries. Due to an unexpected back-end issue in our system, your Forum cases, along with others, did not get through as intended. As a result, we have a backlog of cases that we are currently working through one by one.

    Please be assured that we are doing everything we can to resolve this issue as quickly as possible. However, this process will take some time, and we kindly ask for your patience and understanding during this period. The cases will be attended by AE shortly.

    We appreciate your patience and understanding, and we are committed to providing you with the best support possible.

    Thank you for your understanding."


  • Farabi's avatar
    Farabi
    Icon for Regular Contributor rankRegular Contributor

    Hello,


    Please use quartus programmer to program your .ekp file.


    Command : quartus_pgm -c <cable_name> -m JTAG -o "p;<file_name>.ekp@<device_index>"


    Example : quartus_pgm -c1 -m JTAG -o "p; encryptionKey.ekp@1"


    regards,

    Farabi