Forum Discussion

TN-Notebooks's avatar
TN-Notebooks
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

Max V 5M80ZE64C5N examine / Verify Failure

Hardware

Synology Board with 5M80ZE64C5N

PL-USB Blaster RCN Rev C

Software

Win 10

Programmer Standalone Quartus Prime 17.1.1-593

( all Versions above have a Bug with File save after eamine )

Device selected 5M80ZE64

selectable Boxes ( dark grey ) : Blank check - examine - erase

not selectable Boxes ( light grey ) : Programm - verify - security Bit - ISP Clamp

( exactly same on Brand new chip )

Examine successful 100%

File saved

USM and CFM appear

Verify USM pass

Verify CFM Fail

Message :

209048 verfy failure on devive number 1

209012 Operation failed

what am i doing wrong ?

38 Replies

  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    Hi there,

    Connecting Nconfig low means pulling the nconfig pin to GND before powering on, so that after powering on, the chip will not load any content in the flash including the ICB setting. We cannot provide a relevant loading file because we do not know the board-level structure. If the manufacturer does not provide an image but provides a schematic, you can compile a very simple project based on the schematic diagram and on-board resources and generate an image.

    Best regards,

    WZ


  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    Hi there,

    I tried to replicate the manufacturer's behavior, and they enabled the security bit during programming. This is why all the examined POF files turned out to be all 00 (which I found puzzling before). Due to this operation by them, you cannot directly obtain the POF files, so you still need to request the POF file from the manufacturer.

    Best regards,

    WZ







    • TN-Notebooks's avatar
      TN-Notebooks
      Icon for Occasional Contributor rankOccasional Contributor

      Quartus should show that the security bit has been set ? why doesn't Quartus do that ? A Bug ?
      If quartus does not show this how can a user detect it ?

      How did you find out now ?

  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    This is not a bug, but a method that Quartus provides developers to protect their images.


  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    After setting it, the image cannot be readback by examine.

    • TN-Notebooks's avatar
      TN-Notebooks
      Icon for Occasional Contributor rankOccasional Contributor

      i know that this function is to protect the image

      But

      @WZ2 wrote:

      After setting it, the image cannot be readback by examine.


      in my File not Gray out and it is selectable !

  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    Just as I said before, after setting this, POF files examined out to be all 00.

    • TN-Notebooks's avatar
      TN-Notebooks
      Icon for Occasional Contributor rankOccasional Contributor

      in your sample Picture the Examine and Security Bit is Gray out
      But in my Pictures / and if i connect to the Chip not gray out .....

      thats what i do not understand
      if on my Chips the Security was set -> why it isn't grayed out like in your Pictures ?

      The check boxes of the programmed chip are displayed exactly the same as an empty new chip.

      • WZ2's avatar
        WZ2
        Icon for Frequent Contributor rankFrequent Contributor

        Sorry for the misunderstanding, because I didn't select any device or file, I just showed where the security bit is set.

  • TN-Notebooks's avatar
    TN-Notebooks
    Icon for Occasional Contributor rankOccasional Contributor

    I assumed that if the security bit is set, the check box should be grayed out, which it is neither with the programmed nor with a new chip.
    This makes me think - something is wrong here.

    with this board everything is unusual.

    I have to try this again, but I need some file that I can load to test how it looks with and without security bit.
    I have no idea of the programming or creation of a simple file.
    I just wanted to clone a chip and have only read and learned so far.
    Can you help me with a very simple test file in which maybe just something is in it without switching an output - the board can die - my risk -
    it's only about testing the basic function
    1 Write a file
    2 File Examine
    3 File verification
    and repeat everything again under security bit set.

    I would like to test so whether this works on this board with a clean file

  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    Hi there,

    Sorry for the late reply, last days are public holidays.

    Here is the file, you can try:

    • TN-Notebooks's avatar
      TN-Notebooks
      Icon for Occasional Contributor rankOccasional Contributor

      Sorry for Late Reply ... had a high work load.

      I searched for your Information regarding the nconfig Pin

      For me it seem that the Altera MAX V 5M80ZE64 have no "nconfig Pin"

      Its not listed in the Pinout Table of the 5M80ZE64 like at other Altheras.

      Your Empty File i will try near by Time now.

      Thomas

  • TN-Notebooks's avatar
    TN-Notebooks
    Icon for Occasional Contributor rankOccasional Contributor

    Hallo

    some interesting news

    to check the behavior i bought a brand new DK-DEV-5M570ZN Development Kit

    connection all fine.

    Erase performed success

    Blank Check success

    now examine the erased blank Chip - save the File and now verify of the examined erased/blank chip

    ........ Failed

    So this is not a Hardware or Security Bit Problem -- a Bug in Quartus ?

    Info(292034): Thank you for installing the Quartus Prime software - the #1 in performance and productivity. To upgrade to a full featured edition, please https://www.intel.com/content/www/us/en/products/programmable.html.
    Info(209060): Started Programmer operation at Thu Nov 2 16:03:37 2023
    Info(209017): Device 1 contains JTAG ID code 0x020A60DD
    Info(209018): Device 1 silicon ID is ALTERA10-4
    Info(209044): Erasing MAXII/MAXV configuration device(s)
    Info(209011): Successfully performed operation(s)
    Info(209061): Ended Programmer operation at Thu Nov 2 16:03:40 2023
    Info(209060): Started Programmer operation at Thu Nov 2 16:03:53 2023
    Info(209017): Device 1 contains JTAG ID code 0x020A60DD
    Info(209018): Device 1 silicon ID is ALTERA10-4
    Info(209019): Blank-checking device(s)
    Info(209011): Successfully performed operation(s)
    Info(209061): Ended Programmer operation at Thu Nov 2 16:03:55 2023
    Info(209060): Started Programmer operation at Thu Nov 2 16:04:11 2023
    Info(209017): Device 1 contains JTAG ID code 0x020A60DD
    Info(209018): Device 1 silicon ID is ALTERA10-4
    Info(209038): Examining devices
    Info(209011): Successfully performed operation(s)
    Info(209061): Ended Programmer operation at Thu Nov 2 16:04:13 2023
    Info(209060): Started Programmer operation at Thu Nov 2 16:04:50 2023
    Info(209017): Device 1 contains JTAG ID code 0x020A60DD
    Info(209018): Device 1 silicon ID is ALTERA10-4
    Info(209021): Performing verification on device(s)
    Info(209011): Successfully performed operation(s)
    Info(209061): Ended Programmer operation at Thu Nov 2 16:04:51 2023
    Info(209060): Started Programmer operation at Thu Nov 2 16:05:00 2023
    Info(209017): Device 1 contains JTAG ID code 0x020A60DD
    Info(209018): Device 1 silicon ID is ALTERA10-4
    Info(209021): Performing verification on device(s)
    Error(209048): Verify failure on device number 1
    Error(209012): Operation failed
    Info(209061): Ended Programmer operation at Thu Nov 2 16:05:01 2023

  • TN-Notebooks's avatar
    TN-Notebooks
    Icon for Occasional Contributor rankOccasional Contributor

    Hallo WZ2,

    already any Ideas ?

    Did you see my last Post dated ‎11-02-2023 04:06 PM ?

    Thomas

    • WZ2's avatar
      WZ2
      Icon for Frequent Contributor rankFrequent Contributor

      Hi Thomas,

      Long time no see. I was also buried under the heavy workload.

      If you recall our initial conversation back in August, my initial suspicion was towards a bug in Quartus. However, it wasn't until you give me the read-back flash file for me, and the content turned out to be all zeros (00). This is uncommon, leading me to believe that the manufacturer has implemented encryption.

      The current situation you're facing is highly likely to be coupled with the initially suspected Quartus bug. You may consider upgrading Quartus and performing encryption settings to check if the situation aligns with our expectations.

      Best regards,

      WZ

      • TN-Notebooks's avatar
        TN-Notebooks
        Icon for Occasional Contributor rankOccasional Contributor

        Hello WZ

        reading out my boards makes no sense as long as Quartus has a bug.


        Let's stick to the development board first.

        DK-DEV-5M570ZN development kit.


        With this board it must work first (and here it is certain that there are no hardware influences)
        The last thing I posted is from the dev board which is deleted and the empty board was read out and compared.
        At least here Quartus should not show any errors.
        UFM worked again but CFM is fail ... with an empty CFM . Something is wrong with Quartus here
        It would be easiest if you also had a DK-DEV-5M570ZN development kit.

        I use the stand-alone software Intel® Quartus® Prime Pro Edition Programmer and Tools Version 23.2.0 which apparently does not need a license

        of the Quartus® Prime Lite Edition is still version 22.1.2 here there is still no update.

        I just found that Intel® Quartus® Prime Pro Edition Programmer and Tools version 23.3.0 is available and installed it.

        -------------------------------------------------------------------------

        I have now repeated the test on the DK-DEV-5M570ZN development kit with the versions :


        Quartus® Prime Standard Edition Programmer and Tools 22.1std.2.922 ( same in Lite Version )
        Still not usable because of save file bug ( not possible to save examine files )

        Quartus® Prime Pro Edition Programmer and Tools Version 23.3.0.104
        same behavior as version 23.2.0

        Verify of CFM failed as all the Time

        So for me it seems to be a BUG in Quartus

        an update to a STD version is not worthwhile for my applications because the LITE version would be sufficient if it were error-free, but Intel would be happy to provide me with a license free of charge for further testing due to all these errors.

  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    Sorry for the late replay due to the bad cold.

    Never mind, could u upload the file your examined and let's compare the difference.

    • TN-Notebooks's avatar
      TN-Notebooks
      Icon for Occasional Contributor rankOccasional Contributor

      Please read my messages from ‎11-02-2023 04:06 PM and later

      there is no file to send. examine / verify Fault of Quartus software with empty Chip

      i used a DK-DEV-5M570ZN development kit


      ‎11-02-2023 04:06 PM

      to check the behavior i bought a brand new DK-DEV-5M570ZN Development Kit

      connection all fine.

      Erase performed success

      Blank Check success

      now examine the erased blank Chip - save the File and now verify of the examined erased/blank chip

      ........ Failed


      please read the full description of 11-02-2023 04:06 PM