LPC1830 secure booting

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1830 secure booting

1,200 次查看
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

标签 (3)
标记 (3)
0 项奖励
回复
2 回复数

1,087 次查看
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 项奖励
回复

1,087 次查看
kensu
Contributor V

Hi Alexis 

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

Best Regards

Ken

0 项奖励
回复