I’m new to the ARM world, I got myself the STM32-H103 board and the Olimex ARM-USB-OCD jTAG debugger .
For some reason I am having a hard time flashing the STM board with the simple LED blinking example ! I downloaded the Olimex package software (OpenOCD, Eclipse IDE, YAGARTO) and I am working on Win7 64bit. I had a problem at first with “make”. it sent out an error “Can not find program “make”” which I solved by using the full path in the project properties of where “make” is located. now I’m getting another error on the eclipse ‘console’ tab:
**** Build of configuration Default for project STM32-P103_blink_FLASH ****
D:\OlimexODS\yagarto\bin\make.exe all
".compiling"
arm-none-eabi-gcc -Wall -fno-common -c -g -mcpu=cortex-m3 -mthumb -g -O0 -I./ -I./lib/ -I./lib/inc/ -I./lib/inc/../../ -DTRACE_LEVEL=4 -o obj/main.o main.c
arm-none-eabi-gcc: CreateProcess: No such file or directory
make: *** [obj/main.o] Error 1
I’m not sure where to go from here!?!
I’m also new to Eclipse so I’d appreciate the extra explanation if required
My first guess is that your make program is not in the path. Possibly the compiler as well. Can’t help with win 7, don’t have it. I would guess somewhere you can modify the path.
Can you also put the complete path in the makefile (At least for the compiler stuff).
I am more of a hardware guy who manages to get the software to eventually work.
Congratulations, openocd is now running and connected to the processor. It’s just the server that is running which you need to connect to using telnet.
In another terminal try:
telnet localhost 4444
That works on Linux, you’ll probably have a lot more pain on Windows, but once you figure that out, then you can interact with openocd via its command syntax.
Thanks! My problem was actually that I simply didn’t start the debug mode! as smead said, that above only means that openocd is running, all I had to do is start the debugger from eclipse (the “bug” icon to the right of “build” icon at the top) and that’s it