KL16 Security Issue

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

KL16 Security Issue

跳至解决方案
738 次查看
ScottKerstein
Contributor III

Hello,

User code on KL16 runs fine; however, when security fsec is enabled, the micro reset every 1msec.  What could the problem be?

Thanks, in advance,

Scott

标签 (1)
0 项奖励
1 解答
522 次查看
tommyp
Contributor III

Hi All, I found the problem.  During development, the CodeWarrior flashes via ELF file.  When I attempted flashing Hex from P&E Max, the hex file failed.  I did not output all required sections, resulting in a bad image and the behavior I experienced.

Thanks!

在原帖中查看解决方案

0 项奖励
5 回复数
523 次查看
tommyp
Contributor III

Hi All, I found the problem.  During development, the CodeWarrior flashes via ELF file.  When I attempted flashing Hex from P&E Max, the hex file failed.  I did not output all required sections, resulting in a bad image and the behavior I experienced.

Thanks!

0 项奖励
522 次查看
tommyp
Contributor III

A little more info.  When secured, the reset line only goes to 2volts.  Unsecured it goes to 3.3v.

0 项奖励
522 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Tom,

Could you provide more detailed info about your application software?

Which KL16 modules you are using with your application?

And do you have any Flash operation within your application?


Have a great day,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
522 次查看
tommyp
Contributor III

I flashed a version of the code which stops at POR reset entry and does minimal init to remove any application specific issues.   I'm suspecting that the P&E debugger I'm using is not flashing properly, but since the part is secured, I have no way to confirm beyond the fact the test code is not running.  I'm using a custom trim which the P&E flashes as part of the download process (or should be).   I'm stumped.

0 项奖励
522 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

I would recommend customer to unlock the KL16 chip with Segger J-Link tool.

More detailed info, please check below link:

https://community.nxp.com/thread/439921?commentID=857127#comment-857127 


Have a great day,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励