About KE06 secure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About KE06 secure

492 Views
cyesman
Contributor II

I want to secure the KE06 for prohibiting to readback the code from MCU outside. The RM sheet show the "FTMRE_FSEC" Bit SEC. But it is readonly. How can I handle this?

0 Kudos
Reply
6 Replies

471 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As the following fig, if you replace the red rectangle 0xFFFE_FFFF with (0xFFFF_FFFF, or 0xFFFD_FFFF,0xFFFC_FFFF), it is okay.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1727090226862.png

xiangjun_rong_1-1727090466463.png

xiangjun_rong_2-1727090637979.png

 

0 Kudos
Reply

465 Views
cyesman
Contributor II

Do we had sample demo on the Keil MDK. I had tested to add some code in the"system_MKE06Z4.c". It reported faut

0 Kudos
Reply

446 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

The Keil tools has the flash configuration, pls refer to the fig.

xiangjun_rong_0-1727156881260.png

 

Hope it can help you

BTW, this is SDK web site:

https://mcuxpresso.nxp.com/en/welcome

BR

XiangJun Rong

0 Kudos
Reply

437 Views
cyesman
Contributor II

Thanks!

Tags (1)
0 Kudos
Reply

436 Views
cyesman
Contributor II

Another question. The SEC Bit contains four types. Do those had any detail explantion?

0 Kudos
Reply

414 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As the following Fig, when the SEC bits are 00, 01, 11, they are the same, the chip will be in secure mode, the SWD port is blocked. when the SEC bits are 10, the chip is in unsecure mode, user can read via SWD port.

Hope it can help you

BR

Xiangjun Rong

xiangjun_rong_0-1727167806178.png

 

0 Kudos
Reply