User Profile
DamBam
Joined 5 years ago
User Widgets
Contributions
quartus_cpf - converting sof file to encrypted pof (with ekp included) for Max 10 FPGA
Hello everyone, I am trying to convert sof file to encrypted pof with ekp inside it using quartus_cpf command. Unfortunately after invoking the following: quartus_cpf -c -k epof_key.key:key_0 -o create_ekp_file=on -o memory_map_file=on file.sof epof.pof I get the encrypted pof but with no ekp included inside. There is no possibility to use GUI tools like decribed in "Intel® MAX® 10 FPGA Configuration Overview" 3.8.3.1 in my case. The resulting pof file with ekp inside is crucial because the next step is to program it into device with quartus_pgm. Command help both for quartus_cpf and quartus_pgm is rather enigmatic in this section. Can anbody give me example of command to generate encrypted pof with ekp integrated in command line? Is there another way to program encrypted pof and ekp file in device internal flash in command line manner? My hardware info: Host: Windows 10 Build 19045 Quartus Prime Standard Edition 18.0.0 Build 614 devkit: Max10 development kit mode: internal configuration with bitstream encryption I look forward to hear from You Damian BSolved3.3KViews0likes5CommentsRe: MAX10 JTAG Secure Design Example unlock
Hi @NurAiman_M_Intel , Thank you for response. Yes, I followed the instructions in the document, and the design worked as described in the document, I was able to run JAM file in quartus_jli. I observed that FPGA reconfigured when JTAG was unlocked, and didn't reconfigured when JTAG is locked. But then, after triggering unlock (by pressing pushbutton), in Quartus Programmer (connected to JTAG I/O) I couldn't program a new SOF file to CRAM nor new POF to on-chip flash. I couldn't erase on-chip flash as well untill the power cycle is performed on the board. After power cycle, and triggering unlock command (PB), I was able to program SOF, POF and erase. I run this exmaple on terasIC DE10-Lite, the simulation was performed before hardware run, because I didn't wat to lock the devboard permanently. Thanks, and looking forward to hear from you 🙂 DB2.2KViews0likes0CommentsMAX10 JTAG Secure Design Example unlock
Hi, I'm struggling with a unlock instruction in mentioned example. The problem is that when I trigger unlock instruction the Quartus Programmer can't accces JTAG chain (Can't Porgram pof/sof, erase, verify). Porgrammer prints the following message: Error (209040): Can't access JTAG chain Error (209040): Can't access JTAG chain Error (209012): Operation failed Interesting thing is that described issue doesn't occur when I power-cycle the devboard and trigger unlock instruction then. So the question is, should the unlock instruction give the control of the JTAG Control Block back to external interface? and if the answer is positive why it's only done once after power-up? Thanks in advance DB2.2KViews0likes4Comments