在ATSAMA5D36 Xplained板上错误的OpenOCD调试:

时间:2018-10-26 12:50:26

标签: atmel ftdi openocd jtag

  • 我正在尝试使用OpenOCD在ATSAMA5D36 Xplained板上闪烁。
  • 我构建并编译了应用程序,并希望使用OpenOCD进行调试。当我这样做时,出现以下错误。

Openocd版本:

  

openocd-0.9.0.tar.gz

 root@Harsha:/home/harsha/openocd_bin# openocd -f 

interface/ftdi/ngxtech.cfg -f target/sama5d36.cfg Open On-Chip Debugger 0.10.0+dev-00556-gd0be163-dirty (2018-10-25-18:04) Licensed under GNU GPL v2

有关错误报告,请阅读http://openocd.org/doc/doxygen/bugs.html警告!

 This file was not tested with real interface, but is assumed to work as this
interface uses the same layout as configs that were verified. Please report your
experience with this file to openocd-devel mailing list, so it could be marked
as working or fixed.
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain 
connect_deassert_srst
adapter speed: 1500 kHz
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
embedded:startup.tcl:21: Error: target requires -dap parameter instead of -chain-position!
in procedure 'script' 
at file "embedded:startup.tcl", line 60
in procedure 'target' called at file "target/sama5d36.cfg", line 46
in procedure 'ocd_bouncer' 
at file "embedded:startup.tcl", line 21

已执行的步骤:

$ sudo apt-get install build-essential
$ sudo apt-get install automake
$ sudo apt-get install autoconf
$ sudo apt-get install texinfo

内部版本:

$ cd openocd-r520/
$ ./bootstrap
$ ./configure  --enable-ft2232_ftd2xx
$ make
$ sudo make install

我正在使用基于FT2232芯片,FTDI支持库的JTAG适配器。

$ wget http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx0.20.0 .tar.gz
$ tar -zxf libftd2xx0.20.0tar.gz
$ sudo cp *.h /usr/local/include/
$ sudo cp libftd2xx.so.0.20.0 /usr/local/lib/
$ cd /usr/local/lib/
$ sudo ln -s libftd2xx.so.0.20.0 libftd2xx.so
$ sudo ln -s libftd2xx.so.0.20.0 libftd2xx.so.0
$ cd /usr/lib/
$ sudo ln -s /usr/local/lib/libftd2xx.so.0.20.0libftd2xx.so.0
$ sudo mount -a

-我无法确定问题,我只知道此详细信息。任何帮助将不胜感激。

预先感谢

0 个答案:

没有答案