Log attached - this failure occurs for me 100% of the time when quitting the attached GDB session. After the error, subsequent attempts to attach hang forever; only unplugging & repluggin the JLink brings it back to life.
Known bug? Workaround? Suggestions welcome!
Display All
Known bug? Workaround? Suggestions welcome!
Source Code
- $ JLinkGDBServer -if SWD
- SEGGER J-Link GDB Server V4.78d
- JLinkARM.dll V4.78d (DLL compiled Oct 18 2013 19:20:06)
- The server has been started with the following settings:
- ---Server related settings---
- GDBInit file: none
- Listening port: 2331
- SWO thread listening port: 2332
- Semihosting TELNET port: 2333
- Accept remote connection: yes
- Logfile: off
- Verify download: off
- Init regs on start: on
- Silent mode: off
- Single run mode: off
- ---J-Link related settings---
- J-Link script: none
- Target interface: SWD
- Host interface: USB
- Target endian: little
- Target interface speed: 1000kHz
- Connecting to J-Link...
- J-Link is connected.
- Firmware: J-Link V9 compiled Oct 18 2013 17:37:30
- Hardware: V9.00
- S/N: 59102303
- Feature(s): GDB
- Checking target voltage...
- Listening on TCP/IP port 2331
- Connecting to target...Connected to target
- Waiting for GDB connection...Connected to 127.0.0.1
- Reading all registers
- Read 4 bytes @ address 0x00000000 (Data = 0x20008000)
- JTAG speed set to 1000 kHz
- Selecting device: TMPM342FYXBG
- SWO enabled succesfully.
- Flash breakpoints enabled
- Resetting target
- Downloading 512 bytes @ address 0x00000000
- Downloading 16240 bytes @ address 0x00010000
- Downloading 16288 bytes @ address 0x00013F70
- Downloading 16272 bytes @ address 0x00017F10
- Downloading 2656 bytes @ address 0x0001BEA0
- Downloading 1280 bytes @ address 0x0001C900
- Writing register (PC = 0x000126a1)
- Writing register (SP = 0x20008000)
- Writing register (PC = 0x000126A1)
- Read 4 bytes @ address 0x000126A0 (Data = 0xF240B5B0)
- Starting target CPU...
- Debugger requested to halt target...
- ...Target halted (PC = 0x00017476)
- Reading all registers
- Read 4 bytes @ address 0x00017476 (Data = 0x28006968)
- Read 2 bytes @ address 0x00017458 (Data = 0xB5B0)
- Read 2 bytes @ address 0x0001745A (Data = 0xF240)
- Read 2 bytes @ address 0x0001745C (Data = 0x6530)
- Read 2 bytes @ address 0x0001745E (Data = 0xAF02)
- Read 2 bytes @ address 0x00017460 (Data = 0xF2C2)
- Read 2 bytes @ address 0x00017462 (Data = 0x0500)
- Read 2 bytes @ address 0x00017464 (Data = 0xE007)
- Reading 64 bytes @ address 0x20003B80
- GDB closed TCP/IP connection
- Segmentation fault: 11