Hi,
I have two JLinks and I was hoping to use -select between the two based on serial number when they are both plugged in.
The server fails when I use the option and connects properly when I don't.
I'm running OSX 10.9.2. Other version numbers are included in the output below.
Thanks for reading,
Kenny
Display All
Removing the options works:
Display All
I have two JLinks and I was hoping to use -select between the two based on serial number when they are both plugged in.
The server fails when I use the option and connects properly when I don't.
I'm running OSX 10.9.2. Other version numbers are included in the output below.
Thanks for reading,
Kenny
Source Code
- $ alias gds
- alias gds='JLinkGDBServer -device STM32F407VG -if swd -speed 6000 -select usb=156006189'
- $ gds
- SEGGER J-Link GDB Server V4.84f Command Line Version
- JLinkARM.dll V4.84f (DLL compiled May 9 2014 20:17:59)
- -----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: STM32F407VG
- Target interface: SWD
- Target interface speed: 6000kHz
- Target endian: little
- Connecting to J-Link...
- Connecting to J-Link failed. Connected correctly?
- GDBServer will be closed...
- Shutting down...
Removing the options works:
Source Code
- $ gds
- SEGGER J-Link GDB Server V4.84f Command Line Version
- JLinkARM.dll V4.84f (DLL compiled May 9 2014 20:17:59)
- -----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: STM32F407VG
- Target interface: SWD
- Target interface speed: 0kHz
- Target endian: little
- Connecting to J-Link...
- J-Link is connected.
- Firmware: J-Link ARM V6 compiled Jun 20 2012 19:43:26
- Hardware: V6.00
- S/N: 156006189
- OEM: IAR
- Checking target voltage...
- Target voltage: 2.96 V
- Listening on TCP/IP port 2331
- Connecting to target...WARNING: T-bit of XPSR is 0 but should be 1. Changed to 1.
- Connected to target
- Waiting for GDB connection...