Hi, Please do not send HTML to the mailing list, plain text is much easier and consistent.
On Thu, Aug 01, 2013 at 06:34:42PM -0700, Kenneth Lee wrote: > I am using the ST Link V2 integrated on the STM32F4 Discovery Board and > OpenOCD > 0.8.0. Yep, that's a very important detail. > mem2array <arrayname> 32 <FIFO_address> 1** <-- Reads 32-bit data but > decrements > FIFO by 2 words (should be 1) Strange. > mem2array <arrayname> 16 < FIFO_address > 1** <-- Reads 16-bits but decrements > FIFO by 2 words (should be 1) That's to be expected, the code for stlink doesn't handle 16-bit reads. > 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 Yep, right. So, to figure out what's happening, please start openocd in gdb and then place a breakpoint on stlink_usb_read_mem32(), run, try your mem2array call and see how many times it's actually gets called, and from where and with what parameters. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected] ------------------------------------------------------------------------------ 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
