On Mon, Jul 4, 2011 at 4:13 PM, Maxim Cournoyer
<[email protected]> wrote:
> On Jul 2, 2011 6:15 PM +0200, Øyvind Harboe wrote:
>
> Use the Source Luke. The end of the command is not linefeed but 0x??. There
> ought to be updated docs. Patch?
>
> Great tip!  I found it inside the tcl_server.c file; the end of character
> used by the openocd tcl server is 0x1a.
> I managed to get the result I was looking for, a simple application which
> usage goes like:
>
> program </path/to/romfile.bin>
>
> The objective was to automate the ROM flashing procedure from Eclipse IDE
> when working with the LM3S8962 kit. The app can be configured as an
> "external tool" and launched at the touch of a button. It could also be
> called inside a custom makefile. The use of the tcl_server is a great
> feature to me, because an openocd daemon is already running most of the
> time, to provide debugging facility.
>
> I have made a C version and a BASH (w/ netcat) version of such a small app.
> I also toyed with tcl to make a telnet-like utility to test openocd's tcl
> server.
>
> I also gathered a LM3S8962.cfg file on the internet and refactored it in to
> a similar way to what could be seen inside the /usr/share/openocd/scripts
> folder. I can post all that stuff if anyone is interested.
>

i'm working on something similar.
would you mind posting your stuff?
thanks!

> I'd like to see if I can produce a patch for the user manual, but first I'll
> have to get the doc building. From current git, when I type "make pdf", it
> fails with the following message:
>
> This is `epsf.tex' v2.7.4 <14 February 2011>
> ) localization, formatting, and turning on texinfo input format.)
> (./openocd.aux)
> ./../../doc/openocd.texi:12: I can't find file `version.texi'.
> @temp ->@input version.texi
>
> @includezzz ...and @input #1 }@expandafter }@temp
>                                                   @popthisfilestack
> l.12 @include version.texi
>
> (Press Enter to retry, or Control-D to exit)
> Please type another input file name
> ./../../doc/openocd.texi:12: Emergency stop.
> @temp ->@input version.texi
>
> @includezzz ...and @input #1 }@expandafter }@temp
>                                                   @popthisfilestack
> l.12 @include version.texi
>
> ./../../doc/openocd.texi:12:  ==> Fatal error occurred, no output PDF file
> prod
> uced!
>
> Transcript written on openocd.log.
>
> I have attached the openocd.log file.
>
> Salutations!
>
>
> _______________________________________________
> Openocd-development mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/openocd-development
>
>



-- 
Rodrigo.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to