How to launch openocd for the nucleo stm32l152?
Hello,
I'm new to embedded programming and to the stm32 platform.
I'm using linux. I need to debug and inspect the memory of the device. Openocd seems to be the preferred (perhaps the only way?) to do this on linux. I installed openocd but despite long searches on the internet, it's not clear how to launch it to work with my nucleo L152RE.
When I run
openocdon the command line, I get
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
embedded:startup.tcl:60: Error: Can't find openocd.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 60
Error: Debug Adapter has to be specified, see "interface" command
embedded:startup.tcl:60: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 60How can I run the program?
Thanks for your help.
Thanks for your help.
