I am having a little trouble getting started with STM32F030R8 nucleo board
with integrated STLINKv2. Hopefully I am following the best way to get started
and not going down the wrong path.
This is what I have done.
Downloaded ChibiStudio_Linux_Preview2.7z
Launched ChibiStudio-GCC8.3.1
Created eclipse workspace
File->New Imported source from Demo folder RT-STM32F030R8-NUCLEO64
Opened Main.c
Project-> Build all
The project built with no errors or warnings
When I went to upload to my board via "OpenOCD, Flash & Run" config
I got the error:
Error in final launch sequence:
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: Connection timed out.
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: Connection timed out.
I read the readme to change debug protocol to OpenOCD TCP/IP
so I changed:
<stringAttribute key="org.eclipse.cdt.debug.mi.core.protocol" value="mi"/>
to
<stringAttribute key="org.eclipse.cdt.debug.mi.core.protocol" value="OpenOCD TCP/IP"/>
or
maybe I was supposed to change this lines value to "OpenOCD TCP/IP"
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.jtagDevice" value="Generic TCP/IP"/>
Looking for a little direction Thank you.