I cannot get it to work with SWD... What am I doing wrong here? > d:\openocd-dev\openocd-swd\bin-x64>openocd.exe -f target/stm32f1x-swd1.cfg > Open On-Chip Debugger 0.7.0-dev-g88134cb-dirty (2012-11-20-08:40) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.sourceforge.net/doc/doxygen/bugs.html > Info : Transport - autoselecting 'swd' as the only option for 'ft2232_swd' > inter > face. > Info : Transport - selecting LibSWD as SWD transport mechanism and interface > fea > tures... > Error: Cannot add this invalid feature! > Warn : Transport - features '' failed to attach to interface 'ft2232_swd'! > Error: Transport - interface 'ft2232_swd' does not provide/accept features > requi > red by transport 'swd'! > Runtime Error: > d:/openocd-dev/openocd-swd/bin-x64/../scripts/interface/jtag-lock > -pick_tiny_2-swd.cfg:10: > in procedure 'script' > at file "embedded:startup.tcl", line 58 > at file > "d:/openocd-dev/openocd-swd/bin-x64/../scripts/target/stm32f1x-swd1.cfg" > , line 4 > in procedure 'interface' called at file > "d:/openocd-dev/openocd-swd/bin-x64/../s > cripts/interface/jtag-lock-pick_tiny_2-swd.cfg", line 10
My interface has KT-link layout, I only changed description and VID/PID for interface. On the other hand, JTAG access works fine: > d:\openocd-dev\openocd-swd\bin-x64>openocd.exe -f > interface/jtag-lock-pick_tiny_ > 2.cfg -f target/stm32f1x.cfg -c "reset_config trst_and_srst; adapter_khz > 1000;" > Open On-Chip Debugger 0.7.0-dev-g88134cb-dirty (2012-11-20-08:40) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.sourceforge.net/doc/doxygen/bugs.html > Info : Transport - autoselecting 'jtag' as the only option for 'ft2232' > interfac > e. > Info : Transport - interface 'ft2232' defines its own 'oocd_feature_arm_dap' > fea > tures. > Info : Transport - using 'oocd_feature_arm_dap' features of the 'ft2232' > interfa > ce... > adapter speed: 1000 kHz > adapter_nsrst_delay: 100 > jtag_ntrst_delay: 100 > cortex_m3 reset_config sysresetreq > trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain > adapter speed: 1000 kHz > 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 4\/3!! ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
