I try to flash Helloworld_demo to QCA4024, but I got -dap parameter error
/cygdrive/c/Users/username/qca4020-or-3-0_qca_oem_standard-sdk024-cdb.git/target/quartz/demo/Helloworld_demo/build/gcc
$ ./flash_openocd.bat
Open On-Chip Debugger 0.10.0 (2019-02-10) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 5000 kHz
embedded:startup.tcl:24: Error: target requires -dap parameter instead of -chain-position, see http://visualgdb.com/support/chainposition
in procedure 'script'
at file "embedded:startup.tcl", line 63
Do you know how to get openocd 2017-06-09 ?
I set QCA4024 with JTAG flashing jumper setting.
You have to fix the OpenOCD config file to use newer versons
In the QCLI_demo app I had to change qca402x_openocd.cfg