KL17 BOOT ROM recover failure

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

KL17 BOOT ROM recover failure

2,976件の閲覧回数
Shumei
Contributor I

Hi,

I have a board with KL17-64 installed and it was working all fine until accidentally flashed am image for KL17-128 into it.

Now the I2C communication channel is broken, always returning -EIO.  I am trying to recover the board from ROMBOOT with BOOTCONFIG0 set to low "0" and reset the MCU chip, but it fails boot to ROMBOOT.

I guess the BCA configuration is messed up.

Please anyone can help me with this issue?  any suggestions?

Thanks

0 件の賞賛
返信
4 返答(返信)

2,936件の閲覧回数
Shumei
Contributor I

Hi Jing,

Thanks for following up with me.

I got a debugger card: MCU-LINK, and installed the latest firmware for it.

But our target board has KL17 MCU, no USB interface. We need hardware team to help wiring out the SWD pins for me, which is in progress.

As this is first time using a debugger card, I wondering if it still works if my target board's MCU is HALT or DEAD.

I've searched around, found this page for debugger commands:

https://arm-software.github.io/CMSIS_5/DAP/html/group__DAP__Commands__gr.html

Can you please suggest any other web pages I should look into and the command sequence to run?

Regards,

Shumei

0 件の賞賛
返信

2,930件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

To unlock kinetis by MCU-Link, you can use MCUXpresso IDE.

jingpan_0-1616133002564.png

 

Regards,

Jing

0 件の賞賛
返信

2,965件の閲覧回数
Shumei
Contributor I

Thanks Jing for the suggestion!

Yes, A debugger should be able to erase or fix the BCA and bring it back to ROM boot.

I'll looking for a debugger and give it a try.

0 件の賞賛
返信

2,968件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi Shumei,

Can you use debugger to erase flash?

 

Regards,

Jing

0 件の賞賛
返信