Hi all,
I am using the ST Link V2 integrated on the STM32F4 Discovery Board and
OpenOCD 0.8.0.
When using *mem2array <arrayname> 32 <address> 1* from tcl script, I am
observing behavior that suggest the command is reading the memory location
twice.
I am reading a 32-bit wide memory mapped FIFO where every FIFO read
decrements the count by one word. One 32-bit mem2array read is
decrementing the FIFO counter by two words.
*mem2array <arrayname> 32 <FIFO_address> 1 *<-- Reads 32-bit data but
decrements FIFO by 2 words (should be 1)
*mem2array <arrayname> 16 < FIFO_address > 1 *<-- Reads 16-bits but
decrements FIFO by 2 words (should be 1)
*mem2array <arrayname> 8 < FIFO_address > 1 *<-- Reads 8-bits and
decrements FIFO count by 1 word (as expected)
*mem2array <arrayname> 8 < FIFO_address > 4 *<-- Reads 8-bits and
decrements FIFO count by 4 words
Anyone have an idea on how to work around this?
Ken
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel