Hi,

On Wed, Mar 16, 2022 at 08:53:17PM -0000, Andrew Eidsness wrote:
> I've checked out the v0.11.0 branch and built openocd with the config 
> parameters
> listed at the end. I've actually tried several different options, the one 
> listed
> at the end is "everything I could find".
...
> I've connected a FlySwatter2 to a 1294xl, but I get an error when trying to
> launch with:
> 
> $ openocd -f interface/ftdi/flyswatter2.cfg -f board/ti_ek-tm4c1294xl.cfg -c

This looks more like a support request, please consider writing to the
mailing list (-devel is fine) or asking on the IRC the next time.

The problem there is that you tell OpenOCD you're using a specific
evaluation board while in fact you're connecting an external JTAG
adapter directly to the target chip. So you should be sourcing the
target config rather than the board config.

HTH
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com


---

** [tickets:#342] invalid command name "hla_layout"**

**Status:** new
**Milestone:** 0.11.0
**Created:** Wed Mar 16, 2022 08:53 PM UTC by Andrew Eidsness
**Last Updated:** Wed Mar 16, 2022 08:53 PM UTC
**Owner:** nobody


I've checked out the v0.11.0 branch and built openocd with the config 
parameters listed at the end.  I've actually tried several different options, 
the one listed at the end is "everything I could find".

I've also reproduced this on the v0.10.0 that comes bundled with my OS (Ubuntu 
20.04).

I've connected a FlySwatter2 to a 1294xl, but I get an error when trying to 
launch with:

$ openocd -f interface/ftdi/flyswatter2.cfg -f board/ti_ek-tm4c1294xl.cfg -c 
init
Open On-Chip Debugger 0.11.0-dirty (2022-03-15-11:17)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Warn : Interface already configured, ignoring
/usr/local/bin/../share/openocd/scripts/interface/ti-icdi.cfg:11: Error: 
invalid command name "hla_layout"
in procedure 'script' 
at file "embedded:startup.tcl", line 26
at file "/usr/local/bin/../share/openocd/scripts/board/ti_ek-tm4c1294xl.cfg", 
line 7
at file "/usr/local/bin/../share/openocd/scripts/interface/ti-icdi.cfg", line 11

Configuration line:

$ ./configure --enable-dummy --enable-rshim --enable-ftdi --enable-stlink 
--enable-ti-icdi --enable-ulink --enable-usb-blaster-2 --enable-ft232r 
--enable-vsllink --enable-xds110 --enable-osbdm --enable-opendous --enable-aice 
--enable-usbprog --enable-rlink --enable-armjtagew --enable-usb-blaster 
--enable-presto --enable-openjtag --enable-jlink --enable-jtag_vpi 
--enable-jtag_dpi --enable-amtjtagaccel --enable-bcm2835gpio --enable-imx_gpio 
--enable-ep93xx --enable-at91rm9200 --enable-gw16012 --enable-buspirate 
--enable-sysfsgpio --enable-xlnx-pcie-xvc --enable-remote-bitbang



---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to