Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Trouble setting up debug configuration.(Setting up OpenOCD debugger config option)
Trouble setting up debug configuration. [message #1809013] Fri, 05 July 2019 20:36
Vince Xu is currently offline Vince XuFriend
Messages: 1
Registered: July 2019
Junior Member
Good days folks,

A newbie here trying to export the program I created on mbed-os' online compiler to Eclipse. There is a detailed guide on how to do this, however, I still got stuck on setting up the debugger config options using OpenOCD in Eclipse. This is an embedded program and the board I'm using is Nucleo-L4R5ZI. Under the GDB OpenOCD Debugging tab, I have:
$ PATH_TO_OPENOCD/bin/openocd
-f PATH_TO_OPENOCD/scripts/board/st_nucleo_l4.cfg
-f PATH_TO_OPENOCD/scripts/interface/stlink-v2-1.cfg
-c init
-c "reset init"

However, this is giving me: OpenOCD failed with code (1). I tried searching for the solution but to no avail. Any pointer would be appreciated, thank you.
Previous Topic:Indexer(Providers) do not parses the -D option using arm toolchain
Next Topic:How to setup Windows build automation (preferably cmake)
Goto Forum:
  


Current Time: Sat Apr 27 05:19:51 GMT 2024

Powered by FUDForum. Page generated in 0.03731 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top