SEGGER J-Link GDB Server V6.22g LogFile Logging started @ 2018-02-06 09:57 03-00000000-00-00000000-00C6: Command line: -if JTAG -device MCIMX7D7_M4 -speed 300 -jlinkscriptfile C:\Eclipse_MCU_And_Toolchains\JLink\JLink_V622g\Devices\NXP\iMX7D\NXP_iMX7D_Connect_CortexM4.JLinkScript -log CUSTOM_M4_con.txt 03-00000000-00-00000006-0023: -----GDB Server start settings----- 03-00000000-00-00000006-0023: GDBInit file: none 03-00000000-00-00000006-0023: GDB Server Listening port: 2331 03-00000000-00-00000006-0023: SWO raw output listening port: 2332 03-00000000-00-00000006-0023: Terminal I/O port: 2333 03-00000000-00-00000006-002D: Accept remote connection: localhost only 03-00000000-00-00000006-0021: Generate logfile: on 03-00000000-00-00000006-0022: Verify download: off 03-00000000-00-00000007-0022: Init regs on start: off 03-00000000-00-00000007-0022: Silent mode: off 03-00000000-00-00000007-0022: Single run mode: off 03-00000000-00-00000007-0023: Target connection timeout: 0 ms 03-00000000-00-00000015-0023: ------J-Link related settings------ 03-00000000-00-00000015-0022: J-Link Host interface: USB 03-00000000-00-00000015-0087: J-Link script: C:\Eclipse_MCU_And_Toolchains\JLink\JLink_V622g\Devices\NXP\iMX7D\NXP_iMX7D_Connect_CortexM4.JLinkScript 03-00000000-00-00000015-0023: J-Link settings file: none 03-00000000-00-00000015-0023: ------Target related settings------ 03-00000000-00-00000015-002A: Target device: MCIMX7D7_M4 03-00000000-00-00000015-0023: Target interface: JTAG 03-00000000-00-00000016-0025: Target interface speed: 300kHz 03-00000000-00-00000016-0025: Target endian: little 03-00000000-00-00000016-0017: Connecting to J-Link... 02-00000000-00-00000022-0032: Firmware: J-Link V10 compiled Jan 11 2018 10:41:05 02-00000000-00-00000022-0010: Hardware: V10.10 02-00000000-00-00000022-000D: S/N: 50117772 02-00000000-00-00000024-000F: Feature(s): GDB 02-00000000-00-00000030-0032: TELNET listener socket opened on port 19021WEBSRV 02-00000000-00-00000030-0029: Starting webserver (0014ms, 0014ms total) 02-00000000-00-00000030-0051: T19CC 000:020 WEBSRV Webserver running on local port 19080 (0014ms, 0014ms total) 02-00000000-00-00000030-0033: T19CC 000:020 returns O.K. (0014ms, 0014ms total) 03-00000000-00-00000031-0014: J-Link is connected. 02-00000000-00-00000167-00BB: T19CC 000:035 JLINK_ExecCommand("device = MCIMX7D7_M4", ...). C:\Eclipse_MCU_And_Toolchains\JLink\JLink_V622g\JLinkDevices.xml evaluated successfully. returns 0x00 (0136ms, 0150ms total) 02-00000000-00-00000168-00C4: T19CC 000:171 JLINK_ExecCommand("ScriptFile = C:\Eclipse_MCU_And_Toolchains\JLink\JLink_V622g\Devices\NXP\iMX7D\NXP_iMX7D_Connect_CortexM4.JLinkScript", ...). returns 0x00 (0001ms, 0151ms total) 02-00000000-00-00000168-0041: T19CC 000:172 JLINK_GetFirmwareString(...) (0000ms, 0151ms total) 03-00000000-00-00000170-0032: Firmware: J-Link V10 compiled Jan 11 2018 10:41:05 02-00000000-00-00000170-0050: T19CC 000:174 JLINK_GetHardwareVersion() returns 0x18A88 (0000ms, 0151ms total) 03-00000000-00-00000170-0010: Hardware: V10.10 03-00000000-00-00000171-000D: S/N: 50117772 03-00000000-00-00000171-000F: Feature(s): GDB 02-00000000-00-00000172-0049: T19CC 000:175 JLINK_GetHWStatus(...) returns 0x00 (0001ms, 0152ms total) 02-00000000-00-00000172-003C: T19CC 000:176 JLINK_EnableSoftBPs(ON) (0000ms, 0152ms total) 03-00000000-00-00000172-001A: Checking target voltage... 03-00000000-00-00000172-0016: Target voltage: 3.32 V 03-00000000-00-00000173-001D: Listening on TCP/IP port 2331 03-00000000-00-00000173-0017: Connecting to target... 02-00000000-00-00000173-0035: T19CC 000:177 JLINK_ClrError() (0000ms, 0152ms total) 02-00000000-00-00000174-0049: T19CC 000:177 JLINK_GetHWStatus(...) returns 0x00 (0001ms, 0153ms total) 02-00000000-00-00000175-0056: T19CC 000:178 JLINK_TIF_Select(JLINKARM_TIF_JTAG) returns 0x00 (0001ms, 0154ms total) 02-00000000-00-00000175-0038: T19CC 000:179 JLINK_SetSpeed(300) (0000ms, 0154ms total) 02-00000000-00-00000175-0044: T19CC 000:179 JLINK_GetSpeed() returns 0x12C (0000ms, 0154ms total) 02-00000000-00-00000175-0077: T19CC 000:179 JLINK_SetResetType(JLINKARM_RESET_TYPE_NORMAL) returns JLINKARM_RESET_TYPE_NORMAL (0000ms, 0154ms total) 02-00000000-00-00000175-003B: T19CC 000:179 JLINK_SetResetDelay(0) (0000ms, 0154ms total) 02-00000000-00-00000175-0055: T19CC 000:179 JLINK_SetEndian(ARM_ENDIAN_LITTLE) returns 0x00 (0000ms, 0154ms total) 02-00000000-00-00000182-01F8: T19CC 000:179 JLINK_Connect() J-Link Script File: Executing InitTarget() *************************************************J-Link script: iMX7D Cortex-M4 core J-Link script************************************************* >0x2F8 JTAG>TotalIRLen = 4, IRPrint = 0x01 >0x30 JTAG> >0x30 JTAG>AP map detection skipped. Manually configured AP map found.AP[0]: AHB-AP (IDR: Not set)AP[1]: APB-AP (IDR: Not set)AP[2]: CUSTOM-AP (IDR: Not set)AP[3]: CUSTOM-AP (IDR: Not set)AP[4]: AHB-AP (IDR: Not set) >0xB0 JTAG> 02-00000000-00-00000197-01DA: >0x48 JTAG> >0x48 JTAG> >0x78 JTAG> >0x40 JTAG> >0x30 JTAG> >0x40 JTAG> >0x40 JTAG>AP[4]: Core foundAP[4]: AHB-AP ROM base: 0xE00FF000 >0x40 JTAG> >0x40 JTAG> >0x30 JTAG> >0x40 JTAG> >0x40 JTAG>CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)Found Cortex-M4 r0p1, Little endian. -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- CPU_WriteMem(4 bytes @ 0xE000EDF0) -- CPU_ReadMem(4 bytes @ 0xE0002000) -- CPU_ReadMem(4 bytes @ 0xE000EDFC) -- CPU_WriteMem(4 bytes @ 0xE000EDFC) 02-00000000-00-00000216-01DD: -- CPU_ReadMem(4 bytes @ 0xE0001000) -- CPU_WriteMem(4 bytes @ 0xE0001000) -- CPU_ReadMem(4 bytes @ 0xE000ED88) -- CPU_WriteMem(4 bytes @ 0xE000ED88) -- CPU_ReadMem(4 bytes @ 0xE000ED88) -- CPU_WriteMem(4 bytes @ 0xE000ED88)CoreSight components:ROMTbl[0] @ E00FF000 -- CPU_ReadMem(16 bytes @ 0xE00FF000) -- CPU_ReadMem(16 bytes @ 0xE000EFF0) -- CPU_ReadMem(16 bytes @ 0xE000EFE0)ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7 -- CPU_ReadMem(16 bytes @ 0xE0001FF0) 02-00000000-00-00000237-01D8: -- CPU_ReadMem(16 bytes @ 0xE0001FE0)ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT -- CPU_ReadMem(16 bytes @ 0xE0002FF0) -- CPU_ReadMem(16 bytes @ 0xE0002FE0)ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB -- CPU_ReadMem(16 bytes @ 0xE0000FF0) -- CPU_ReadMem(16 bytes @ 0xE0000FE0)ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM -- CPU_ReadMem(16 bytes @ 0xE00FF010) -- CPU_ReadMem(16 bytes @ 0xE0041FF0) -- CPU_ReadMem(16 bytes @ 0xE0041FE0) 02-00000000-00-00000250-018C: ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM -- CPU_ReadMem(16 bytes @ 0xE0043FF0) -- CPU_ReadMem(16 bytes @ 0xE0043FE0)ROMTbl[0][7]: E0043000, CID: B105900D, PID: 001BB908 CSTF -- CPU_ReadMem(16 bytes @ 0xE00FF020) -- CPU_ReadMem(16 bytes @ 0xE0044FF0) -- CPU_ReadMem(16 bytes @ 0xE0044FE0)ROMTbl[0][8]: E0044000, CID: B105900D, PID: 004BB906 CTI returns 0x00 (0075ms, 0229ms total) 02-00000000-00-00000250-008C: T19CC 000:254 JLINK_GetIdData(...) ScanLen=4 NumDevices=1 aId[0]=0x5BA00477 aIrRead[0]=0 aScanLen[0]=0 aScanRead[0]=0 (0000ms, 0229ms total) 02-00000000-00-00000250-0048: T19CC 000:254 JLINK_GetDeviceFamily() returns 14 (0000ms, 0229ms total) 02-00000000-00-00000250-004D: T19CC 000:254 JLINK_CORE_GetFound() returns 0xE0000FF (0000ms, 0229ms total) 03-00000000-00-00000253-002B: J-Link found 1 JTAG device, Total IRLen = 4 03-00000000-00-00000254-001F: JTAG ID: 0x5BA00477 (Cortex-M4) 02-00000000-00-00000254-003D: T19CC 000:258 JLINK_GetConfigData(...) (0000ms, 0229ms total) 02-00000000-00-00000256-0044: T19CC 000:258 JLINK_IsHalted() returns FALSE (0002ms, 0231ms total) 03-00000000-00-00000261-0020: WARNING: CPU could not be halted 02-00000000-00-00000261-0056: T19CC 000:260 JLINK_Halt()CPU could not be halted returns 0x01 (0005ms, 0234ms total) 03-00000000-00-00000262-0035: Halting target device failed. Trying again with reset 02-00000000-00-00000271-00E1: T19CC 000:266 JLINK_Reset() J-Link Script File: Executing ResetTarget() -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE0002000) -- CPU_ReadMem(4 bytes @ 0xE000EDFC) -- CPU_ReadMem(4 bytes @ 0xE0001000) (0009ms, 0243ms total) 03-00000000-00-00000277-0020: WARNING: CPU could not be halted 02-00000000-00-00000277-0056: T19CC 000:275 JLINK_Halt()CPU could not be halted returns 0x01 (0006ms, 0249ms total) 03-00000000-00-00000278-0027: Failed to halt target device on connect 03-00000000-00-00000279-0023: ERROR: Could not connect to target. 03-00000000-00-00000279-0035: Target connection failed. GDBServer will be closed... 03-00000000-00-00000293-0037: Restoring target state and closing J-Link connection... 02-00000000-00-00000293-0041: T19CC 000:297 JLINK_IsOpen() returns 0x01 (0000ms, 0249ms total) 02-00000000-00-00000293-0058: T19CC 000:297 JLINK_ExecCommand("ClrAllBPs", ...). returns 0x00 (0000ms, 0249ms total) 03-00000000-00-00000313-0010: Shutting down...