Hi.
First post!
I have a J-Link Base, with V6.14a software installed on a Windows 8.1 Pro (64-bit) laptop. Its connected to the SWD port of the Invensense ICM-30630 Dev Board. Also have Eclipse Mars.2 Release 4.5.2. The debug session is started from within the Invensense 'Sensor Studio Desktop'. Initially the error is reported as "Error in services launch sequence:" " followed by "Starting J-Link GDBServer timed out". After a bit of searching,I found that the debugger options may not be properly populated by the Invensense stuff, i.e. I have to manually enter the device name, a non-zero timeout value, and the serial link of the J-Link probe, then the behaviour changes a bit: now I get:
Could not connect to target.
Please check power, connection and settings.SEGGER J-Link GDB Server V6.14a Command Line Version
JLinkARM.dll V6.14a (DLL compiled Feb 27 2017 18:41:26)
-----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: localhost only
Generate logfile: off
Verify download: on
Init regs on start: on
Silent mode: off
Single run mode: on
Target connection timeout: 1000 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: ATSAMD21G18
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V10 compiled Jan 9 2017 17:48:51
Hardware: V10.10
S/N: 50108046
Feature(s): GDB
Checking target voltage...
Target voltage: 3.30 V
Listening on TCP/IP port 2331
Connecting to target...ERROR: SAMD (connect): Could not access AHB-AP.
ERROR: Could not connect to target.
Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...
Shutting down...
So, the probe is connected to the PC OK. If I try JLINK at the command line, everything looks OK, until:
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
******** Error: SAMD (connect) Could not access AHB-AP
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
******** Error: SAMD (connect) Could not access AHB-AP
Cannot connect to target.
J-Link>
I was expecting this stuff to work out-of-the-box....... What's wrong?
Any help appreciated!
Many thanks!
First post!
I have a J-Link Base, with V6.14a software installed on a Windows 8.1 Pro (64-bit) laptop. Its connected to the SWD port of the Invensense ICM-30630 Dev Board. Also have Eclipse Mars.2 Release 4.5.2. The debug session is started from within the Invensense 'Sensor Studio Desktop'. Initially the error is reported as "Error in services launch sequence:" " followed by "Starting J-Link GDBServer timed out". After a bit of searching,I found that the debugger options may not be properly populated by the Invensense stuff, i.e. I have to manually enter the device name, a non-zero timeout value, and the serial link of the J-Link probe, then the behaviour changes a bit: now I get:
Could not connect to target.
Please check power, connection and settings.SEGGER J-Link GDB Server V6.14a Command Line Version
JLinkARM.dll V6.14a (DLL compiled Feb 27 2017 18:41:26)
-----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: localhost only
Generate logfile: off
Verify download: on
Init regs on start: on
Silent mode: off
Single run mode: on
Target connection timeout: 1000 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: ATSAMD21G18
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V10 compiled Jan 9 2017 17:48:51
Hardware: V10.10
S/N: 50108046
Feature(s): GDB
Checking target voltage...
Target voltage: 3.30 V
Listening on TCP/IP port 2331
Connecting to target...ERROR: SAMD (connect): Could not access AHB-AP.
ERROR: Could not connect to target.
Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...
Shutting down...
So, the probe is connected to the PC OK. If I try JLINK at the command line, everything looks OK, until:
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
******** Error: SAMD (connect) Could not access AHB-AP
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
Found SWD-DP with ID 0x0bb11477
******** Error: SAMD (connect) Could not access AHB-AP
Cannot connect to target.
J-Link>
I was expecting this stuff to work out-of-the-box....... What's wrong?
Any help appreciated!
Many thanks!