00:03.41 | *** join/#openjtag _julian (~quassel@hmbg-5f761cc1.pool.mediaWays.net) |
01:12.57 | *** join/#openjtag Openfree` (~Openfreer@116.228.88.131) |
01:16.48 | *** join/#openjtag Openfree` (~Openfreer@116.228.88.131) |
01:20.56 | *** join/#openjtag Openfree` (~Openfreer@116.228.88.131) |
01:27.20 | *** join/#openjtag Openfree` (~Openfreer@116.228.88.131) |
01:30.17 | *** join/#openjtag Openfree` (~Openfreer@116.228.88.131) |
03:36.36 | *** join/#openjtag Openfree` (~Openfreer@116.228.88.131) |
03:57.25 | *** join/#openjtag Openfree` (~Openfreer@116.228.88.131) |
05:11.17 | *** join/#openjtag drath (~vmaster@p4FDBD391.dip.t-dialin.net) |
05:11.36 | *** join/#openjtag Weaselweb (~quassel@77-64-193-225.dynamic.primacom.net) |
06:42.46 | *** join/#openjtag e-ndy (~jkastner@nat/redhat/x-nbgfavrolcfszjit) |
08:42.32 | *** join/#openjtag Openfree` (~Openfreer@116.228.88.131) |
09:12.47 | *** join/#openjtag Openfree` (~Openfreer@116.228.88.131) |
09:17.19 | *** join/#openjtag zoobab (zoobab@vic.ffii.org) |
09:35.49 | *** join/#openjtag roxfan (dunno@91.180.43.192) |
12:02.43 | *** join/#openjtag e-ndy (~jkastner@nat/redhat/x-ebsvuwdwwucoxwvu) |
14:18.17 | *** join/#openjtag mnt_real (~mnt_real@bas9-montrealak-1177755294.dsl.bell.ca) |
14:34.52 | *** join/#openjtag roxfan (dunno@91.180.46.210) |
17:18.47 | *** join/#openjtag drath (~vmaster@p4FDBD391.dip.t-dialin.net) |
20:00.11 | *** join/#openjtag e-ndy (~jkastner@static-84-242-102-36.net.upcbroadband.cz) |
20:45.38 | *** join/#openjtag rje`cf (~rje@c-67-161-99-149.hsd1.wa.comcast.net) |
20:59.23 | *** join/#openjtag drath (~vmaster@p4FDBB3C0.dip.t-dialin.net) |
22:07.07 | *** join/#openjtag rje`cf (~rje@c-67-161-99-149.hsd1.wa.comcast.net) |
22:26.54 | *** join/#openjtag microguy (~maxim@174-138-195-38.cpe.distributel.net) |
22:27.08 | microguy | Hello! |
22:35.38 | strohi | hi |
22:36.53 | *** join/#openjtag rje`cf (~rje@c-67-161-99-149.hsd1.wa.comcast.net) |
22:46.04 | microguy | hi, strohi. |
22:47.37 | microguy | Are there some openocd amateurs / developpers here? I have questions related to sending commands _non-interactively_ to a live openocd server. |
22:52.21 | roxfan | use telnet or gdb interface |
22:52.44 | roxfan | maybe tcl can be used... but i don't know it |
22:56.39 | microguy | 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. |
22:57.19 | roxfan | you can send data to telnet/gdb ports in automated way |
22:57.26 | microguy | 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... |
22:57.30 | roxfan | just learn some socked apis |
22:57.41 | roxfan | *socket |
22:58.20 | roxfan | http://openocd.berlios.de/doc/html/Daemon-Configuration.html <- ports are documented here |
22:59.48 | roxfan | if all else fails, there's netcat |
23:00.40 | microguy | I'll read this, thank you! |
23:05.31 | microguy | 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. |
23:05.47 | roxfan | looks like it |
23:06.02 | roxfan | but i have no idea what's the format of those commands |
23:06.36 | microguy | You mean, like what the tcp/ip messages to pass to it have to look like? |
23:06.43 | roxfan | yeah |
23:07.06 | microguy | is there anything such as "RPC connection" standard? |
23:11.41 | microguy | roxfan, openocd is opensource, so without documentation, the best way to learn about it is to dive in the code... |
23:12.37 | microguy | thank you for your help! I'll see if I can understand how it works from the internals. |