Forum Discussion

NAdel1's avatar
NAdel1
Icon for New Contributor rankNew Contributor
5 years ago

Application and factory image, Cyclon V, Quartus 18.1.1, when the data is corrupted, the factory runs again and again

I can write and read to the quad flash using Generic Flash Serial IP and it works, but When there is problem in the middle of the application image (not in the start where the RSU looking before the reconfig starts) the factory image repeatedly trying to go to the application image.

why is this happening? why doesn't it just stay in the factory image?

hope for quick response.

3 Replies

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

    Hi Naftali,

    Have you enabled this option "Auto restart configuration after error" in quartus? You can do so by following the steps below:

    Enable option “Auto-restart configuration after error” (Assignments > Device > Device and Pint Options > General > Auto-restart configuration after error).

    Thank You.

    • NAdel1's avatar
      NAdel1
      Icon for New Contributor rankNew Contributor

      Thank you for the quick answer.

      I enabled this option of course.

      My RSU configuration is as follows:

      state 1: RESET off

      state 2: empty state

      state 3: set Anf='1'

      state 4: set start address

      state 5: disable watch dog(it doesnt go to application image if i turned it on)

      state 6: reconfig='1'

      Everything work until there is problem in the application image, then it try repeatedly to run the application mode.

      I will appreciate your quick response.

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

    Hi Naftali,

    Setting ANF to 1 means that you are booting application image. If application image corrupted, it will try to boot into application image for a few times and eventually will go back to factory mode.

    Hope it helps

    Thank You,