Hello!

In case anyone is interested, I uploaded Windows binary with OpenOCD 
with patches enabling SWD support in FTx232-based adapters.

www.freddiechopin.info > Download > Software > OpenOCD dev > 
openocd-0.9.0-dev-swd-140623233947

If you run OpenOCD in JTAG mode like that:

> openocd-... -f interface/ftdi/jtag-lock-pick_tiny_2.cfg -f 
> target/stm32f1x.cfg -c "reset_config trst_and_srst; adapter_khz 1000;"

then for SWD mode it looks more or less like that:

> openocd-... -f interface/ftdi/jtag-lock-pick_tiny_2.cfg -c "transport select 
> swd;" -f target/stm32f1x.cfg -c "reset_config srst_only; adapter_khz 1000;"

"reset_config ..." is not mandatory.

Regards,
FCh

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to