Forum Discussion

Steve-Mowbray-ENL's avatar
Steve-Mowbray-ENL
Icon for Occasional Contributor rankOccasional Contributor
8 months ago
Solved

qcrypt:test.rbf:8068: unexpected end-of-file

Hi

When running Qcrypt on my working RBF configuration file I get the following result:

C:\Users\steve>D:/intelFPGA/21.1/quartus/bin64/qcrypt --encrypt --keyfile=keyfile.key --keyname=key1 --keystore=otp test.rbf test_qcrypt.rbf
Intel qcrypt 1.5 built at 12:02:50 on Aug 15 2017
Copyright (C) 2015-2017 Intel Corporation. All Rights Reserved.

qcrypt:test.rbf:8068: unexpected end-of-file

Any clues as to what could be wrong would be appreciated - I am confused as the unencrypted RBF file works fine with passive serial configuration..

Thanks

Steve

  • Sorted -- according to AN-556:

    "Encryption and compression cannot be used simultaneously in 20 nm FPGAs."

    Assignments->Settings->"Device and Pin Options..."->Configuration->"Generate compressed bitstreams" seems to be checked by default -- unchecked and the rebuilt RBF gets encrypted correctly by "Qcrypt" tool (at double the size...).

1 Reply

  • Steve-Mowbray-ENL's avatar
    Steve-Mowbray-ENL
    Icon for Occasional Contributor rankOccasional Contributor

    Sorted -- according to AN-556:

    "Encryption and compression cannot be used simultaneously in 20 nm FPGAs."

    Assignments->Settings->"Device and Pin Options..."->Configuration->"Generate compressed bitstreams" seems to be checked by default -- unchecked and the rebuilt RBF gets encrypted correctly by "Qcrypt" tool (at double the size...).