Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

max10 RSU without nios

aiedb
Beginner
894 Views

hii 

 

is there a documentation that show the work flow that i need in order to perform MAX10 rsu without the help of nios ii , with my discrete logic ???

Labels (1)
0 Kudos
7 Replies
KalenB_Altera
Employee
881 Views

Hi Aiebd,

 

RSU on Max 10 has two key steps; 1) Write the new image to flash via the User Flash Memory IP (https://www.intel.com/content/www/us/en/docs/programmable/683180/18-0/on-chip-flash-core-references.html) and 2) Identifying to the configuration system what CFM to use on the next nConfig and trigger reconfiguration via the Dual Configuration IP (https://www.intel.com/content/www/us/en/docs/programmable/683865/current/dual-configuration-core-26199.html).

 

You could definitely use an FSM to do these operations. I hope these user guides help give you the info you need.  

0 Kudos
aiedb
Beginner
810 Views

hii thanks a lot for help

 

lets say i want to write my own fsm to trigger an rsu after writing my image to cfm0 and cfm 1/2 what are the registers that i need to work with in order to :

1- trigger the nconfig ?

2-to choose from which cfm that fpga get configured ?

 

0 Kudos
KalenB_Altera
Employee
773 Views

Hi Aiebd,

 

Section 5.2 of the Dual Config IP mentions the registers and fields. Here's a link: https://www.intel.com/content/www/us/en/docs/programmable/683865/current/dual-configuration-core-memory-mapped.html

 

The relevant registers for your question are at word address 0 and 1. I've coped them below:

 

Offset R/W Width (Bits) Description

0W32
  • Bit 0—Trigger reconfiguration.
  • Bit 1—Reset the watchdog timer.
  • Bit 31:2—Reserved.
Signals are triggered at the same write cycle on Avalon® .
1W32
  • Bit 0—Trigger config_sel_overwrite value to the input register.
    • 0: Disable overwrite config_sel pin.
    • 1: Enable overwrite config_sel pin.
  • Bit 1—Writes config_sel value to the input register. Set 0 or 1 to load from configuration image 0 or 1 respectively
    • 0: Load configuration image 0.
    • 1: Load configuration image 1.
  • Bit 31:2—Reserved.
The busy signal is generated right after the write cycle, while the configuration image information is registered. Once the busy signal is high, writing to this address is ignored until the process is completed and the busy signal is de-asserted.

 

0 Kudos
aiedb
Beginner
711 Views

hii thanks for your reply , i will try to built my own fsm and see how it will work for me 

0 Kudos
KennyTan_Altera
Moderator
659 Views

Do you have further question? If no, we shall close this thread.


0 Kudos
aiedb
Beginner
643 Views

hii you can close thanks 

0 Kudos
KennyTan_Altera
Moderator
618 Views

I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.



0 Kudos
Reply