Olimex Support Forum

ARM => JTAG => Topic started by: bexizuo on June 25, 2013, 09:05:47 PM

Title: OpenOCD from Olimex's package
Post by: bexizuo on June 25, 2013, 09:05:47 PM
Hi all,

i downloaded OpenOCD exe package from googledoc and installed,

when i open for example STM32-E407_blink_FLASH and start build i got this error:

**** Build of configuration Default for project STM32-E407_blink_FLASH ****

(Cannot run program "make": Launching failed)

did i forgot to install something ? or forgot to configure something ?

please help me,

Kind regards,

Title: Re: OpenOCD from Olimex's package
Post by: LubOlimex on June 26, 2013, 09:44:39 AM
Hey bexizuo,

This seems like the Eclipse can't find the ARM compiler.

You have to install the whole packet in a folder that doesn't contain the space character. Which means "Program Files" is not a valid location.

This is because the open source compiler doesn't like spaces in its path under Windows for some reason.

Also make sure you have placed your mouse cursor in a file that belongs to the project, else Eclipse doesn't understand which project is highlighted.

Best regards,
Lub/OLIMEX
Title: Re: OpenOCD from Olimex's package
Post by: bexizuo on June 26, 2013, 10:37:13 AM
i installed everything "by default" , so default install path was/is :
C:\OlimexODS\yagarto\bin\
C:\OlimexODS\yagarto\arm-none-eabi\bin\
C:\OlimexODS\examples\STM32-E407_blink_FLASH\

....
probably there is some missing configuration in package,

but in example STM32-E407_blink_FLASH is configured makefile to use Cortex-M3 , not M4 , is it ok for STM32-E407 ?

Kind regards,
Title: Re: OpenOCD from Olimex's package
Post by: nimdock on July 21, 2013, 11:17:26 PM
When you install it, the windows path is wrong. It links to c:\Program Files\yagarto\bin, you need change it to C:\OlimexODS\yagarto\bin