Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-25 Thread Rodrigo Rosa
On Thu, Jul 14, 2011 at 6:45 PM, Maxim Cournoyer wrote: > ** > Hello Rodrigo & OpenOCD comrades! > > Le jeudi 07 juillet 2011 à 14:55 -0700, Rodrigo Rosa a écrit : > > the c part of your code was very useful. i'm was the telnet port, and > ignoring the output i did not care about. > now with the g

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-14 Thread Maxim Cournoyer
Hello Rodrigo & OpenOCD comrades! Le jeudi 07 juillet 2011 à 14:55 -0700, Rodrigo Rosa a écrit : > the c part of your code was very useful. i'm was the telnet port, and > ignoring the output i did not care about. > now with the gdb port i get: > - "0" for success > - "1" for fail > - a mess

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-07 Thread Rodrigo Rosa
the c part of your code was very useful. i'm was the telnet port, and ignoring the output i did not care about. now with the gdb port i get: - "0" for success - "1" for fail - a message "invalid command name " if the cmd name is invalid - whatever the command would normally output to th

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-07 Thread Rodrigo Rosa
thanks! :) On Thu, Jul 7, 2011 at 7:52 AM, Maxim Cournoyer wrote: > Le mercredi 06 juillet 2011 à 18:50 -0700, Rodrigo Rosa a écrit : > > On Mon, Jul 4, 2011 at 4:13 PM, Maxim Cournoyer > wrote: >> On Jul 2, 2011 6:15 PM +0200, Øyvind Harboe wrote: >> >> Use the Source Luke. The end of the comma

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-07 Thread Maxim Cournoyer
Le mercredi 06 juillet 2011 à 18:50 -0700, Rodrigo Rosa a écrit : > On Mon, Jul 4, 2011 at 4:13 PM, Maxim Cournoyer > 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. Pat

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-06 Thread Rodrigo Rosa
On Mon, Jul 4, 2011 at 4:13 PM, Maxim Cournoyer 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 charact

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-04 Thread Øyvind Harboe
You need to configure with: ./configure --enable-maintainer-mode -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/ ___ Openocd-development mailing list Openocd

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-04 Thread Maxim Cournoyer
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

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-02 Thread Joe Chisolm
On 07/02/2011 09:37 AM, Maxim Cournoyer wrote: $> openocd -f board/lm3s8962.cfg Open On-Chip Debugger 0.5.0-dev-00945-gf6026a8 (2011-07-01-11:11) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html Info : only one transport op

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-02 Thread Maxim Cournoyer
On Sat, Jul 2, 2011 at 09:31 +0200, Øyvind Harboe wrote: > > You need to use the "capture" command to capture progress output. > > Try something like: > > capture {reset halt} > Hello Øyvind! Thank you for helping, but when using the port with the tcl script posted before, I confirm tha

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-02 Thread Maxim Cournoyer
On Sat, Jul 2, 2011 at 05:36 -0700, Rodrigo Rosa wrote : > your script worked with port (telnet port) > (copy+paste and swap with ) I can confirm that this works (to my surprise! I don't know a lot about telnet, but was thinking something more was required then a simple "send" on a

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-02 Thread Rodrigo Rosa
your script worked with port (telnet port) (copy+paste and swap with ) On Fri, Jul 1, 2011 at 6:04 PM, Maxim Cournoyer wrote: > Hi all, > > I would like to know the details about controlling openocd via TCP/IP (port > ). I have been experimenting with it, and  I hope I'm doing s

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-02 Thread Øyvind Harboe
On Sat, Jul 2, 2011 at 3:04 AM, Maxim Cournoyer wrote: > Hi all, > > I would like to know the details about controlling openocd via TCP/IP (port > ). I have been experimenting with it, and  I hope I'm doing something > wrong, because it does not seem to work. > > I can connect to the openocd s

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-01 Thread Maxim Cournoyer
> i used a made a nasty pgm that connect through tcp to the openocd tcl > interface (port ), and to get openocd to do stuff i have send a \n > for example, "reset" will not do anything, but "reset\n" does what > it's supposed to do. > haven't tried the gdb port. > > salú! Hi there! Thank you

Re: [Openocd-development] tcl_server TCP/IP commands usage?

2011-07-01 Thread Rodrigo Rosa
i used a made a nasty pgm that connect through tcp to the openocd tcl interface (port ), and to get openocd to do stuff i have send a \n for example, "reset" will not do anything, but "reset\n" does what it's supposed to do. haven't tried the gdb port. salú! On Fri, Jul 1, 2011 at 6:04 PM, Ma

[Openocd-development] tcl_server TCP/IP commands usage?

2011-07-01 Thread Maxim Cournoyer
Hi all, I would like to know the details about controlling openocd via TCP/IP (port ). I have been experimenting with it, and I hope I'm doing something wrong, because it does not seem to work. I can connect to the openocd server, but any "command word" such as "reset" or "halt", sent has n