LPC1830 secure booting

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

LPC1830 secure booting

776 Views
kensu
Contributor V

Dears

I have a question about LPC1830 secure booting, if I want to use secure image, I read the "LPCScrypt_User_Guide" and LPC1830 user manual. 

pastedImage_1.png

pastedImage_2.png

I want to know, decrypt image to SRAM 0x1000 0000 and set program counter = 0x1000,0000 is implement by HW?

Can I change 0x1000 0000 to other address Ex: External SDRAM?

Can I find the source code of decrypt and set program counter = 0x1000,0000? ex: start.s?

My compiler is MCUXpresso.

Thanks

Ken

Labels (3)
Tags (3)
0 Kudos
Reply
2 Replies

663 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Ken Su,

This flowchart is refering to the ROM boot code, this code can't be modified and isn't available. The program counter is set in this ROM code and also the position of the SRAM.

Also if you are using, note that the code need to be linked to RAM, for this in the MCUxpresso, in the project properties->C/C++ Build -> Settings -> Managed Linker Script, enable the option [Plain load image] and select the option that start at 0x1000 0000.

pastedImage_1.png

You can see the location of the memory sections in the project properties->C/C++ Build ->MCU settings.

pastedImage_2.png

I hope this can help you.

Best Regards,

Alexis Andalon

0 Kudos
Reply

663 Views
kensu
Contributor V

Hi Alexis 

Thanks for your information, I get good help from your reply.

Best Regards

Ken

0 Kudos
Reply