On 23.02.2014 06:25, Paul Fertser wrote:
> Hi,
>
> On Sat, Feb 22, 2014 at 11:02:14PM +0100, Andreas Ortmann wrote:
>> I'm playing around with the TCL RPC (default port 6666) atm. The problem
>> is that I cannot get the output of commands like:
>> 'mem2array outputArray 8 0x023223 1\x1a'
>> in a convenient way by reading from the socket after sending the command.
>
> Please see if http://openocd.zylin.com/#/c/1915/ helps (and feel free
> to review). First, currently (I hope it'll be changed in the future)
> to get the return values from most commands you need to prefix them
> with ocd_; second, you can use "capture" command to have any log
Okay, If I prefix commands with ocd_ it works. Thanks.

> output returned to you. The example program seems to be doing exactly
> what you want: reading from target's memory, but it uses mdw.
>
> HTH
>

I'll run your nice haskell example in a moment and will review it later 
on. I still got problems finding an working OpenID provider ;)

Greetings,
Andreas Ortmann / knoc

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to