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

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

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

702件の閲覧回数
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 返答(返信)

476件の閲覧回数
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 件の賞賛

476件の閲覧回数
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 件の賞賛

476件の閲覧回数
hengwu
Contributor I

how  to solve it?

0 件の賞賛