Hi,Experts
On the development board, I am using SDK7.0 to try to start the app in xip mode. The demo app in SDK7.0 can be started successfully. But I have a few questions to ask.
1.When using xip to start, the sbl_cust_img file is used, but in the code I see that the xip mode of OSPI is not turned on, as shown in the figure below. The SBL_HLOS_OWNS_FLASH compile option has be defined, so the ospi_cfg.xipEnable = false. Why can disable xip and demo start successfully??
2.The startup process of the demo is sbl_cust_img->sbl_baremetal_boot_xip_entry_j721e_evm_mcu1_0TestApp_release.appimage->can_profile_xip_app_mcu1_0_release.xer5f.bin.
At the same time, I also analyzed the role of each file. I think the role of the sbl_baremetal_boot_xip_entry_j721e_evm_mcu1_0TestApp_release.appimage file is just to make the PC pointer jump to the 0x500e0000 address to run can_profile_xip_app_mcu1_0_release.xer5f.bin. So I was wondering whether we can remove the sbl_baremetal_boot_xip_entry_j721e_evm_mcu1_0TestApp_release.appimage file, and then do a PC jump at the last step of the sbl_cust_img file?
3.Of course I tried it, but unfortunately I can jump to can_profile_xip_app_mcu1_0_release.xer5f.bin, but in the end the core died. Did I do something wrong? Or is this method not working? Please give me some support, thank you!The jump method and log information are shown in the figure below:
Please reply as soon as possible!
Regards,
Xie