Where is the OpenOCD .cfg File for Specific Boards?

I am trying to use OpenOCD for debugging and porting things to/from the BeagleY-AI.

I see there are some files needed. I am still new on OpenOCD but learning.

Are there any files already used by beagleboard.org persons to handle OpenOCD? If so, where are they located on the fs or are they in openbeagle.org?

So, something like this is what I expect to work:

sudo openocd -f interface/cmsis-dap.cfg -f target/BeagleY-AI.cfg -c "adapter speed 5000" -c "program blink.elf verify reset exit"

I will try with VS Code or another form later for connecting to OpenOCD and GDB but for now, I would like to know more if you are available to answer.

  • So, is there a file (.cfg) for use cases?
  • Is OpenOCD still used with the debugging and writing of binaries to the BeagleY-AI?
  • If so, are there any tutorials for beagleboard boards in particular circulating?

Seth

1 Like

on linux ubuntu 22.04
does not look like there is one for BeagleY-AI or PocketBeagle2
/usr/share/openocd/
./scripts/board/ti_beagleboard_xm.cfg
./scripts/board/ti_beagleboard.cfg
./scripts/board/ti_beaglebone-base.cfg
./scripts/board/ti_beaglebone.cfg
./scripts/board/ti_beaglebone_black.cfg

version
Open On-Chip Debugger 0.11.0

1 Like

Aw…

/usr/share/openocd/ and the /scripts/board/ files. Thank you…

Seth

1 Like