LPC55S69: Booting from Flash

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

LPC55S69: Booting from Flash

558 Views
raz3l
Contributor III

Hi everyone,

I'm currently working with the NXP LPC55S69 board and encountering an issue that I hope someone here might help me troubleshoot.

I have an application that I want to run immediately after a cold reset (i.e., full power cycle), but for some reason, it's not starting as expected.

I've verified that the vector table is correctly located at the beginning of flash (0x10000000) with the correct value for the MSP and Reset Handler on the first two words. This can also be confirmed in the disassembly file I've attached to this post.

The image is correctly flashed to the device and if I manually jump to the reset handler using a debugger, the application starts and runs fine.

Is there something I'm missing, possibly related to boot configuration or security settings on the LPC55S69 that would prevent the boot ROM from jumping to my vector table at 0x10000000?

Any tips or suggestions are greatly appreciated! Thanks in advance!

Labels (1)
0 Kudos
Reply
3 Replies

540 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Please check the boot configuration pins, if these pins are set incorrectly then your device might enter on ISP mode instead of booting from flash. Are you using TrustZone? If you're using TrustZone or secure boot features, the boot ROM may refuse to boot if the image is not properly signed or if the secure state is misconfigured.

Best regards,
Omar

0 Kudos
Reply

523 Views
raz3l
Contributor III
Yes, I'm using TrustZone. I suppose I didn't properly signed the image in any way. How can I do that? Can I check in the MCUXpresso how it's done?
0 Kudos
Reply

476 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

If using trustzone then make sure that the access is from a secure state to a secure resource otherwise it will fail.

Omar_Anguiano_0-1749166955105.png

 

Is Secure Boot enabled? If it is not enabled then it is not needed to have a signed image. It can be made referring to secure boot chapter from the User Guide  and the image signed with Secure Provisioning Tool.

Best regards,
Omar

0 Kudos
Reply