Hello Thomas!

Thomas wrote:
> There's a quirk (bug?) in OpenOCD that requires you to give the -f
> option explicitly when using -c commands.
>
>So "openocd -f openocd.cfg -c erasemem" should work.
>
>Also, you have to call "init"-function first -- either on the command
>line, or in your openocd.cfg.

Ah, Ive figured out that the init was necessary but the -f was not
that obvious - thank you!! :-)

By the way, I also try to build a skeleton for my STM32 program to
build on FreeBSD - I assume that you write your programs under
linux/unix so the environment is similar - do you use standard CMSIS,
the STM32F10x_StdPeriph_Lib, or those provided with RIDE? The examples
from RIDE wont build for me with pure STM32F10x_StdPeriph_Lib as there
seems to be some additional header/library files missing (I even know
which ones). Do You have a solution for that, except writing your own
code CMSIS and StdPeriph_Lib conformant? Maybe you have already a
template/skeleton for STM32 projects on Unix? :-)

Best regards,
Tomek Cedro

-- 
CeDeROM, http://www.tomek.cedro.info
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to