On Sat, May 19, 2012 at 11:16 AM, Xiaofan Chen <[email protected]> wrote:
> On Sat, May 19, 2012 at 10:52 AM, Xiaofan Chen <[email protected]> wrote:
>> On Fri, May 11, 2012 at 11:00 PM, Xiaofan Chen <[email protected]> wrote:
>>>
>>> I also test the latest vanilla git with the same setup. Your mpsse
>>> version is much faster in dump and verify. Great job.
>>
>> Here is the result for the latest patch series. Tested under
>> Ubuntu 12.04 with an 6-year older PC (but fast enough for
>> Windows XP and Ubuntu 12.04, Dell OptiPlex GX620 slim,
>> Pentium 4, 3.2GHz, 2GB RAM, discrete graphics card).
>>
>> The non-mpsse version has quite good performance already
>> but the mpsse version is certainly better.
>>

Same for Mac OS X.

mymacmini:stm32 xiaofanc$ diff -u openocd_nonmpsse.cfg openocd.cfg
--- openocd_nonmpsse.cfg        2012-05-22 22:54:02.000000000 +0800
+++ openocd.cfg 2012-05-22 22:53:24.000000000 +0800
@@ -1,4 +1,4 @@
-source [find interface/jtagkey2.cfg]
+source [find interface/ftdi/jtagkey2.cfg]
 source [find target/stm32f1x.cfg]
 #source [find board/stm32vldiscovery.cfg]

mymacmini:stm32 xiaofanc$ ~/bin/bin/openocd_llvm_mod -f openocd.cfg
Open On-Chip Debugger 0.6.0-dev-00557-g61d38c5-dirty (2012-05-22-21:26)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
1000 kHz
adapter_nsrst_delay: 100
jtag_ntrst_delay: 100
cortex_m3 reset_config sysresetreq
Info : clock speed 1000 kHz
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020,
part: 0x6410, ver: 0x1)
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
1000 kHz
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020,
part: 0x6410, ver: 0x1)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800272c msp: 0x20000810
8000 kHz
dumped 131072 bytes in 0.347727s (368.105 KiB/s)
verified 131072 bytes in 0.282213s (453.558 KiB/s)
Info : device id = 0x20036410
Info : flash size = 128kbytes
stm32x mass erase complete
wrote 131072 bytes from file dump.bin in 3.541698s (36.141 KiB/s)
verified 131072 bytes in 0.281754s (454.297 KiB/s)
20480 bytes written at address 0x20000000
downloaded 20480 bytes in 0.047272s (423.083 KiB/s)
1000 kHz
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020,
part: 0x6410, ver: 0x1)
shutdown command invoked

mymacmini:stm32 xiaofanc$ ~/bin/bin/openocd_llvm_mod -f openocd_nonmpsse.cfg
Open On-Chip Debugger 0.6.0-dev-00557-g61d38c5-dirty (2012-05-22-21:26)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
1000 kHz
adapter_nsrst_delay: 100
jtag_ntrst_delay: 100
cortex_m3 reset_config sysresetreq
Info : max TCK change to: 30000 kHz
Info : clock speed 1000 kHz
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020,
part: 0x6410, ver: 0x1)
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
1000 kHz
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020,
part: 0x6410, ver: 0x1)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800272c msp: 0x20000810
7500 kHz
dumped 131072 bytes in 1.544146s (82.894 KiB/s)
verified 131072 bytes in 0.447791s (285.848 KiB/s)
Info : device id = 0x20036410
Info : flash size = 128kbytes
stm32x mass erase complete
wrote 131072 bytes from file dump.bin in 3.695598s (34.636 KiB/s)
verified 131072 bytes in 0.472005s (271.184 KiB/s)
20480 bytes written at address 0x20000000
downloaded 20480 bytes in 0.049785s (401.727 KiB/s)
1000 kHz
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg:
0x23b, part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020,
part: 0x6410, ver: 0x1)
shutdown command invoked


-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to