Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
60 Views

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.

0 Kudos
3 Replies
Highlighted
Employee
27 Views

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.

 

0 Kudos
Highlighted
Novice
27 Views

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.

0 Kudos
Highlighted
Employee
27 Views

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,

0 Kudos