On 25 February 2012 00:09, Andreas Fritiofson <[email protected]> wrote: > >> I saw a negligible speed increase (0.5KiB/s), not sure if this is expected. > > Depends on what you tested. Flash programming (with async support) > shouldn't benefit much. Verify and dump is *much* faster here, as well > as raw throughput to RAM. At least on CM3. General debugging should be > snappier too, but it's hard to quantify. I think I've posted these > figures before, which is for STM32F1xx at 64MHz with 3MHz TCK (or was > it 6?): > > Flash write 128k, 29.932 KiB/s -> 32.835 KiB/s > Verify 128k, 97.452 KiB/s -> 221.608 KiB/s > Memory dump 128k, 20.645 KiB/s -> 73.848 KiB/s > RAM download 20k, 76.731 KiB/s -> 100.391 KiB/s > Total elapsed time incl. startup, 13.588s -> 7.128s >
yes sorry, with a memory dump i am seeing 50% speed increase - nice :) before - dumped 262144 bytes in 8.099700s (31.606 KiB/s) after - dumped 262144 bytes in 4.305407s (59.460 KiB/s) >> Andreas, what is your plan with regards to merging/replacing the >> current ftdi implementation? > > First I need a way to specify layouts in Tcl, I really don't wan't > that mess in the driver. I'm going to need some help with that to make > it simple and flexible enough. I've been thinking of having commands > to specify set/clear bitmasks for each operation (assert_srst, > deassert_srst, blink and so on). That should be generic enough, but > it's a huge amount of obscure values that needs to be specified and a > lot of ugly command handlers in C. > > The trouble is how to represent the necessary information cleanly in > the Tcl config file and how to get that information into C (I have > very little knowledge of the Jim-to-C binding). Ideas, anyone? > wish i could help, but i am no tcl expert either. I would like to do something similar that describes the targets registers - perhaps this is better suited to something like xml. Cheers Spen ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
