On 27/08/13 10:14, Chris Fryer wrote: > The first problem was that when 'flash info 0' was run, the code would > quit with an assert(bank->num_sectors > 0); > This turned out to be a simple fix: size and count reversed when > calling target_read_memory to get config registers from the IC. Patch > attached. I now realise (I think) that the above patch was, in fact, a workaround for a problem with multiple byte reads presumably in the cmsis-dap implementation:
> mdb 0x40020010 0x04 0x40020010: ff 00 00 00 > mdw 0x40020010 0x01 0x40020010: ffffffff ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel