Good day to all!
I am using IMX8ULPIEC processor and I encountered problem when using rpmsg_lite_pingpong_rtos_linux_remote example on m33 kernel.
The example compiles and runs, but when I upload it to the flash memory of the controller (emmc) and try to debug in VScode, the program gets into an infinite loop during the initialization of the clocks and does not exit it (specifically in BOARD_InitBootClocks() -> BOARD_BootClockRUN() -> UPOWER_Init(NULL) -> UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0) -> while (!callbackStatus));
if another example from the SDK is uploaded to the flash memory of the microcontroller (hello_world for example), when debugging both the hello_world example and rpmsg_lite_pingpong_rtos_linux_remote, there is no freezing (in while (!callbackStatus) inside BOARD_InitBootClocks). That is, when the RTOS PingPong example is loaded into Flash under debug, no other examples can execute BOARD_InitBootClocks().
Question: what could be the reason for this behavior and what can be done to prevent it?
I load projects with the "debug" build configuration into Flash, and I try to debug in VScode with the same one
Hello,
Can you load it successfully when you use fatload and bootaux in uboot
Best Regards,
Zhiming
Hello,
There is a limitation when use VSCode on i.MX8ULP. Please refer the page 10 in this AN.
https://www.nxp.com/docs/en/application-note/AN14120.pdf
Best Regards,
Zhiming
Hello,
Can you share the boot type on board and imx-mkimage steps referring the Getting Started with MCUXpresso SDK for EVK-MIMX8ULP and EVK9-MIMX8ULP in SDK_2_xxxx_EVK-MIMX8ULP\docs?
Best Regards,
Zhiming