On Sat, May 23, 2015 at 9:54 PM, Xiaofan Chen <[email protected]> wrote: > On Sat, May 16, 2015 at 9:18 PM, Xiaofan Chen <[email protected]> wrote: >>> I tried a few STM32 Discovery Board as well, F0 and F3 >>> both are okay (ST-Link V2), VL does not seem to work >>> (ST-Link V1). Even after using the work-around proposed >>> by Paul (#reset_config srst_only; to comment out this line >>> in the board config file), it does not seem to work under >>> Mac OS X. I will try to see if it works under Windows or not. >> >> I see there is a fix in gerrit and I will give it a try later. >> jtag/drivers/stlink: SRST issue with stlink-v1 >> http://openocd.zylin.com/#/c/2761/ >> > > BTW, the above fix is included in 0.9.0 and it fixed the > ST-Link V1 issue I had with 0.9.0-rc1.
I also tested 0.9.0 with F072 discovery board and F4 discovery board and both are okay as well. I do not have F2 boards. Example: F4 discovery run log under Mac OS X. MyMacMini:stm32f4 xiaofanc$ openocd -f openocd_stlink.cfg Open On-Chip Debugger 0.9.0 (2015-05-23-20:46) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD adapter speed: 2000 kHz adapter_nsrst_delay: 100 none separate srst_only separate srst_nogate srst_open_drain connect_deassert_srst Info : Unable to match requested speed 2000 kHz, using 1800 kHz Info : Unable to match requested speed 2000 kHz, using 1800 kHz Info : clock speed 1800 kHz Info : STLINK v2 JTAG v17 API v2 SWIM v0 VID 0x0483 PID 0x3748 Info : using stlink api v2 Info : Target voltage: 2.876336 Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints adapter speed: 1000 kHz target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x0800422c msp: 0x20000c80 adapter speed: 8000 kHz dumped 1048576 bytes in 26.632374s (38.449 KiB/s) target state: halted target halted due to breakpoint, current mode: Thread xPSR: 0x61000000 pc: 0x2000002e msp: 0x20000c80 verified 1048576 bytes in 8.985269s (113.964 KiB/s) Info : device id = 0x10016413 Info : flash size = 1024kbytes stm32x mass erase complete target state: halted target halted due to breakpoint, current mode: Thread xPSR: 0x61000000 pc: 0x20000042 msp: 0x20000c80 wrote 1048576 bytes from file dump.bin in 22.999311s (44.523 KiB/s) target state: halted target halted due to breakpoint, current mode: Thread xPSR: 0x61000000 pc: 0x2000002e msp: 0x20000c80 verified 1048576 bytes in 8.975592s (114.087 KiB/s) adapter speed: 1000 kHz shutdown command invoked -- Xiaofan ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
