Device is secure

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Device is secure

650件の閲覧回数
vimalprasath
Contributor II

I have custom Board with K64 MCU embedded in it.when i try to flash the code via MCUXpresso and Multilink Debugger.Im getting this error "Device is secure .Erase to unsecure" 
How do i solve this issue?Capture.PNG

0 件の賞賛
返信
1 返信

586件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Please select yes to unsecure the chip.

In Flash address 0x40c is the Flash security byte. If this byte is changed to a error value, you'll see it. This value is set in startup_mk64fxxx12.c.

__attribute__ ((used,section(".FlashConfig"))) const struct {
    unsigned int word1;
    unsigned int word2;
    unsigned int word3;
    unsigned int word4;
} Flash_Config = {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFE};  //if you dont want to secure the chip

Details please find in 29.34.3 Flash Security Register (FTFE_FSEC)

Regards,

Jing

0 件の賞賛
返信