Error flashing new MKW37Z512

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

Error flashing new MKW37Z512

891 Views
rahul_singh
Contributor II

Hi,

I hope everyone is well and doing great.

I have a kind of problematic situation here. I have the MKW37Z512 sample controller from NXP with me, but I am unable to flash program into it. I am even unable to connect to the target MCU using the Jlink commander tool.

I have connected PTA0(pin no. 1), PTA1(pin no. 2), PTA2(pin no. 3) with debugger's SWD_DIO, SWD_CLK, RESET respectively. And I have powered the controller: connected VDD_0(pin no. 20) to an external 3.3v and with Debugger, center pad to an external ground.

Note: I have made all these connections with the free air jumpers and all other pins except the 5 listed above are not connected.

I am using the Segger link to flash the controller with the following specifications:

SEGGER J-Link Commander V7.60f (Compiled Jan 25, 2022, 16:42:38)
DLL version V7.60f, compiled Jan 25 2022 16:41:22

Below are the jlink logs I am getting.

Connecting to J-Link via USB...O.K.
Firmware: J-Link V10 compiled Nov  2 2021 12:14:50
Hardware version: V10.10
S/N: 50109965
License(s): GDB
VTref=0.000V

Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: MKW37Z512XXX4
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>1000
Device "MKW37Z512XXX4" selected.


Connecting to target via SWD
InitTarget() start
InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset
InitTarget() end
InitTarget() start
InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.

 

 As per my understanding, these connections are enough to flash the controller. Maybe I am missing something here. My current plan is to see if my code and custom board designed on MKW35z512 will be able to run on MKW37z512 without any changes or not for which I am doing this exercise.

But I am stuck at the first stage of flashing itself.

I would really appreciate if anyone get me any help. 

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

868 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi,

 

Hope you are doing well. As you are having this issue with your custom board, it is hard to say what could be your problem.

You could try to add a pull up/down resistor to your SWD pins, like it is recommended in this post: Design Considerations for Debug - NXP Community.

 

Regards,

Ricardo

0 Kudos
Reply