Hello,
I have the problem, that I'm currently not able to debug, using the JLinkGDBServer under OS/X. I start the server with:
and get the following error message:
Display All
If I start the GDBServer without any parameters, I get the following error message:
Display All
On the other hand, I'm able to connect to the target, flash the target and (for example) read memory from target, using JLinkExe:
Display All
What am I'm doing wrong here?
kind regards,
Torsten Robitzki
I have the problem, that I'm currently not able to debug, using the JLinkGDBServer under OS/X. I start the server with:
and get the following error message:
Source Code
- SEGGER J-Link GDB Server V4.92 Command Line Version
- JLinkARM.dll V4.92 (DLL compiled Sep 30 2014 09:55:19)
- -----GDB Server start settings-----
- GDBInit file: none
- GDB Server Listening port: 2331
- SWO raw output listening port: 2332
- Terminal I/O port: 2333
- Accept remote connection: yes
- Generate logfile: off
- Verify download: off
- Init regs on start: on
- Silent mode: off
- Single run mode: off
- Target connection timeout: 5 sec.
- ------J-Link related settings------
- J-Link Host interface: USB
- J-Link script: none
- J-Link settings file: none
- ------Target related settings------
- Target device: nRF51422_xxAA
- Target interface: SWD
- Target interface speed: 100kHz
- Target endian: little
- Connecting to J-Link...
- Connecting to J-Link failed. Connected correctly?
- GDBServer will be closed...
- Shutting down...
If I start the GDBServer without any parameters, I get the following error message:
Source Code
- -----GDB Server start settings-----
- GDBInit file: none
- GDB Server Listening port: 2331
- SWO raw output listening port: 2332
- Terminal I/O port: 2333
- Accept remote connection: yes
- Generate logfile: off
- Verify download: off
- Init regs on start: on
- Silent mode: off
- Single run mode: off
- Target connection timeout: 5 sec.
- ------J-Link related settings------
- J-Link Host interface: USB
- J-Link script: none
- J-Link settings file: none
- ------Target related settings------
- Target device: unspecified
- Target interface: JTAG
- Target interface speed: 1000kHz
- Target endian: little
- Connecting to J-Link...
- J-Link is connected.
- Firmware: J-Link Pro V4 compiled Sep 29 2014 19:52:50
- Hardware: V4.00
- S/N: 174200426
- Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
- Checking target voltage...
- Target voltage: 3.29 V
- Listening on TCP/IP port 2331
- Connecting to target...ERROR: Could not connect to target.
- Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...
- Shutting down...
On the other hand, I'm able to connect to the target, flash the target and (for example) read memory from target, using JLinkExe:
Source Code
- > JLinkExe -device nRF51422_xxAA
- SEGGER J-Link Commander V4.92 ('?' for help)
- Compiled Sep 30 2014 09:55:25
- Info: Device "NRF51422_XXAA" selected (257 KB flash, 16 KB RAM).
- DLL version V4.92, compiled Sep 30 2014 09:55:19
- Firmware: J-Link Pro V4 compiled Sep 29 2014 19:52:50
- Hardware: V4.00
- S/N: 174200426
- Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
- IP-Addr.: No configuration received via DHCP
- VTarget = 3.288V
- Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
- Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
- No devices found on JTAG chain. Trying to find device on SWD.
- Info: Found SWD-DP with ID 0x0BB11477
- Info: Found Cortex-M0 r0p0, Little endian.
- Info: FPUnit: 4 code (BP) slots and 0 literal slots
- Cortex-M0 identified.
- Target interface speed: 100 kHz
- J-Link>mem32 c000,2
- 0000C000 = 20004000 0000C475
What am I'm doing wrong here?
kind regards,
Torsten Robitzki