Executing flash operation 'Program' (Program executable into flash frdmmcxw71_hello_world.axf) - Mon Feb 17 12:04:29 CST 2025
Checking MCU info...
Scanning for targets...
Executing flash action...
SEGGER J-Link Commander V8.10 (Compiled Sep 26 2024 08:38:41)
DLL version V8.10, compiled Sep 26 2024 08:37:48
J-Link Command File read successfully.
Processing script file...
J-Link>ExitOnError 1
J-Link Commander will now exit on Error
J-Link>r
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled May 7 2021 16:26:12
Hardware version: V9.30
J-Link uptime (since boot): N/A (Not supported by this model)
S/N: 609300711
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
VTref=3.308V
Target connection not established yet but required for command.
Device "MCXW716" selected.
Connecting to target via SWD
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 6us
InitTarget() start
SWD selected. Executing JTAG -> SWD switching sequence.
InitTarget() end - Took 2.03ms
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
Iterating through AP map to find AHB-AP to use
AP[0]: Skipped ROMBASE read. CoreBaseAddr manually set by user
AP[0]: Core found
CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)
Feature set: Mainline
Cache: No cache
Found Cortex-M33 r0p4, Little endian.
Cortex-M (ARMv8-M and later): The connected J-Link (S/N 609300711) uses an old firmware module that does not handle I/D-cache correctly. Proper debugging functionality cannot be guaranteed if cache is enabled
FPUnit: 8 code (BP) slots and 0 literal slots
Security extension: implemented
Secure debug: enabled
ROM table scan skipped. CoreBaseAddr manually set by user: 0x80030000
SetupTarget() start
SetupTarget() end - Took 7.45ms
Memory zones:
"Default" Description: Default access mode
Cortex-M33 identified.
Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
ResetTarget() start
Valid boot image detected. Application entry point : 0x000258CC
Reset via SYSRESETREQ + halt at application entry point.
ResetTarget() end - Took 148ms
J-Link>h
PC = 000258CC, CycleCnt = 00000000
R0 = 000258CD, R1 = 20000A00, R2 = 0000FFFF, R3 = 00000407
R4 = E000ED08, R5 = 05FA0004, R6 = C33CC33C, R7 = 50003000
R8 = 0C00F301, R9 = 5AC3C35A, R10= 20000A00, R11= 30003100
R12= 50024004
SP(R13)= 20000A00, MSP= 20000A00, PSP= 00000000, R14(LR) = 14812EDF
XPSR = 69000000: APSR = nZCvQ, EPSR = 01000000, IPSR = 000 (NoException)
CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00
MSPLIM = 00000000
PSPLIM = 00000000
Security extension regs:
MSP_S = 20000A00, MSP_NS = 00000000
MSPLIM_S = 00000000, MSPLIM_NS = 00000000
PSP_S = 00000000, PSP_NS = FFFFFFFC
PSPLIM_S = 00000000, PSPLIM_NS = 00000000
CONTROL_S = 00, FAULTMASK_S = 00, BASEPRI_S = 00, PRIMASK_S = 00
CONTROL_NS = 00, FAULTMASK_NS = 00, BASEPRI_NS = 00, PRIMASK_NS = 00
FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000
FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000
FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000
FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= 00000000
FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000
FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000
FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000
FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= 00000000
FPSCR= 00000000
J-Link>loadfile "C:\MCU_IDE24.9\frdmmcxw71_hello_world\Debug\frdmmcxw71_hello_world.hex"
'loadfile': Performing implicit reset & halt of MCU.
ResetTarget() start
Valid boot image detected. Application entry point : 0x000258CC
Reset via SYSRESETREQ + halt at application entry point.
ResetTarget() end - Took 147ms
Downloading file [C:\MCU_IDE24.9\frdmmcxw71_hello_world\Debug\frdmmcxw71_hello_world.hex]...
J-Link: Flash download: Bank 0 @ 0x00000000: 1 range affected (16384 bytes)
J-Link: Flash download: Total: 0.262s (Prepare: 0.051s, Compare: 0.076s, Erase: 0.009s, Program & Verify: 0.109s, Restore: 0.016s)
J-Link: Flash download: Program & Verify speed: 146 KB/s
O.K.
J-Link>qc
Script processing completed.
Based on the log, it's a connection issue. I suggest you try the following methods:
1. First, check whether the connections are loose.
2. Perform a mass erase and then try again.
