我有使用OpenOCD的麻烦。由于某些原因,OpenOCD 找不到swj-dp.tcl ,但该文件存在于C:\ OpenOCD \ share \ openocd \ scripts \ target。
Open On-Chip Debugger 0.9.0 (2015-08-15-12:41)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
C:\OpenOCD\share\openocd\scripts\target\stm32f1x.cfg:6: Error: Can't find target/swj-dp.tcl
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file "C:\OpenOCD\share\openocd\scripts\target\stm32f1x.cfg", line 6
您对我有什么想法或建议吗?谢谢
答案 0 :(得分:2)
问题源于= CountIf( Sheet2!A1:A1234, B2 )
配置文件是包含其他脚本的TCL脚本。并且仅在提供的搜索目录(IIRC,默认情况下仅当前目录)中搜索包含脚本的那些脚本。所以你需要提供额外的搜索目录:
openocd