88
3.3.5.1 -cpu
Description
Pre-select the CPU core of the connected device, so the GDB Server already knows
the register set, even before having established a connection to the CPU.
Note:
Deprecated, please use
option is set, too.
Syntax
-CPU <CPUCore>
Example
jlinkgdbserver -CPU ARM7_9
Add. information
The following table lists all valid values for <CPUCore>:
<CPUCore>
CPU_FAMILY_ARM7_9
CPU_FAMILY_CORTEX_A_R
CPU_FAMILY_CORTEX_M
CPU_FAMILY_RX600
Table 3.9: GDB allowed values for CPUCore
3.3.5.2 -device
Description
Tells GDBServer to which device J-Link is connected before the connect sequence is
actually performed. It is recommended to use the command line option to select the
device instead of using the remote command since for some devices J-Link already
needs to know the device at the time of connecting to it since some devices need
special connect sequences (e.g. devices with TI ICEPick modules). In such cases, it is
not possible to select the device via remote commands since they are configured
after the GDB client already connected to GDBServer and requested the target regis-
ters which already requires a connection to the target.
Note:
Using GDB Server CL this option is mandatory to correctly connect to the
target, and should be given before connection via GDB.
Syntax
-device <DeviceName>
Example
jlinkgdbserver -device AT91SAM7SE256
Add. information
For a list of all valid values for <DeviceName>, please refer to http://www.seg-
ger.com/jlink_supported_devices.html.
3.3.5.3 -endian
Description
Sets the endianess of the target where endianess can either be "little" or "big".
Note:
Using GDB Server CL this option is mandatory to correctly connect to the
target, and should be given before connection via GDB.
J-Link / J-Trace (UM08001)
CHAPTER 3
-device
Supported CPU cores
Pre-select ARM7 and ARM9 as CPU cores.
Pre-select Cortex-A and Cortex-R as CPU cores.
Pre-select Cortex-M as CPU core.
Pre-select Renesas RX600 as CPU core.
© 2004-2013 SEGGER Microcontroller GmbH & Co. KG
J-Link software and documentation package
instead. Anyhow, does not hurt if this
Need help?
Do you have a question about the J-Link and is the answer not in the manual?
Questions and answers