admin
谢谢!
这个是 Adapter output的:
SEGGER J-Link GDB Server V6.70 Command Line Version
JLinkARM.dll V6.70 (DLL compiled Mar 27 2020 14:35:04)
Command line: -if swd -port 50001 -swoport 50002 -telnetport 50003 -device MK64FN1M0xxx12
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 50001
SWO raw output listening port: 50002
Terminal I/O port: 50003
Accept remote connection: localhost only
Generate logfile: off
Verify download: off
Init regs on start: off
Silent mode: off
Single run mode: off
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: MK64FN1M0xxx12
Target interface: SWD
Target interface speed: 4000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V9 compiled Dec 13 2019 11:14:50
Hardware: V9.10
S/N: 59101010
Feature(s): RDI, GDB, JFlash, FlashBP, FlashDL
Checking target voltage...
Target voltage: 3.27 V
Listening on TCP/IP port 50001
Connecting to target...
Connected to target
Waiting for GDB connection...Connected to 127.0.0.1
Reading all registers
Read 4 bytes @ address 0x0001730A (Data = 0x4604E7FE)
Received monitor command: halt
Halting target CPU...
...Target halted (PC = 0x0001730A)
Received monitor command: reset
Resetting target
Downloading 16272 bytes @ address 0x00000000
Downloading 16256 bytes @ address 0x00003F90
Downloading 16240 bytes @ address 0x00007F10
Downloading 16272 bytes @ address 0x0000BE80
Downloading 16240 bytes @ address 0x0000FE10
Downloading 16240 bytes @ address 0x00013D80
Downloading 13900 bytes @ address 0x00017CF0
Downloading 36 bytes @ address 0x1FFF0000
Downloading 1272 bytes @ address 0x20000000
Writing register (PC = 0x 410)
Received monitor command: reset
Resetting target
Read 4 bytes @ address 0x00000410 (Data = 0xF802F000)
Reading 64 bytes @ address 0x00000400
Read 2 bytes @ address 0x00000C0C (Data = 0xB50E)
Read 4 bytes @ address 0x00000C16 (Data = 0xF00D2000)
Setting breakpoint @ address 0x00000C0C, Size = 2, BPHandle = 0x0001
Setting breakpoint @ address 0x00000C16, Size = 4, BPHandle = 0x0002
Starting target CPU...
...Breakpoint reached @ address 0x00000C0C
Reading all registers
Removing breakpoint @ address 0x00000C0C, Size = 2
Removing breakpoint @ address 0x00000C16, Size = 4
Read 4 bytes @ address 0x00000C0C (Data = 0x4A09B50E)
Read 4 bytes @ address 0x00000590 (Data = 0xFA70F018)
Reading 64 bytes @ address 0x00000400
Reading register (MSP = 0x20030000)
Reading register (PSP = 0x 0)
Reading register (PRIMASK = 0x 0)
Reading register (BASEPRI = 0x 0)
Reading register (FAULTMASK = 0x 0)
Reading register (CONTROL = 0x 4)
Reading register (FPSCR = 0x 3000000)
Reading register (s0 = 0x 0)
Reading register (s1 = 0x 0)
Reading register (s2 = 0x 0)
Reading register (s3 = 0x 0)
Reading register (s4 = 0x 0)
Reading register (s5 = 0x 0)
Reading register (s6 = 0x 0)
Reading register (s7 = 0x 0)
Reading register (s8 = 0x 0)
Reading register (s9 = 0x 0)
Reading register (s10 = 0x 0)
Reading register (s11 = 0x 0)
Reading register (s12 = 0x 0)
Reading register (s13 = 0x 0)
Reading register (s14 = 0x 0)
Reading register (s15 = 0x 0)
Reading register (s16 = 0x 0)
Reading register (s17 = 0x 0)
Reading register (s18 = 0x 0)
Reading register (s19 = 0x 0)
Reading register (s20 = 0x 0)
Reading register (s21 = 0x 0)
Reading register (s22 = 0x 0)
Reading register (s23 = 0x 0)
Reading register (s24 = 0x 0)
Reading register (s25 = 0x 0)
Reading register (s26 = 0x 0)
Reading register (s27 = 0x 0)
Reading register (s28 = 0x 0)
Reading register (s29 = 0x 0)
Reading register (s30 = 0x 0)
Reading register (s31 = 0x 0)
Reading register (d0 = 0x 0)
Reading register (d1 = 0x 0)
Reading register (d2 = 0x 0)
Reading register (d3 = 0x 0)
Reading register (d4 = 0x 0)
Reading register (d5 = 0x 0)
Reading register (d6 = 0x 0)
Reading register (d7 = 0x 0)
Reading register (d8 = 0x 0)
Reading register (d9 = 0x 0)
Reading register (d10 = 0x 0)
Reading register (d11 = 0x 0)
Reading register (d12 = 0x 0)
Reading register (d13 = 0x 0)
Reading register (d14 = 0x 0)
Reading register (d15 = 0x 0)
这个是 debug console的:
Please check OUTPUT tab (Adapter Output) for output from C:\Program Files (x86)\SEGGER\JLink\JLinkGDBServerCL.exe
Launching server: "C:\Program Files (x86)\SEGGER\JLink\JLinkGDBServerCL.exe" "-if" "swd" "-port" "50001" "-swoport" "50002" "-telnetport" "50003" "-device" "MK64FN1M0xxx12"
Launching GDB: "C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\bin\arm-none-eabi-gdb.exe" "-q" "--interpreter=mi2"
undefinedC:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\bin\arm-none-eabi-gdb.exe: warning: Couldn't determine a path for the index cache directory.
Reading symbols from D:\01_Project\build\K64\smcb_encoder_eide_tailor.elf...
warning:
Loadable section "RW_m_data" outside of ELF segments
warning:
Loadable section "RW_m_data_2" outside of ELF segments
0x0001730a in __Vectors_End ()
Not implemented stop reason (assuming exception): undefined
Resetting target
Resetting target
Temporary breakpoint 1, 0x00000c0c in __Vectors_End ()