Error Running Eclipse IDE (LPC-Link 2) Debug

Asked 2 years ago, Updated 2 years ago, 108 views

Error running Eclipse IDE (LPC-Link 2) debug


After performing an Eclipse debug recognizes CMSIS-DAP on LPC-Link 2 Error in timeout

I feel like I'm only one step away, but I've been thinking about it for about a month

○ I tried two IDEs, but the result was the same
 ①Eclipse 2019.03+ macOS 10.14.5(Mojave)
 ②Eclipse 2019.03 + Ubuntu 16.04

○ Eclipse Console and Error Contents

For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info: auto-selecting first available session transport "swd". To override use 'transport select'.
adapter speed: 1000 kHz cortex_mreset_config sysresetreq
Started by GNU MCU Eclipse
Info: Listening on port 6666 for tcl connections
Info: Listening on port 4444 for telnet connections
Info:CMSIS-DAP:SWD Supported
Info:CMSIS-DAP:JTAG Supported
Info:CMSIS-DAP:FW Version=1.10
Info:CMSIS-DAP:Interface Initialized (SWD)
Info: SWCLK/TCK=1SWDIO/TMS=1TDI=1TDO=1nTRST=0nRESET=1
Info:CMSIS-DAP:Interface ready
Info: clock speed 1000 kHz

↑ Here
 The following error appears in the dialog

Error in final launch sequence
Failed to execute MI command:
- target-select remote localhost:3333
Error message from debugger back end:
localhost:3333:Operation timed out.
Failed to execute MI command:
- target-select remote localhost:3333
Error message from debugger back end:
localhost:3333:Operation timed out.
localhost:3333:Operation timed out.

○ LPC-Link 2
·Write Firmware with LPCScrypt v2.1.0
 (Run lpcscript_2.1.0_842/scripts/program_CMSIS)
·Results of lsusb
 Bus020Device006:ID1fc9:0090NXP Semiconductors LPC-LINK2CMSIS-DAP V5.224Serial:I3FWBSKS
·JP1 Close (green circle)
·JP2 Open (blue circle)

○Spresense
·Checked serial console for waiting for debug
 Waiting for debugger connection..
·Firmware 1.3.0
·SWD connector KEY(NC) pin is disconnected and not connected

Thank you for your cooperation

Connect
Eclipse Screen
Run - Main
Run-Debug
Run-Start

eclipse spresense

2022-09-30 19:45

2 Answers

I am in charge of SPRESENSE support for Sony.

Regarding the issue of not being able to connect to the ICE (LPC-Link2) you inquired about,
As I checked again, SPRESENSE debug on Eclipse
It's working fine.

■Environment
 Presense SDK: v1.4.0
 LPC-Link 2 firmware version: 1.10
 Eclipse version: Eclipse 2019-03(4.11)

On the other hand, in the following cases, we see the same error message as you indicated.

  • The SWD connection cable does not connect the ICE (LPC-Link 2) to the SPRESENSE expansion board.
  • The SWD connector to the SPRESENSE expansion board board has a bad soldering effect.

From this point of view, please check the following:

In addition, released v1.4.0 provides an IDE environment for VS Code and
Debugging is enabled on the ICE.See the following page for more information.

Spresense SDK Start Guide for IDE

Thank you for your continued support on SPRESENSE.
SPRESENSE Support Team


2022-09-30 19:45

Spresense SDK Start Guide for IDE

ARM-Keil ULINK 2 (genuine) and LPC-Link 2 are introduced in
The following items seem to be connected just in case.

PARTICLE DEBUGGER  Particle Industries, Inc.

I think I can buy it around Digi-Key

Sony, when you introduced the Spresense SDK that can be developed with VS Code, you used something similar.
(Around August 2019 last year.I saw it when you said that the official version will be released around September.)

Enter a description of the image here


2022-09-30 19:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.