Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21073 Discussions

Remote update for Cyclone 10GX

fpgaSoft
Beginner
2,212 Views

I am writing a bootloader programme using the Intel Remote update IP on a cyclone 10GX.
The Remote update block is part of a NIOS II system and is setup using platform designer.
The factory image is based at 0x20 in flash
The application image is at 0x01001000 in flash

From the factory I can successfully start the application image - all seems ok
The application image will be stopped and the factory image restarted if there is a problem (e.g no WDT kicking), this also seems to work ok too. I can read back why the factory image has been restarted.

However when in the application image there appears to be no way of telling that the application image is the image running. ie the RU_CONFIGURATION_MODE is 0 not 1 as I expect.
This was set to 1, in the factory image, prior to starting the application image - using Altera's function "altera_remote_update_trigger_reconfig"

I am correct in a saying that this register should be 1, to show the application image is being run?
The user guide seems to suggest this is the case.

 

 

 

 

Labels (1)
0 Kudos
16 Replies
NurAiman_M_Intel
Employee
2,126 Views

Hi,


"However, when in the application image there appears to be no way of telling that the application image is the image running. ie the RU_CONFIGURATION_MODE is 0 not 1 as I expect.

This was set to 1, in the factory image, prior to starting the application image - using Altera's function "altera_remote_update_trigger_reconfig""


-When starting the application image, set the RU_CONFIGURATION_MODE to 1 in the application page. Factory image is 0.

You may refer to the Remote Update IP userguide below page 15.


https://www.intel.com/content/www/us/en/docs/programmable/683695/19-4-19-1-0/remote-update-intel-fpga-ip-user-guide.html


Regards,

Aiman



0 Kudos
NurAiman_M_Intel
Employee
1,974 Views

Hi,


Any further information needed for this case?


Regards,

Aiman


0 Kudos
fpgaSoft
Beginner
1,962 Views

Hi,

   sorry for the delay.

When I am in the factory image and I want to start the application image I call:

altera_remote_update_trigger_reconfig (DEVICE, 1, 0x1001000, 0x00);

Where:

DEVICE is the Remote update IP block

1 is for applicaiton page

0x1001000 is the address application image in flash

0x00 is watchdog value.

That function does set the RU_CONFIGURATION_MODE register to 1 before starting the application image.

 

This should mean that when the application image is running, when the RU_CONFIGURATION_MODE is read, it should be read back as 1?

This is certainly what seems to be suggested from the link you sent, yet it still doesn't work,  it appears to be always set to 0.

It appears to be getting reset to 0 even though the correct application is being run.

 

Best Regards

 

 

 

 

 

0 Kudos
NurAiman_M_Intel
Employee
1,907 Views

Hi,

 

Does the FPGA is getting program? Does the application image take effect or not? Example: if you are using LED, does the LED blinking?

 

Regards,

Aiman

0 Kudos
fpgaSoft
Beginner
1,897 Views

Hi Aiman,

   the application image runs absolutely fine.

Best Regards

 

0 Kudos
NurAiman_M_Intel
Employee
1,702 Views

Hi,


Apologize for the delay in response. I am currently checking the behavior of the remote update with our internal team. I will provide you the feedback by next week.


Thanks for your understanding.


Regards,

Aiman


0 Kudos
NurAiman_M_Intel
Employee
1,580 Views

Hi,


Checking some information here, do you refer to any design example?


Regards,

Aiman


0 Kudos
fpgaSoft
Beginner
1,575 Views

Hi,

 I looked at some examples on the Intel design store, including this one :

https://www.intel.com/content/www/us/en/design-example/714976/intel-cyclone-10-gx-fpga-remote-system-update-design-example.html

 

I haven't been back to experiment with this design again

 

Best regards

 

0 Kudos
NurAiman_M_Intel
Employee
1,502 Views

Hi,


Have you checked the value of MSM? Usually we check for the current image status through the MSM. 


Regards,

Aiman


0 Kudos
fpgaSoft
Beginner
1,490 Views

Hi Aiman,

 

MSM? as in master state machine current state mode?

As in table 17 on page 31  in the Remote Update Intel FPGA IP User Guide?

 

If so then no, because I am using the Cyclone 10GX not LX device, there appears to be no mention of the MSM for the GX version

 

Best regards

 

 

 

 

0 Kudos
NurAiman_M_Intel
Employee
1,420 Views

Hi,


May I know the sequence of observation of ru_configuration_mode. Is it observed after reconfiguration or prior to reconfiguration?

Regards,

Aiman


0 Kudos
fpgaSoft
Beginner
1,408 Views

Hi,

 

The factory image tells the RU block to start the application image.

 

Then when the application image starts up, the first thing it does is read the ru_configuration_mode .

 

 

I hope that helps clarify things

 

Best regards

 

0 Kudos
NurAiman_M_Intel
Employee
1,223 Views

Hi,


Updated information from our internal team, this is expected as RSU register is reset once reconfiguration is triggered. The register does not retain the configuration mode value after reconfiguration. 


Regards,

Aiman


0 Kudos
NurAiman_M_Intel
Employee
1,094 Views

Hi,


Do you need any further information for this case? Else, I will proceed to close this case for now.


Regards,

Aiman




0 Kudos
fpgaSoft
Beginner
1,085 Views

Hi Aiman,

 

no I think that is ok at present.

 

Many Thanks

 

 

 

0 Kudos
NurAiman_M_Intel
Employee
1,068 Views

I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


0 Kudos
Reply