mke18f512 locked out after chip erase

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

mke18f512 locked out after chip erase

ソリューションへジャンプ
977件の閲覧回数
boguc
Contributor I

I have series of the factory new mke18f512 chips that i try to program.

Initially, they can be connected to and read with J-Flash:

boguc_0-1715330401866.png

Read blank output:

boguc_1-1715331097038.png

However, after erasing the first sector (or attempting to program), J-Link is unable to establish a connection to the MCU:

boguc_2-1715331183004.png

unlock Kinetis command in j-flash did not helped. Running it on a new, not locked device caused a lock.

What could be the source of my problem?

 

 

 

0 件の賞賛
返信
1 解決策
903件の閲覧回数
boguc
Contributor I

Hello, I found the issue. The poor design of the filter circuit for the VDDA supply caused a 1V oscillation on that line. This had an effect of sporadic loss of connection with the MCU. 

boguc_0-1716274537454.png

Replacing L2 with a 0-ohm resistor fixed the problem.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
904件の閲覧回数
boguc
Contributor I

Hello, I found the issue. The poor design of the filter circuit for the VDDA supply caused a 1V oscillation on that line. This had an effect of sporadic loss of connection with the MCU. 

boguc_0-1716274537454.png

Replacing L2 with a 0-ohm resistor fixed the problem.

0 件の賞賛
返信
929件の閲覧回数
PavelM
NXP Employee
NXP Employee

Hello, it looks you locket device by writing 11 value into FSEC.SEC register. Kindly check the AN4507 https://www.nxp.com/docs/en/application-note/AN4507.pdf.  Chapter 2.1.1 FSEC register and field settings. Are you able to erase and program device directly from MCUXpresso or IAR or Keil? Did mass erase solved your issue?

0 件の賞賛
返信