On Thu, Jul 14, 2011 at 10:47 PM, Xiaofan Chen <xiaof...@gmail.com> wrote: > Then I did similar test under Windows with libftdi-0.19 (with > Liminary's FTDI driver > and libusb-win32 filter driver). The speed is faster than under Linux. Kind of > interesting. I will try the ftd2xx Windows build later. > > D:\work\openocd\build_cxf\openocd_14Jul2011_mingw32\bin>openocd.exe -f > board\ek-lm3s1968.cfg > Open On-Chip Debugger 0.5.0-dev-00954-g0ea76bc-dirty (2011-07-14-21:37) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.berlios.de/doc/doxygen/bugs.html > Info : only one transport option; autoselect 'jtag' > 500 kHz > Info : clock speed 500 kHz > Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg: > 0x23b, part: 0xba00, ver: 0x3) > Info : lm3s1968.cpu: hardware has 6 breakpoints, 4 watchpoints > Info : accepting 'telnet' connection from 4444 > 500 kHz > cortex_m3 reset_config sysresetreq > Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg: > 0x23b, part: 0xba00, ver: 0x3) > target state: halted > target halted due to debug-request, current mode: Thread > xPSR: 0x01000000 pc: 0x0001e340 msp: 0x20000200 > 1200 kHz > flash 'stellaris' found at 0x00000000 > auto erase enabled > wrote 123904 bytes from file ./demo.bin in 11.093000s (10.908 KiB/s) >
Interestingly increasing the jtag_khz value does not help too much. This is with a different PC and with Freddie Chopin's binary but the result is similar. C:\cygwin\home\xfchen\openocd\openocd-0.5.0-rc1\tcl\bin>openocd-0.5.0-rc1.exe -f board\ek-lm3s1968.cfg Open On-Chip Debugger 0.5.0-dev (2011-07-11-21:12) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html Info : only one transport option; autoselect 'jtag' 500 kHz Info : clock speed 500 kHz Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3) Info : lm3s1968.cpu: hardware has 6 breakpoints, 4 watchpoints Info : accepting 'telnet' connection from 4444 500 kHz cortex_m3 reset_config sysresetreq Info : JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0x ba00, ver: 0x3) target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x0001df0c msp: 0x20000300 1200 kHz flash 'stellaris' found at 0x00000000 auto erase enabled wrote 123904 bytes from file demo.bin in 10.984515s (11.016 KiB/s) 6000 kHz flash 'stellaris' found at 0x00000000 auto erase enabled wrote 123904 bytes from file demo.bin in 10.499905s (11.524 KiB/s) -- Xiaofan _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development