Micro MKM34Z256VLL7 damages

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Micro MKM34Z256VLL7 damages

1,532 Views
kalpesh_dodiya
Contributor I

Hello, 


I am using MKM34Z256VLL7 controller in my application. During development I stuck up in one critical issue i.e., Micro controller damage and also it is not able to reprogram.

While scrutinizing the issue, I found that if I connect - disconnect the Micro UART connection (Pin 91 and Pin 92) to external communication devices then micros are getting damaged; UART is running on 3.3V supply/signal level.

Another in recent experience, Micro damaged just while connecting the DSO - oscilloscope probe ground to micro ground. I checked the oscilloscope, its ground was isolated to mains supply and board remains untouched so there is no electrical over stress. Here Micro controller supply remains 3.3V but reset signal is permanently remains at low 0V level. Also I am not able to reprogram it.

Can you please help me to get rid out of this critical issues.

0 Kudos
7 Replies

1,144 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Please refer below thread and try to unlock the KM34 chip.

https://community.nxp.com/thread/439921?commentID=857127#comment-857127 

Wish it helps.


Have a great day,
Mike

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,144 Views
kalpesh_dodiya
Contributor I

Hi Hui_Ma

I am getting message "cannot connect to target".

I have tried using J link.exe and J flash tool. Please help me.

Regards

Kalpesh

0 Kudos

1,144 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Kalpesh,

Could you post the KM34 debug interface schematics for double check?

And please provide the Flash configuration Field Value also.

pastedImage_1.png


Have a great day,
Mike

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,144 Views
kalpesh_dodiya
Contributor I

Here, I am not able to upload interface for Debug image.
Message comes "You are not allowed to create or update this content"

BTW,
FSEC value : 0xFE
Debug interface through SWD :

Pins of micro controllers interface as below;
pin 56 : Reset having external RC delay (10 kohm & 10nF ceramic chip capacitor)
pin 65 : Debug IO
pin 66 : Debug Clock
Vdd & Ground
I am using J link debugger from Segger.
With above interface I am able to program and debug other micro controllers which are functionally ok (not locked/damaged) and thereby I believe interface is ok, any feedback please.

My problem is getting severe and development stuck up. 

Another points I want to clarify that, in my design TAMPER0, TAMPER1 & TAMPER2 are grounded and I have made ND logic disabled in bootloader. Also in my design there is no RTC battery and RTC is disabled in application. Any feedback please?

Regards
Kalpesh

0 Kudos

1,144 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

The FSEC value 0xFE means KM34 is unsecured and debugger isn't blocked.

You mentioned debug the code, so which IDE software are you using?

Could you post your IDE debugger panel setting for double check? Thanks.


Have a great day,
Mike

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,144 Views
kalpesh_dodiya
Contributor I

Hello Mike,

I am using Keil V5.23 and debugger settings snapshots are attached here.Capture1.JPG

Capture2.JPG

Capture3.JPG

I have analyzed and found, 

In some of units I able to unlock the Micro controller but just next if I connect the board to J link debugger to reprogram, it shows the message “cannot connect to target”.

Later I think to erase the chip using “erase Kinetis” command through jlink.exe (command window) but it shows timeout while halting the CPU and couldn’t connect to target. If you can interpret the logs then we can solve the problem. For reference I have attached “Unlock OK_Erase Not OK.jpg” here in attachment.

Unlock OK_Erase Not ok.jpg

Halt_J Flash lite_Timeout while unsecuring.JPG

Please give your feedback..

Regards

Kalpesh Dodiya

 

0 Kudos

1,144 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Please try with attached J-Link script.

The Kinetis Kxx Cortex-M4 erase all and unsecure manual in Chinese, I add the translation for your reference.

I think this J-Link script also be suitable for ARM Cortex-M0+ core.

Wish it helps.


Have a great day,
Mike

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos