**** BEGIN LOGGING AT Thu Jun 30 02:59:57 2011 Jun 30 22:30:19 Hello! Jun 30 22:38:49 hi Jun 30 22:49:16 hi, strohi. Jun 30 22:50:48 Are there some openocd amateurs / developpers here? I have questions related to sending commands _non-interactively_ to a live openocd server. Jun 30 22:55:33 use telnet or gdb interface Jun 30 22:55:55 maybe tcl can be used... but i don't know it Jun 30 22:59:50 roxfan, thanks for helping, but I need an automated solution. The closer I have found is to run openocd -f "myboard.cfg" -c "command", but this requires that openocd be started and close everytime. Jun 30 23:00:31 you can send data to telnet/gdb ports in automated way Jun 30 23:00:37 I saw there is supposedly a TCP/IP port to which we can send commands, but it does not seem to be documented thoroughly anywhere... Jun 30 23:00:41 just learn some socked apis Jun 30 23:00:52 *socket Jun 30 23:01:32 http://openocd.berlios.de/doc/html/Daemon-Configuration.html <- ports are documented here Jun 30 23:02:59 if all else fails, there's netcat Jun 30 23:03:52 I'll read this, thank you! Jun 30 23:08:42 roxfan, so there would be a 6666 port (default) labeled "tcl_port" that can be used for issuing tcl commands through a simple RPC connection. Jun 30 23:08:58 looks like it Jun 30 23:09:14 but i have no idea what's the format of those commands Jun 30 23:09:47 You mean, like what the tcp/ip messages to pass to it have to look like? Jun 30 23:09:54 yeah Jun 30 23:10:17 is there anything such as "RPC connection" standard? Jun 30 23:14:52 roxfan, openocd is opensource, so without documentation, the best way to learn about it is to dive in the code... Jun 30 23:15:48 thank you for your help! I'll see if I can understand how it works from the internals. **** ENDING LOGGING AT Fri Jul 01 02:59:57 2011