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
-Duane.
On Feb 22, 2014, at 2:02 PM, Andreas Ortmann <[email protected]>
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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-devel
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel