I am trying to debug my LPC4088 Quick start board from Embedded artists on my Linux Debian workstation using GDB.
But when in terminal I start command JLinkGDBServer I get this:
So it looks like JLinkGDBServer can't identify my target MCPU. How can I manually specify it? Where in documentation is this described?
Oh one more thing before I started JLinkGDBServer I opened JLinkExe and made sure that power is on using command power on perm.
So program is executing on the board all the time. While in JLinkExe I could connect to the Cortex-M4 core using connect command. While
connected I could read registers, halt the program using h and continue program using g. So if JLinkExe can connect why won't JLinkGDBServer?
But when in terminal I start command JLinkGDBServer I get this:
Source Code
- SEGGER J-Link GDB Server V6.30a Command Line Version
- JLinkARM.dll V6.30a (DLL compiled Jan 31 2018 18:14:14)
- -----GDB Server start settings-----GDBInit file: noneGDB Server Listening port: 2331SWO raw output listening port: 2332Terminal I/O port: 2333Accept remote connection: yesGenerate logfile: offVerify download: offInit regs on start: offSilent mode: offSingle run mode: offTarget connection timeout: 0 ms------J-Link related settings------J-Link Host interface: USBJ-Link script: noneJ-Link settings file: none------Target related settings------Target device: UnspecifiedTarget interface: JTAGTarget interface speed: 4000kHzTarget endian: little
- Connecting to J-Link...J-Link is connected.Failed to set device (Unspecified). Unknown device selected?ERROR : Failed to set device.
- Firmware: J-Link V9 compiled Jan 29 2018 15:41:50Hardware: V9.30S/N: 269300437OEM: SEGGER-EDUFeature(s): FlashBP, GDBChecking target voltage...Target voltage: 3.29 VListening on TCP/IP port 2331Connecting to target...ERROR: No CPU core or target device has been selected. Please make sure at least the core J-Link shall connect to, is selected.ERROR: Could not connect to target.Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...Shutting down...Could not connect to target.Please check power, connection and settings.
So it looks like JLinkGDBServer can't identify my target MCPU. How can I manually specify it? Where in documentation is this described?
Oh one more thing before I started JLinkGDBServer I opened JLinkExe and made sure that power is on using command power on perm.
So program is executing on the board all the time. While in JLinkExe I could connect to the Cortex-M4 core using connect command. While
connected I could read registers, halt the program using h and continue program using g. So if JLinkExe can connect why won't JLinkGDBServer?
The post was edited 1 time, last by 71GA ().