As mentioned in AM263Px MCU+ SDK: Enabling XIP or eXecute In Place , the application entry point, interrupt vectors and initial code upto main() should still execute from RAM. After main() the code can execute from flash. I see that you're trying to place R5F_VECS into flash instead of RAM. Only the .text and .rodata needs to be stored into flash.
↧