iMX8ULP XIP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8ULP XIP

1,082 Views
sb_3
Contributor I

I'm haven't come across any resources for flashing the M33 on the iMX8ULP to execute in place from NOR.

I can run the flash_debug.sh script to build the app and place the sections based on the flash linker file. My assumption is that I need to run `mkimage_imx8` with the target of "flash_dualboot_m33_xip" (memory address of MCU_XIP_ADDR aligns with the interrupts/text section in the linker file). After creating that flash.bin (result of flash_dualboot_m33_xip), I'm having issues flashing with UUU. I've downloaded LF_v6.6.52-2.2.0_images_IMX8ULPEVK from the NXP page for the system, but I don't see any references to the XIP used.

My end goal is to have my M33 app execute in place from NOR and my A35 app be in eMMC.

Labels (1)
0 Kudos
Reply
3 Replies

1,036 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

For this you will need to have 2 boot images, where one would be used as a flashing tool and the image to be flashed. With this you may used the following  command:

uuu –b qspi flash-singleboot.bin flash-dualboot-m33_xip.bin

Best regards/Saludos,
Aldo.

0 Kudos
Reply

1,026 Views
sb_3
Contributor I
Thanks for the reply! I assume after running that uuu command, I can also flash the A35 image to eMMC the same as usual?

998 Views
AldoG
NXP TechSupport
NXP TechSupport
Hello,

Yes, you may do so without a problem.

Best regards/Saludos,
Aldo.
0 Kudos
Reply