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
解決済! 解決策の投稿を見る。
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!
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!
A little more info. When secured, the reset line only goes to 2volts. Unsecured it goes to 3.3v.
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!
-----------------------------------------------------------------------------------------------------------------------
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.
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!
-----------------------------------------------------------------------------------------------------------------------