KM34Z75M Maintenance Mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

KM34Z75M Maintenance Mode

跳至解决方案
1,353 次查看
KKR231
Contributor II

Hi

I have TWR-KM34Z75M board and it goes under Maintenance mode. Can you please guide to resolve it. 

I tried and logs of that 

"Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: MKM34Z256XXX7
Type '?' for selection dialog
Device>?
Please specify target interface:
J) JTAG (Default)
S) SWD
T) cJTAG
TIF>S
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>
Device "MKM34Z256XXX7" selected.


Connecting to target via SWD
InitTarget()
SWD selected. Executing JTAG -> SWD switching sequence.
Connect Under Reset
SWD selected. Executing JTAG -> SWD switching sequence.
Readout protection is set and mass erase is disabled. J-Link cannot unprotect the device.
Found SW-DP with ID 0x2BA01477
Failed to power up DAP
InitTarget()
SWD selected. Executing JTAG -> SWD switching sequence.
Connect Under Reset
SWD selected. Executing JTAG -> SWD switching sequence.
Readout protection is set and mass erase is disabled. J-Link cannot unprotect the device.
Found SW-DP with ID 0x2BA01477
Failed to power up DAP
Cannot connect to target."

Thankyou

0 项奖励
回复
1 解答
1,323 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, I reviewed your information, and the mode of Maintenance Mode sometimes is when the MK20 (debugger) of the frdm is prepared to update the firmware.

*So, this thread could help you the debugger on the board, to get out of the maintenance mode.

OpenSDA Serial and Debug Adapter | NXP Semiconductors

*The other part of the message from the JLink Commander mentioned is not possible to communicate via SWD with the target because is locked.

Readout protection is set, and mass erase is disabled. J-Link cannot unprotect the device.

The JLink commander cannot establish the communication, the MCU is lock, to get more details about the level of this will need to read the FSEC register, notice if the back door key is available to recovery the MCU, the other way the MCU could be stay in brick mode.

Here you can read more about the FSEC register.

Using Kinetis Security and Flash Protection Features (nxp.com)

Best regards,
Pavel

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,324 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, I reviewed your information, and the mode of Maintenance Mode sometimes is when the MK20 (debugger) of the frdm is prepared to update the firmware.

*So, this thread could help you the debugger on the board, to get out of the maintenance mode.

OpenSDA Serial and Debug Adapter | NXP Semiconductors

*The other part of the message from the JLink Commander mentioned is not possible to communicate via SWD with the target because is locked.

Readout protection is set, and mass erase is disabled. J-Link cannot unprotect the device.

The JLink commander cannot establish the communication, the MCU is lock, to get more details about the level of this will need to read the FSEC register, notice if the back door key is available to recovery the MCU, the other way the MCU could be stay in brick mode.

Here you can read more about the FSEC register.

Using Kinetis Security and Flash Protection Features (nxp.com)

Best regards,
Pavel

 

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1957527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EKM34Z75M%20%E7%BB%B4%E6%8A%A4%E6%A8%A1%E5%BC%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1957527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%E6%88%91%E6%9C%89%20TWR-KM34Z75M%20%E4%B8%BB%E6%9D%BF%EF%BC%8C%E5%AE%83%E5%A4%84%E4%BA%8E%E7%BB%B4%E6%8A%A4%E6%A8%A1%E5%BC%8F%E3%80%82%E6%82%A8%E8%83%BD%E6%8C%87%E5%AF%BC%E5%A6%82%E4%BD%95%E8%A7%A3%E5%86%B3%E5%90%97%EF%BC%9F%3C%2FP%3E%3CP%3E%E6%88%91%E5%B0%9D%E8%AF%95%E8%BF%87%E5%B9%B6%E8%AE%B0%E5%BD%95%E4%BA%86%E8%BF%99%E4%B8%80%E7%82%B9%3C%2FP%3E%3CP%3E%3CEM%3E%E8%BE%93%E5%85%A5%E2%80%9Cconnect%E2%80%9D%E5%BB%BA%E7%AB%8B%E7%9B%AE%E6%A0%87%E8%BF%9E%E6%8E%A5%EF%BC%8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%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%20DAP%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%E6%97%A0%E6%B3%95%E8%BF%9E%E6%8E%A5%E5%88%B0%E7%9B%AE%E6%A0%87%E3%80%82%E2%80%9D%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%E8%B0%A2%E8%B0%A2%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1958121%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AKM34Z75M%20%E7%BB%B4%E6%8A%A4%E6%A8%A1%E5%BC%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1958121%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%E6%88%91%E5%8F%AB%20Pavel%EF%BC%8C%E6%88%91%E5%B0%86%E6%94%AF%E6%8C%81%E6%82%A8%E7%9A%84%E6%A1%88%E4%BE%8B%EF%BC%8C%E6%88%91%E6%9F%A5%E7%9C%8B%E4%BA%86%E6%82%A8%E7%9A%84%E4%BF%A1%E6%81%AF%EF%BC%8C%E7%BB%B4%E6%8A%A4%E6%A8%A1%E5%BC%8F%E6%9C%89%E6%97%B6%E6%98%AF%E5%BD%93%20frdm%20%E7%9A%84%20MK20%EF%BC%88%E8%B0%83%E8%AF%95%E5%99%A8%EF%BC%89%E5%87%86%E5%A4%87%E6%9B%B4%E6%96%B0%E5%9B%BA%E4%BB%B6%E6%97%B6%E3%80%82%3C%2FP%3E%0A%3CP%3E*%E5%9B%A0%E6%AD%A4%EF%BC%8C%E8%BF%99%E4%B8%AA%E7%BA%BF%E7%A8%8B%E5%8F%AF%E4%BB%A5%E5%B8%AE%E5%8A%A9%E6%82%A8%E8%B0%83%E8%AF%95%E6%9D%BF%E4%B8%8A%E7%9A%84%E8%B0%83%E8%AF%95%E5%99%A8%EF%BC%8C%E4%BB%A5%E6%91%86%E8%84%B1%E7%BB%B4%E6%8A%A4%E6%A8%A1%E5%BC%8F%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fsensor-toolbox%2Fopensda-serial-and-debug-adapter%3AOPENSDA%3Ftid%3DvanOpenSDA%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EOpenSDA%20%E4%B8%B2%E8%A1%8C%E5%92%8C%E8%B0%83%E8%AF%95%E9%80%82%E9%85%8D%E5%99%A8%20%7C%20NXP%20%E5%8D%8A%E5%AF%BC%E4%BD%93%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E*JLink%20Commander%20%E6%B6%88%E6%81%AF%E7%9A%84%E5%8F%A6%E4%B8%80%E9%83%A8%E5%88%86%E6%8F%90%E5%88%B0%E6%97%A0%E6%B3%95%E9%80%9A%E8%BF%87%20SWD%20%E4%B8%8E%E7%9B%AE%E6%A0%87%E8%BF%9B%E8%A1%8C%E9%80%9A%E4%BF%A1%EF%BC%8C%E5%9B%A0%E4%B8%BA%E5%B7%B2%E8%A2%AB%E9%94%81%E5%AE%9A%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CU%3E%3CEM%3E%E8%AF%BB%E5%87%BA%E4%BF%9D%E6%8A%A4%E5%B7%B2%E8%AE%BE%E7%BD%AE%EF%BC%8C%E5%B9%B6%E4%B8%94%E6%89%B9%E9%87%8F%E6%93%A6%E9%99%A4%E5%B7%B2%E7%A6%81%E7%94%A8%E3%80%82J-Link%20%E6%97%A0%E6%B3%95%E5%8F%96%E6%B6%88%E5%AF%B9%E8%AE%BE%E5%A4%87%E7%9A%84%E4%BF%9D%E6%8A%A4%E3%80%82%3C%2FEM%3E%3C%2FU%3E%3C%2FP%3E%0A%3CP%3EJLink%20%E6%8C%87%E6%8C%A5%E5%AE%98%E6%97%A0%E6%B3%95%E5%BB%BA%E7%AB%8B%E9%80%9A%E4%BF%A1%EF%BC%8CMCU%20%E8%A2%AB%E9%94%81%E5%AE%9A%EF%BC%8C%E8%A6%81%E8%8E%B7%E5%BE%97%E6%9C%89%E5%85%B3%E6%AD%A4%E7%BA%A7%E5%88%AB%E7%9A%84%E6%9B%B4%E5%A4%9A%E8%AF%A6%E7%BB%86%E4%BF%A1%E6%81%AF%EF%BC%8C%E9%9C%80%E8%A6%81%E8%AF%BB%E5%8F%96%20FSEC%20%E5%AF%84%E5%AD%98%E5%99%A8%EF%BC%8C%E6%B3%A8%E6%84%8F%E5%90%8E%E9%97%A8%E5%AF%86%E9%92%A5%E6%98%AF%E5%90%A6%E5%8F%AF%E7%94%A8%E4%BA%8E%E6%81%A2%E5%A4%8D%20MCU%EF%BC%8C%E5%90%A6%E5%88%99%20MCU%20%E5%8F%AF%E8%83%BD%E4%BC%9A%E5%81%9C%E7%95%99%E5%9C%A8%E7%A0%96%E6%A8%A1%E5%BC%8F%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%E6%AD%A4%E5%A4%84%E9%98%85%E8%AF%BB%E6%9C%89%E5%85%B3%20FSEC%20%E5%AF%84%E5%AD%98%E5%99%A8%E7%9A%84%E6%9B%B4%E5%A4%9A%E4%BF%A1%E6%81%AF%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN4507.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%E4%BD%BF%E7%94%A8%20Kinetis%20%E5%AE%89%E5%85%A8%E5%92%8C%E9%97%AA%E5%AD%98%E4%BF%9D%E6%8A%A4%E5%8A%9F%E8%83%BD%20(nxp.com)%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E6%AD%A4%E8%87%B4%EF%BC%8C%3CBR%20%2F%3E%E5%B8%95%E7%BB%B4%E5%B0%94%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E