Re: [Openocd-development] invoking a procedure defined in cfg file from a commandline

2010-01-28 Thread David Brownell
On Wednesday 27 January 2010, Thomas Kindler 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

Re: [Openocd-development] invoking a procedure defined in cfg file from a commandline

2010-01-28 Thread CeDeROM
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.cf

Re: [Openocd-development] invoking a procedure defined in cfg file from a commandline

2010-01-27 Thread Thomas Kindler
CeDeROM wrote: > Hello world! :-) > Hi! > Is it possible to define a procedure in my openocd.cfg file and then > call this procedure when invoking openocd? In the documentation I have > found how to define a procedure, but did not find information how to > call it :-) Specifically when I call thi

[Openocd-development] invoking a procedure defined in cfg file from a commandline

2010-01-27 Thread CeDeROM
Hello world! :-) Is it possible to define a procedure in my openocd.cfg file and then call this procedure when invoking openocd? In the documentation I have found how to define a procedure, but did not find information how to call it :-) Specifically when I call this procedure from within a file w