Community
cancel
Showing results for 
Search instead for 
Did you mean: 
TejasL
Beginner
981 Views

How to use or configure Remote System Update IP core for Cyclone 10 LP device.

hello Friends,

I have used Cyclone 10 LP device and I want to add feature of Remote System Update using Altera's RSU IP core, I have studied IP user guide and I have implemented the software in NIOS but I IP is not configuring.

If anybody has done such a thing then please let me know how to access RSU's registers. and What is the flow of configuration. Right now I am configuring like below:

  1. Set watchdog timeout value (offset 0x8)
  2. Enable Watchdog Timer (offset 0xC)
  3. Set Boot Address (offset 0x10)
  4. Then set Reconfiguration register to start (offset 0x1D)

Please let me know where I am doing mistake.

I have referred section 1.4 of attached document.

 

Thanks

Tejas Limbasiya

  1.  
0 Kudos
5 Replies
AnandRaj_S_Intel
Employee
139 Views

Hi,

 

Before Reconfiguration you can Disable Watchdog Timer. to avoid any error.

 

You can refer below link example design

https://fpgacloud.intel.com/devstore/platform/17.0.0/Standard/cyclone-10-lp-remote-system-update-des...

Also refer below links

https://www.youtube.com/watch?v=4Eob-sxCSxU

https://www.youtube.com/watch?v=zxVDx38H9Vg

https://www.youtube.com/watch?v=edFn55SLM58

 

Let me know if this has helped resolve the issue you are facing or if you need any further assistance.

 

Regards

Anand

 

TejasL
Beginner
139 Views

Dear Anand,

First of All thank you for your valuable reply, I have already referred that document. But unfortunately I am configuring RSU IP core in NIOS II software not via RTL design.

 

Also I want to know that if I disable Watchdog Timer and in case my Application image is corrupted or not available then How system will come back in Factory Image?

 

Thanks,

Tejas Limbasiya

AnandRaj_S_Intel
Employee
139 Views

Hi,

 

Sorry for the inconvenience caused.

 

  1. if Watchdog Time is disable and faulty application it will stalling the device indefinitely. by resting the device to load factory image.
  2. if Watchdog Time is enable and faulty application or reconfiguration trigger condition, The remote system upgrade circuitry generates a time-out signal. The time-out signal triggers the circuitry to set the user watchdog timer status bit (Wd) in the remote system upgrade status register and reconfigures the device by loading the factory configuration image.
  3. Look into Register Map of RSU IP for NIOS II software development.

 

Regards

Anand

TejasL
Beginner
139 Views

Hello,

 

Thanks for your support, I have followed the steps you have described above and configured RSU IP core successfully.

 

One more thing, we have to reset the Watch dog timer after certain interval while system is in application image, so can we have something so that we need not to reset watchdog time to reduce load on application image.

AnandRaj_S_Intel
Employee
139 Views

Hello,

 

If the application configuration does not reset the user watchdog timer before time expires, the dedicated circuitry reconfigures the device with the factory configuration and resets the user watchdog timer.

So we need to reset the watchdog timer before time expires.

 

Regards

Anand

 

Reply