Hi,
I just received an FRDM-KEAZ128 board and am trying to connect via J-Link. The connection of different devices is attached. When I typed `connect` on the J-Link Commander, I received the following printout:
SEGGER J-Link Commander V7.62c (Compiled Mar 23 2022 16:45:48)
DLL version V7.62c, compiled Mar 23 2022 16:44:32
Connecting to J-Link via USB...O.K.
Firmware: J-Link V11 compiled Mar 3 2022 10:16:14
Hardware version: V11.00
S/N: 51022156
License(s): GDB
USB speed mode: Full speed (12 MBit/s)
VTref=1.844V
Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: S9KEAZ128XXXX (ALLOW SECURITY)
Type '?' for selection dialog
Device>
Please specify target interface:
J) JTAG (Default)
S) SWD
T) cJTAG
TIF>
Device position in JTAG chain (IRPre,DRPre) <Default>: -1,-1 => Auto-detect
JTAGConf>
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>
Device "S9KEAZ128XXXX (ALLOW SECURITY)" selected.
Connecting to target via JTAG
InitTarget()
Connect Under Reset
Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
Timeout while unsecuring device. Erase never starts.
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
InitTarget()
Connect Under Reset
Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
Timeout while unsecuring device. Erase never starts.
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
InitTarget()
Connect Under Reset
Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
Timeout while unsecuring device. Erase never starts.
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
InitTarget()
Connect Under Reset
Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
Timeout while unsecuring device. Erase never starts.
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
Cannot connect to target.
I shorted jumper wires 2 and 3, which is supposed to be the config "Reset signal direct to the MCU when OpenSDA is not powered". When I plugged in the power supply, I found green LED on D3 and red LED near SW1, and the LED D11 is not blinking. (This LED blinked when I shorted jumpers 1 and 2, so I think my board is functioning). However, when I checked voltage between GND (pin J3-13) and 5V (pin J3-09), I found the output to be 2.5V. Is this normal? Another thing that I found suspicious was that Vref to J-Link was 1.844V, but I suppose J-Link Vref is often 3.3V. Is this why my connection failed?
Thanks.