MKL02 programming problem after reset disable

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

MKL02 programming problem after reset disable

1,873件の閲覧回数
OilCastle
Contributor II

Hello, I`m newbie.

my target is MKL02 (FRDM-KL02Z board)

my problem is this

i`m checking reset pin change to gpio, and i did it.

and i mistake is every pin (include SWD pin) setting as gpio

and now i cannot program on my target

i`m using Keil uVision

anyone dose know how to program in this case?

if you know, plz, give me hint (like datasheet or ref. manual page)

now i`m little-bit panic, so i`ll take some coffee

have a nice day.

5 返答(返信)

1,652件の閲覧回数
OilCastle
Contributor II

thanks for your help pavel

i already change my MCU.

before i tried full chip erase, MCU dose not connect with openSDA j-link

after this if i have chance, i`ll try your way

have a nice day

and thanks

0 件の賞賛
返信

1,651件の閲覧回数
pavel_krenek
NXP Employee
NXP Employee

Hi,

I attached script for flash unsecuring using j-link. You can try to by this method, if you aren't lucky you need to change the MCU. Pls unzip the file and try to start unsecure.bat.

Regard,
Pavel

1,651件の閲覧回数
pavel_krenek
NXP Employee
NXP Employee

Hi Jun,

do mass erase of the flash memory. I hope you can do it in Keil or if not you can use some external tool.

BTW what type of debug tool are you using ?

Best regards,

Pavel

0 件の賞賛
返信

1,651件の閲覧回数
OilCastle
Contributor II

well, it`s not working.

i disable reset pin by startup code

and after reset, SWD pin is set as a gpio (i messed up)

i tried open SDA j-link for full-chip erase

but it is not connected with j-link

should i change  my chip?

or there are any other way i don`t know?

have a nice day.

0 件の賞賛
返信

1,651件の閲覧回数
OilCastle
Contributor II

thx for answer pavel.

i`m using openSDA on KL02Z board

and now i`ll try Multilink Universal

i wish it works

0 件の賞賛
返信