|
From: Xiaofan C. <xia...@gm...> - 2012-08-30 14:24:36
|
On Wed, Aug 29, 2012 at 5:10 PM, Freddie Chopin <fre...@op...> wrote: > W dniu 2012-08-29 10:36, Freddie Chopin pisze: >> As usuall I will soon provide a Windows binary on my website. > > Binaries are already there: > http://www.freddiechopin.info/ Seems to work fine as well. Tested with the same setup but with a VirtualBox Windows 7 32bit VM under the same Mac OS X machine. The speed is of course a bit slower than compared to under Mac OS X because of the use of a virtual machine. BTW, the next version of libusbx 1.0.13 will support winusb.sys, libusb0.sys and libusbk.sys. Then it is probably possible to use the libusb0.sys filter driver on top of the existing vendor driver (eg: FTDI driver) without switching to Winusb. But I encountered some issues with the current libusbx git so that is still not working yet. C:\work\openocd\openocd-0.6.0-rc2\bin>openocd-0.6.0-rc2 -f mpsse.cfg Open On-Chip Debugger 0.6.0-rc2 (2012-08-29-09:22) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html Info : only one transport option; autoselect 'jtag' adapter speed: 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: 0x ba00, ver: 0x3) Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6 410, ver: 0x1) Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints adapter speed: 1000 kHz Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0x ba00, ver: 0x3) Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6 410, ver: 0x1) target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x0800272c msp: 0x20000810 adapter speed: 8000 kHz dumped 131072 bytes in 0.470677s (271.949 KiB/s) verified 131072 bytes in 0.440634s (290.491 KiB/s) Info : device id = 0x20036410 Info : flash size = 128kbytes stm32x mass erase complete wrote 131072 bytes from file dump_LCD_demo.bin in 3.775429s (33.903 KiB/s) verified 131072 bytes in 0.480691s (266.283 KiB/s) 20480 bytes written at address 0x20000000 downloaded 20480 bytes in 0.070101s (285.303 KiB/s) adapter speed: 1000 kHz Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0x ba00, ver: 0x3) Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6 410, ver: 0x1) shutdown command invoked C:\work\openocd\openocd-0.6.0-rc2\bin>openocd-0.6.0-rc2 -f nompsse.cfg Open On-Chip Debugger 0.6.0-rc2 (2012-08-29-09:22) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html Info : only one transport option; autoselect 'jtag' adapter speed: 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: 0x ba00, ver: 0x3) Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6 410, ver: 0x1) Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints adapter speed: 1000 kHz Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0x ba00, ver: 0x3) Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6 410, ver: 0x1) target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x0800272c msp: 0x20000810 adapter speed: 7500 kHz dumped 131072 bytes in 5.040211s (25.396 KiB/s) verified 131072 bytes in 0.693995s (184.439 KiB/s) Info : device id = 0x20036410 Info : flash size = 128kbytes stm32x mass erase complete wrote 131072 bytes from file dump_LCD_demo.bin in 4.459303s (28.704 KiB/s) verified 131072 bytes in 0.787970s (162.443 KiB/s) 20480 bytes written at address 0x20000000 downloaded 20480 bytes in 0.116724s (171.344 KiB/s) adapter speed: 1000 kHz Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0x ba00, ver: 0x3) Info : JTAG tap: stm32f1x.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6 410, ver: 0x1) shutdown command invoked -- Xiaofan |