S32K312 Advanced Secure Boot Debug Configuration

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

S32K312 Advanced Secure Boot Debug Configuration

跳至解决方案
1,601 次查看
muzaffer-yavuz
Contributor I

I have a question regarding S32K312 Advanced Secure Boot implementation. Does "RAM application (reload after each reset/restart)" option in GDB SEGGER J-Link Debug Configuration Startup menu in S32DS has any effect on advanced secure boot in any possible linker script configuration at least in S32KXX_demo_app? For example does debugger loads application on different address (because of linker script) based on whether this option is selected or not?

 

 

0 项奖励
回复
1 解答
1,580 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @muzaffer-yavuz 

1. "RAM application (reload after each reset/restart)" has an effect for RAM projects only, not for flash projects. S32KXX_demo_app is flash project.
RAM projects are usually used for quick tests only to save time (flash is not programmed, project is loaded only to RAM). Obviously the limitation is size of RAM. It does not make sense to use RAM project for testing of advanced secure boot.
2. HSE_DEMOAPP (S32KXX_demo_app) can be used only with debugger Trace32 from Lauterbach. It does not work with other debuggers.
3. HSE_DEMOAPP was ported to HSE DemoExamples which can be used with any debugger:
https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples

Regards,
Lukas

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,581 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @muzaffer-yavuz 

1. "RAM application (reload after each reset/restart)" has an effect for RAM projects only, not for flash projects. S32KXX_demo_app is flash project.
RAM projects are usually used for quick tests only to save time (flash is not programmed, project is loaded only to RAM). Obviously the limitation is size of RAM. It does not make sense to use RAM project for testing of advanced secure boot.
2. HSE_DEMOAPP (S32KXX_demo_app) can be used only with debugger Trace32 from Lauterbach. It does not work with other debuggers.
3. HSE_DEMOAPP was ported to HSE DemoExamples which can be used with any debugger:
https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples

Regards,
Lukas

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2048212%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K312%E9%AB%98%E7%BA%A7%E5%AE%89%E5%85%A8%E5%90%AF%E5%8A%A8%E8%B0%83%E8%AF%95%E9%85%8D%E7%BD%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2048212%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E6%9C%89%E4%B8%80%E4%B8%AA%E5%85%B3%E4%BA%8E%20S32K312%20%E9%AB%98%E7%BA%A7%E5%AE%89%E5%85%A8%E5%90%AF%E5%8A%A8%E5%AE%9E%E7%8E%B0%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82S32DS%20%E4%B8%AD%20GDB%20SEGGER%20J-Link%20%E8%B0%83%E8%AF%95%E9%85%8D%E7%BD%AE%E5%90%AF%E5%8A%A8%E8%8F%9C%E5%8D%95%E4%B8%AD%E7%9A%84%E2%80%9CRAM%20%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%EF%BC%88%E6%AF%8F%E6%AC%A1%E9%87%8D%E7%BD%AE%2F%E9%87%8D%E5%90%AF%E5%90%8E%E9%87%8D%E6%96%B0%E5%8A%A0%E8%BD%BD%EF%BC%89%E2%80%9D%E9%80%89%E9%A1%B9%E6%98%AF%E5%90%A6%E5%AF%B9%E4%BB%BB%E4%BD%95%E5%8F%AF%E8%83%BD%E7%9A%84%E9%93%BE%E6%8E%A5%E5%99%A8%E8%84%9A%E6%9C%AC%E9%85%8D%E7%BD%AE%E4%B8%AD%E7%9A%84%E9%AB%98%E7%BA%A7%E5%AE%89%E5%85%A8%E5%90%AF%E5%8A%A8%E6%9C%89%E4%BB%BB%E4%BD%95%E5%BD%B1%E5%93%8D%EF%BC%88%E8%87%B3%E5%B0%91%E5%9C%A8%20S32KXX_demo_app%20%E4%B8%AD%EF%BC%89%EF%BC%9F%E4%BE%8B%E5%A6%82%EF%BC%8C%E6%A0%B9%E6%8D%AE%E6%98%AF%E5%90%A6%E9%80%89%E6%8B%A9%E6%A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