On 23.02.2014 05:47, Duane Ellis wrote:
> What are you expecting the ‘mem2array’ to do?
>
> As the name implies, the function reads memory and places it into an array 
> variable, there would be no output from that.
>
> If I remember the syntax of this command:
>
>    mem2array outputArray  8  0x023223 1
>
> means:
>      Create an array variable
>      Read 8 bit data
>      Starting at address 0x023223
>      For exactly 1 byte
>
> There would be no output.
>
> You could print the array - that would produce output
Okay, I forgot that some commands have no output. I also tried printing 
arrays but got no output from doing that.

> -Duane.
>
>
>
> On Feb 22, 2014, at 2:02 PM, Andreas Ortmann <ortm...@finf.uni-hannover.de> 
> wrote:
>
>> Hello,
>>
>> 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.
>>
>> At the moment, I'm issuing 'log_output test.log' at the beginning so I
>> can parse the result of the command from a logfile.
>>
>> How can I get the output from reading on the socket?
>>
>> Greetings,
>> Andreas Ortmann / knoc
>>
>> ------------------------------------------------------------------------------
>> Managing the Performance of Cloud-Based Applications
>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>> Read the Whitepaper.
>> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
>> _______________________________________________
>> OpenOCD-devel mailing list
>> OpenOCD-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/openocd-devel
>>
>


------------------------------------------------------------------------------
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