- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Regards,
Aiman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Any further information needed for this case?
Regards,
Aiman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aiman,
the application image runs absolutely fine.
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Checking some information here, do you refer to any design example?
Regards,
Aiman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I looked at some examples on the Intel design store, including this one :
I haven't been back to experiment with this design again
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Have you checked the value of MSM? Usually we check for the current image status through the MSM.
Regards,
Aiman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
May I know the sequence of observation of ru_configuration_mode. Is it observed after reconfiguration or prior to reconfiguration?
Regards,
Aiman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you need any further information for this case? Else, I will proceed to close this case for now.
Regards,
Aiman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aiman,
no I think that is ok at present.
Many Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page