Forum Discussion
Thank you for your reply.
First, let me provide some additional details.
In this configuration, one Nios software image is stored in UFM and is started using UFM’s XIP feature. The software that boots acts as a bootloader, which then copies another Nios software image from QSPI flash into RAM and executes it.
Based on your advice, I will check whether UFM is correctly configured to use XIP and verify that the reset vector and exception vector are set properly.
I will get back to you once there is any progress.
After that, I checked the vector address settings and other configurations, and they all seem to be correct.
What I originally want to achieve is execution directly from the on-chip flash (UFM). However, to verify whether the UFM is being written correctly, I changed the configuration to load the UFM contents into RAM and execute from there, but this did not work either.
At this point, I am not sure whether the issue is that:
the UFM is not being programmed correctly,
XIP from UFM is not functioning properly, or
there is some incorrect configuration elsewhere.
If you have any ideas or possible solutions, I would greatly appreciate your advice