T347C 000:000.701 SEGGER J-Link V6.54c Log File T347C 000:000.882 DLL Compiled: Nov 7 2019 17:01:25 T347C 000:000.915 Logging started @ 2019-11-22 07:07 T347C 000:000.984 JLINK_ExecCommand("EnableAutoUpdateFW", ...). T347C 000:001.031 - 0.064ms returns 0x00 T347C 000:001.069 JLINK_OpenEx(...) T347C 000:004.003 Firmware: J-Link STLink V21 compiled Aug 12 2019 10:29:20 T347C 000:016.437 Hardware: V1.00 T347C 000:016.490 S/N: 778921284 T347C 000:016.524 OEM: SEGGER T347C 000:016.560 Feature(s): None T347C 000:018.475 TELNET listener socket opened on port 19021 T347C 000:039.076 WEBSRV Starting webserver T347C 000:039.338 WEBSRV Webserver running on local port 19080 T347C 000:039.383 - 38.325ms returns "O.K." T347C 000:039.618 JLINK_GetEmuCaps() T347C 000:039.646 - 0.032ms returns 0x98EA5A33 T347C 000:039.662 JLINK_GetFirmwareString(...) T347C 000:039.676 - 0.019ms T347C 000:039.954 JLINK_GetDLLVersion() returns 65403 T347C 000:040.207 JLINK_GetHardwareVersion() T347C 000:040.232 - 0.031ms returns 0x2710 T347C 000:040.496 JLINK_GetHWStatus(...) T347C 000:040.702 - 0.221ms returns 0x00 T347C 000:040.975 JLINK_ExecCommand("ProjectFile = "C:/Users/ps/Documents/Git/SensorBoard/emStudio/SensorBoard/SensorBoard_Debug.jlink"", ...). T347C 000:043.543 Ref file found at: C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30a\bin\JLinkDevices.ref T347C 000:043.654 XML referenced by ref file: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml T347C 000:043.726 XML file found at: C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.30a\bin\JLinkDevices.xml T347C 000:043.739 Ignoring XML in DLL dir and using ref file instead. T347C 000:047.691 C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. T347C 000:126.020 - 85.065ms returns 0x00 T347C 000:126.159 JLINK_EMU_GetCurrConnectionInfo() T347C 000:126.183 - 0.030ms returns 0 T347C 000:126.246 JLINK_DEVICE_GetIndex(sDeviceName = STM32L432KC) T347C 000:126.376 returns 6440 T347C 000:126.393 JLINK_ExecCommand("device = STM32L432KC", ...). T347C 000:127.029 Device "STM32L432KC" selected. T347C 000:128.809 - 2.418ms returns 0x00 T347C 000:128.835 JLINK_DEVICE_GetIndex(sDeviceName = STM32L432KC) T347C 000:129.025 returns 6440 T347C 000:129.039 JLINK_DEVICE_GetInfo(DeviceIndex = 6440) T347C 000:129.059 returns 0 T347C 000:129.071 JLINK_GetEmuCaps() T347C 000:129.082 - 0.016ms returns 0x98EA5A33 T347C 000:129.097 JLINK_TIF_GetAvailable(...) T347C 000:129.432 - 0.347ms T347C 000:129.456 JLINK_TIF_Select(JLINKARM_TIF_SWD) T347C 000:130.497 - 1.055ms returns 0x00 T347C 000:130.520 JLINK_GetEmuCaps() T347C 000:130.531 - 0.016ms returns 0x98EA5A33 T347C 000:130.548 JLINK_SWO_Control(JLINKARM_SWO_CMD_GET_SPEED_INFO, ...) T347C 000:130.915 returns 0x00 T347C 000:130.976 JLINK_SetEndian(ARM_ENDIAN_LITTLE) T347C 000:130.988 - 0.017ms returns 0x00 T347C 000:131.000 JLINK_GetEmuCaps() T347C 000:131.011 - 0.015ms returns 0x98EA5A33 T347C 000:131.031 JLINK_SetSpeed(0) T347C 000:133.515 Found SW-DP with ID 0x2BA01477 T347C 000:167.641 Found SW-DP with ID 0x2BA01477 T347C 000:174.602 Scanning AP map to find all available APs T347C 000:181.397 AP[1]: Stopped AP scan as end of AP map has been reached T347C 000:181.884 AP[0]: AHB-AP (IDR: 0x24770011) T347C 000:182.458 Iterating through AP map to find AHB-AP to use T347C 000:194.576 AP[0]: Core found T347C 000:195.139 AP[0]: AHB-AP ROM base: 0xE00FF000 T347C 000:200.834 CPUID register: 0x410FC241. Implementer code: 0x41 (ARM) T347C 000:201.388 Found Cortex-M4 r0p1, Little endian. T347C 000:303.380 -- Max. mem block: 0x00002E10 T347C 000:303.563 -- CPU_ReadMem(4 bytes @ 0xE000EDF0) T347C 000:309.370 -- CPU_ReadMem(4 bytes @ 0xE0002000) T347C 000:312.456 FPUnit: 6 code (BP) slots and 2 literal slots T347C 000:312.593 -- CPU_ReadMem(4 bytes @ 0xE000EDFC) T347C 000:314.833 -- CPU_ReadMem(4 bytes @ 0xE0001000) T347C 000:317.057 -- CPU_WriteMem(4 bytes @ 0xE0001000) T347C 000:319.382 -- CPU_ReadMem(4 bytes @ 0xE000ED88) T347C 000:321.761 -- CPU_WriteMem(4 bytes @ 0xE000ED88) T347C 000:324.040 -- CPU_ReadMem(4 bytes @ 0xE000ED88) T347C 000:326.244 -- CPU_WriteMem(4 bytes @ 0xE000ED88) T347C 000:329.092 CoreSight components: T347C 000:329.638 ROMTbl[0] @ E00FF000 T347C 000:329.729 -- CPU_ReadMem(16 bytes @ 0xE00FF000) T347C 000:332.681 -- CPU_ReadMem(16 bytes @ 0xE000EFF0) T347C 000:335.667 -- CPU_ReadMem(16 bytes @ 0xE000EFE0) T347C 000:339.610 ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7 T347C 000:339.723 -- CPU_ReadMem(16 bytes @ 0xE0001FF0) T347C 000:342.714 -- CPU_ReadMem(16 bytes @ 0xE0001FE0) T347C 000:348.278 ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT T347C 000:348.399 -- CPU_ReadMem(16 bytes @ 0xE0002FF0) T347C 000:351.353 -- CPU_ReadMem(16 bytes @ 0xE0002FE0) T347C 000:355.310 ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB T347C 000:355.428 -- CPU_ReadMem(16 bytes @ 0xE0000FF0) T347C 000:358.336 -- CPU_ReadMem(16 bytes @ 0xE0000FE0) T347C 000:362.245 ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM T347C 000:362.362 -- CPU_ReadMem(16 bytes @ 0xE00FF010) T347C 000:365.354 -- CPU_ReadMem(16 bytes @ 0xE0040FF0) T347C 000:368.334 -- CPU_ReadMem(16 bytes @ 0xE0040FE0) T347C 000:372.247 ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU T347C 000:372.365 -- CPU_ReadMem(16 bytes @ 0xE0041FF0) T347C 000:375.311 -- CPU_ReadMem(16 bytes @ 0xE0041FE0) T347C 000:379.310 ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM T347C 000:379.988 - 249.043ms T347C 000:380.131 JLINK_GetSpeed() T347C 000:380.182 - 0.075ms returns 0x7D0 T347C 000:380.464 JLINK_Connect() T347C 000:383.765 Found SW-DP with ID 0x2BA01477 T347C 000:423.230 Found SW-DP with ID 0x2BA01477 T347C 000:429.746 AP map detection skipped. Manually configured AP map found. T347C 000:430.460 AP[0]: AHB-AP (IDR: Not set) T347C 000:440.090 AP[0]: Core found T347C 000:441.402 AP[0]: AHB-AP ROM base: 0xE00FF000 T347C 000:444.692 CPUID register: 0x410FC241. Implementer code: 0x41 (ARM) T347C 000:444.984 Found Cortex-M4 r0p1, Little endian. T347C 000:546.331 -- Max. mem block: 0x00002D98 T347C 000:546.385 -- CPU_ReadMem(4 bytes @ 0xE000EDF0) T347C 000:546.811 -- CPU_ReadMem(4 bytes @ 0xE0002000) T347C 000:547.565 FPUnit: 6 code (BP) slots and 2 literal slots T347C 000:547.597 -- CPU_ReadMem(4 bytes @ 0xE000EDFC) T347C 000:548.044 -- CPU_ReadMem(4 bytes @ 0xE0001000) T347C 000:548.500 -- CPU_WriteMem(4 bytes @ 0xE0001000) T347C 000:548.951 -- CPU_ReadMem(4 bytes @ 0xE000ED88) T347C 000:549.397 -- CPU_WriteMem(4 bytes @ 0xE000ED88) T347C 000:549.935 -- CPU_ReadMem(4 bytes @ 0xE000ED88) T347C 000:550.387 -- CPU_WriteMem(4 bytes @ 0xE000ED88) T347C 000:551.064 CoreSight components: T347C 000:552.259 ROMTbl[0] @ E00FF000 T347C 000:552.291 -- CPU_ReadMem(16 bytes @ 0xE00FF000) T347C 000:552.879 -- CPU_ReadMem(16 bytes @ 0xE000EFF0) T347C 000:553.485 -- CPU_ReadMem(16 bytes @ 0xE000EFE0) T347C 000:554.382 ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7 T347C 000:554.414 -- CPU_ReadMem(16 bytes @ 0xE0001FF0) T347C 000:555.018 -- CPU_ReadMem(16 bytes @ 0xE0001FE0) T347C 000:555.895 ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT T347C 000:555.927 -- CPU_ReadMem(16 bytes @ 0xE0002FF0) T347C 000:556.484 -- CPU_ReadMem(16 bytes @ 0xE0002FE0) T347C 000:557.361 ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB T347C 000:557.392 -- CPU_ReadMem(16 bytes @ 0xE0000FF0) T347C 000:557.949 -- CPU_ReadMem(16 bytes @ 0xE0000FE0) T347C 000:558.837 ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM T347C 000:558.877 -- CPU_ReadMem(16 bytes @ 0xE00FF010) T347C 000:559.442 -- CPU_ReadMem(16 bytes @ 0xE0040FF0) T347C 000:560.035 -- CPU_ReadMem(16 bytes @ 0xE0040FE0) T347C 000:560.988 ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU T347C 000:561.018 -- CPU_ReadMem(16 bytes @ 0xE0041FF0) T347C 000:561.696 -- CPU_ReadMem(16 bytes @ 0xE0041FE0) T347C 000:562.453 ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM T347C 000:562.479 - 182.020ms returns 0x00 T347C 000:562.497 JLINK_GetId() T347C 000:562.991 - 0.504ms returns 0x2BA01477 T347C 000:563.012 JLINK_GetDebugInfo(0x10E = JLINKARM_DEBUG_INFO_AHBAP_INDEX) T347C 000:563.023 Value=0x00000000 T347C 000:563.036 - 0.029ms returns 0x00 T347C 000:563.090 JLINK_GetDebugInfo(0x10C = JLINKARM_DEBUG_INFO_DBG_ADDR_INDEX) T347C 000:563.106 Value=0xE000EDF0 T347C 000:563.119 - 0.033ms returns 0x00 T347C 000:563.133 JLINK_GetDebugInfo(0x105 = JLINKARM_DEBUG_INFO_DWT_ADDR_INDEX) T347C 000:563.143 Value=0xE0001000 T347C 000:563.156 - 0.027ms returns 0x00 T347C 000:563.167 JLINK_GetDebugInfo(0x106 = JLINKARM_DEBUG_INFO_FPB_ADDR_INDEX) T347C 000:563.177 Value=0xE0002000 T347C 000:563.190 - 0.027ms returns 0x00 T347C 000:563.201 JLINK_GetDebugInfo(0x104 = JLINKARM_DEBUG_INFO_ITM_ADDR_INDEX) T347C 000:563.210 Value=0xE0000000 T347C 000:563.223 - 0.026ms returns 0x00 T347C 000:563.236 JLINK_CORE_GetFound() T347C 000:563.245 - 0.013ms returns 0xE0000FF T347C 000:563.272 JLINK_WriteU32(0xE0000FB0, 0xC5ACCE55) T347C 000:563.286 - ITM_LOCKACCESS T347C 000:563.322 CPU is running T347C 000:563.339 -- CPU_WriteMem(4 bytes @ 0xE0000FB0) T347C 000:563.775 - 0.527ms returns 0 T347C 000:616.239 JLINK_SetResetDelay(0) T347C 000:616.264 - 0.029ms T347C 000:616.275 JLINK_Reset() T347C 000:616.301 CPU is running T347C 000:616.317 -- CPU_WriteMem(4 bytes @ 0xE000EDF0) T347C 000:616.913 CPU is running T347C 000:616.934 -- CPU_WriteMem(4 bytes @ 0xE000EDFC) T347C 000:617.636 Reset: Halt core after reset via DEMCR.VC_CORERESET. T347C 000:618.329 Reset: Reset device via AIRCR.SYSRESETREQ. T347C 000:618.349 CPU is running T347C 000:618.364 -- CPU_WriteMem(4 bytes @ 0xE000ED0C) T347C 000:672.449 -- CPU_ReadMem(4 bytes @ 0xE000EDF0) T347C 000:673.351 -- CPU_ReadMem(4 bytes @ 0xE000EDF0) T347C 000:674.271 CPU is running T347C 000:674.394 -- CPU_WriteMem(4 bytes @ 0xE000EDF0) T347C 000:675.293 CPU is running T347C 000:675.408 -- CPU_WriteMem(4 bytes @ 0xE000EDFC) T347C 000:682.233 -- CPU_ReadMem(4 bytes @ 0xE000EDF0) T347C 000:688.487 -- CPU_WriteMem(4 bytes @ 0xE0002000) T347C 000:689.448 -- CPU_ReadMem(4 bytes @ 0xE000EDFC) T347C 000:690.441 -- CPU_ReadMem(4 bytes @ 0xE0001000) T347C 000:691.312 - 75.096ms T347C 000:691.444 JLINK_IsHalted() T347C 000:691.497 - 0.076ms returns TRUE T347C 000:691.552 JLINK_ReadRegs(NumRegs = 1, Indexes: 0) T347C 000:691.623 -- R0=0x00 T347C 000:691.694 - 0.165ms returns 0x00 T347C 000:691.757 JLINK_ReadRegs(NumRegs = 1, Indexes: 1) T347C 000:691.810 -- R1=0x00 T347C 000:691.878 - 0.144ms returns 0x00 T347C 000:691.937 JLINK_ReadRegs(NumRegs = 1, Indexes: 2) T347C 000:691.988 -- R2=0x00 T347C 000:692.055 - 0.140ms returns 0x00 T347C 000:692.115 JLINK_ReadRegs(NumRegs = 1, Indexes: 3) T347C 000:692.166 -- R3=0x00 T347C 000:692.246 - 0.154ms returns 0x00 T347C 000:692.310 JLINK_ReadRegs(NumRegs = 1, Indexes: 4) T347C 000:692.423 -- R4=0x00 T347C 000:692.497 - 0.209ms returns 0x00 T347C 000:692.561 JLINK_ReadRegs(NumRegs = 1, Indexes: 5) T347C 000:692.614 -- R5=0x00 T347C 000:692.680 - 0.142ms returns 0x00 T347C 000:692.738 JLINK_ReadRegs(NumRegs = 1, Indexes: 6) T347C 000:692.789 -- R6=0x00 T347C 000:692.856 - 0.140ms returns 0x00 T347C 000:692.914 JLINK_ReadRegs(NumRegs = 1, Indexes: 7) T347C 000:692.964 -- R7=0x00 T347C 000:693.031 - 0.140ms returns 0x00 T347C 000:693.090 JLINK_ReadRegs(NumRegs = 1, Indexes: 8) T347C 000:693.150 -- R8=0x00 T347C 000:693.226 - 0.159ms returns 0x00 T347C 000:693.285 JLINK_ReadRegs(NumRegs = 1, Indexes: 9) T347C 000:693.337 -- R9=0x00 T347C 000:693.403 - 0.140ms returns 0x00 T347C 000:693.461 JLINK_ReadRegs(NumRegs = 1, Indexes: 10) T347C 000:693.512 -- R10=0x00 T347C 000:693.579 - 0.140ms returns 0x00 T347C 000:693.643 JLINK_ReadRegs(NumRegs = 1, Indexes: 11) T347C 000:693.700 -- R11=0x00 T347C 000:693.767 - 0.146ms returns 0x00 T347C 000:693.825 JLINK_ReadRegs(NumRegs = 1, Indexes: 12) T347C 000:693.876 -- R12=0x00 T347C 000:693.943 - 0.140ms returns 0x00 T347C 000:694.000 JLINK_ReadRegs(NumRegs = 1, Indexes: 13) T347C 000:694.053 -- R13 (SP)=0x20010000 T347C 000:694.120 - 0.142ms returns 0x00 T347C 000:694.179 JLINK_ReadRegs(NumRegs = 1, Indexes: 14) T347C 000:694.238 -- R14=0xFFFFFFFF T347C 000:694.323 - 0.172ms returns 0x00 T347C 000:694.390 JLINK_ReadRegs(NumRegs = 1, Indexes: 15) T347C 000:694.443 -- R15 (PC)=0x800611E T347C 000:694.511 - 0.143ms returns 0x00 T347C 000:694.568 JLINK_ReadRegs(NumRegs = 1, Indexes: 16) T347C 000:694.620 -- XPSR=0x1000000 T347C 000:694.687 - 0.141ms returns 0x00 T347C 000:694.745 JLINK_ReadRegs(NumRegs = 1, Indexes: 17) T347C 000:694.796 -- MSP=0x20010000 T347C 000:694.862 - 0.140ms returns 0x00 T347C 000:694.920 JLINK_ReadRegs(NumRegs = 1, Indexes: 18) T347C 000:694.971 -- PSP=0x00 T347C 000:695.038 - 0.140ms returns 0x00 T347C 000:695.097 JLINK_ReadRegs(NumRegs = 1, Indexes: 20) T347C 000:695.147 -- CFBP=0x00 T347C 000:695.221 - 0.147ms returns 0x00 T347C 000:695.284 JLINK_ReadMemU32(0xE000ED04, 0x0001 Items, ...) T347C 000:695.368 -- CPU_ReadMem(4 bytes @ 0xE000ED04) T347C 000:696.252 Data: 00 00 00 00 T347C 000:696.361 - 1.103ms returns 1 T347C 000:696.439 JLINK_CORE_GetFound() T347C 000:696.490 - 0.075ms returns 0xE0000FF T347C 000:696.775 JLINK_ReadMemU32(0xE000EDFC, 0x0001 Items, ...) T347C 000:696.872 -- CPU_ReadMem(4 bytes @ 0xE000EDFC) T347C 000:697.726 Data: 00 00 00 01 T347C 000:697.835 - DEMCR T347C 000:697.903 - 1.153ms returns 1 T347C 000:697.970 JLINK_ReadMemU32(0xE0001000, 0x0001 Items, ...) T347C 000:698.064 -- CPU_ReadMem(4 bytes @ 0xE0001000) T347C 000:698.961 Data: 01 00 00 40 T347C 000:699.080 - DWT_CTRL T347C 000:699.149 - 1.203ms returns 1 T347C 000:699.217 JLINK_WriteU32(0xE0001004, 0x00000000) T347C 000:699.298 - DWT_CYCCNT T347C 000:699.396 - 0.209ms returns 0 T347C 000:872.360 JLINK_BeginDownload(Flags = 0x00) T347C 000:872.416 - 0.067ms T347C 000:872.443 JLINK_WriteMem(0x08000000, 0x870C Bytes, ...) T347C 000:872.468 Data: 00 00 01 20 1F 61 00 08 B3 57 00 08 43 53 00 08 ... T347C 000:873.431 completely In flash T347C 000:873.594 -- Read from flash cache (34572 bytes @ 0x08000000) T347C 000:873.636 - 1.205ms returns 0x870C T347C 000:873.666 JLINK_EndDownload() T347C 000:874.012 -- CPU_ReadMem(4 bytes @ 0xE000ED90) T347C 000:874.629 -- CPU_ReadMem(4 bytes @ 0xE000ED94) T347C 000:875.206 -- -------------------------------------- T347C 000:875.290 -- Start of determining dirty areas in flash cache T347C 000:875.482 -- End of determining dirty areas T347C 000:875.542 -- Start of preparing flash programming T347C 000:875.604 -- Calculating RAM usage T347C 000:875.882 -- RAM usage = 3948 Bytes T347C 000:875.926 -- Preserving CPU registers T347C 000:875.986 -- Preparing memory T347C 000:876.022 -- Preparing target T347C 000:876.055 -- Downloading RAMCode T347C 000:902.814 -- Preparing RAMCode T347C 000:908.548 -- Checking target RAM T347C 000:914.535 -- End of preparing flash programming T347C 000:914.576 -- CPU speed could not be measured. T347C 000:914.598 -- Start of comparing flash T347C 000:914.625 -- CRC check was estimated as fastest method T347C 000:914.651 -- Comparing range 0x8000000 - 0x80087FF (17 Sectors, 34 KB), using multi-block CRC calculation T347C 001:022.869 -- CRC does not match for sectors 9-16 T347C 001:022.987 -- Comparing range 0x8000000 - 0x80047FF (9 Sectors, 18 KB), using alternative multi-block CRC calculation T347C 001:122.742 -- All CRCs match T347C 001:122.883 -- End of comparing flash T347C 001:122.945 -- Start of erasing sectors T347C 001:123.005 -- Erasing range 0x08008000 - 0x080087FF ( 1 Sector, 2 KB) T347C 001:147.298 -- End of erasing sectors T347C 001:147.398 -- Start of flash programming T347C 001:147.461 -- Programming range 0x08004800 - 0x080087FF ( 8 Sectors, 16 KB) T347C 001:168.853 ***** Error: T347C 001:168.980 Programming failed @ address 0x08004808 (program error) T347C 001:169.052 -- End of flash programming T347C 001:169.124 -- Start of restoring T347C 001:169.194 -- Restoring RAMCode T347C 001:176.427 -- Restore target T347C 001:176.541 -- Restore memory T347C 001:176.613 -- Restoring CPU registers T347C 001:176.716 -- End of restoring T347C 001:176.793 Restarting due to program error (possibly skipped erasure of half-way erased sector). T347C 001:176.840 Skip optimizations disabled for second try. T347C 001:176.888 -- -------------------------------------- T347C 001:177.987 - 304.390ms returns -3 T347C 001:272.209 JLINK_IsOpen() T347C 001:272.242 - 0.037ms returns 0x01 T347C 001:286.341 JLINK_Close() T347C 001:286.706 -- CPU_ReadMem(4 bytes @ 0xE0001000) T347C 001:301.497 - 15.175ms T347C 001:301.522 T347C 001:301.532 Closed