"Flash file to target" and "flash security ON"

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

"Flash file to target" and "flash security ON"

1,459 次查看
mancbs06
Contributor I

Hello,

I'm trying to flash file to target with KDS 1.1.1 + PE usb multilink + SWD on MKL26Z256 MCU.

In register FTFA_FSEC[SEC] I've tried the combination 00, 01, 11 but no one works (in CW the only working configuration was 11).

If the security is off (10) I can program the target and everything works, but if I turn ON the flash security my application doesn't start after reset or power on.

Any idea?

 

Thanks in advance.

Manuel.

标签 (1)
0 项奖励
回复
3 回复数

1,233 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi mancbs06,

- is this problem only happened with "Flash File to target"?

- how does it work if with normal debugging?

- can you upload your demo project for our further investigating?

thanks!

=========================================

this answer is for you, if it helps, please click on "Correct Answer " button. thanks!

Best Regards,

Zhang Jun

0 项奖励
回复

1,233 次查看
mancbs06
Contributor I

Hi Zhang Jun,

1) The problem happened only with "Flash file to target";

2)  Debug only work if security is off (also in CW debug works only if security is off);

3)  I use PE (Component inspector Cpu -> Properties -> Flash configuration -> Security settings -> Flash security). It's possible to set "Security bits value" in 00, 01, 11.

Thanks.

Best regards,

Manuel.

0 项奖励
回复

1,233 次查看
hengwu
Contributor I

how  to solve it?

0 项奖励
回复