Please check S32K RM document error (flash part)

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

Please check S32K RM document error (flash part)

跳至解决方案
1,778 次查看
kmh48301
Contributor IV

Hello.

I found some error in s32k rm document. so please check and fix it.

This source code is just flash_partitioning example.

 

1.

as you can see, MCU security status is unsecure. before erase all block

no1.PNG

 

 but, after erase all block, the sec field is still same.

so the mcu security status is still unsecure.

no2.PNG

 

s32k rm p844

no3.PNG

but, in rm, erase all block command make the MCU status secured....

 

and weird thing

 

no4.PNG

 rm 863p

On this part in RM, 

I'm confused.

 

In my opinion, after erase all block command (no reset yet)

in data flash IFR, SEC field is secured state (erased state)

but in FSEC, SEC field is unsecured state. (because not loaded from IFR yet)

so, right after erase all block, I can use flash commands.

but after reset, i can't use flash commands becuase the FSEC[SEC] field became secured.

 

Check my understand please

 

2 I think this is mistyping error  (rm 824p 36.4.4.1.7 FPROT)

no5.PNG

the number of the region is 32.

but on this table last number of the region is 32. so this table is saying the number of the region is 33.

 

As I calculate those 'start address' and 'end address' in that table, that contents is right.

(0x0011_c000 is came out when I put region number 31 into formula)

 

Please check

 

 

 

Thanks

Best regards,

Phillip

 

 

 

 

 

标签 (1)
0 项奖励
回复
1 解答
1,774 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Phillip,

1.

Your understanding is correct, the FSEC register is loader during the system reset.

When the MCU is secure, the FTFC commands can still be  internally by the application itself, but the debugger does not have access to it. 

 

2.

Yes, this is a typo, there should be 31.

Sorry for the confusion and thank you for pointing it out.

 

Regards,

Daniel

 

 

在原帖中查看解决方案

2 回复数
1,775 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Phillip,

1.

Your understanding is correct, the FSEC register is loader during the system reset.

When the MCU is secure, the FTFC commands can still be  internally by the application itself, but the debugger does not have access to it. 

 

2.

Yes, this is a typo, there should be 31.

Sorry for the confusion and thank you for pointing it out.

 

Regards,

Daniel

 

 

1,770 次查看
kmh48301
Contributor IV

Thanks for replying!

https://community.nxp.com/t5/S32-SDK/P-amp-E-Connection-Assistant-error-occured-in-a-rush/td-p/11508...

Please check this post, too.. This is in a hurry.

 

 

Thanks

Best regards,

Phillip

 

0 项奖励
回复