I would like to debug Verdin on Dahlia with on board FTDI JTAG interface with openOCD. There is no script to support the board OpenOCD v0.11.0-1. Also there is no documentation specific to Verdin on here on Toradex website. Please share if you have.
Thanks in advance.
The openOCD start with following CFG and report as
CPU examination failed…
xPack OpenOCD, x86_64 Open On-Chip Debugger 0.11.0-00155-ge392e485e (2021-03-15-16:43)
Licensed under GNU GPL v2
For bug reports, read
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1000 kHz
Info : JTAG tap: imx8mm.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x5)
Info : DAP transaction stalled (WAIT) - slowing down
Error: JTAG-DP STICKY ERROR
Error: imx8mm.a53.0: examination failed
Warn : target imx8mm.a53.0 examination failed
Info : starting gdb server for imx8mm.a53.0 on 3333
Info : Listening on port 3333 for gdb connections
Info : starting gdb server for imx8mm.m4 on 3334
Info : Listening on port 3334 for gdb connections
# configuration file for Toradex Verdin Mini Dahlia carrier board
# Board includes FTDI-based JTAG adapter
adapter driver ftdi
ftdi_vid_pid 0x0403 0x6011
ftdi_layout_init 0x0008 0x000b
# ftdi_layout_signal nSRST -data 0x0020 -oe 0x0020
transport select jtag
adapter speed 1000
adapter srst delay 100
set CHIPNAME imx8mm
set CHIPCORES 4
source [find target/imx8m.cfg]
Thanks for writing to the Toradex Community!
Could you describe your application? What are you using JTAG for on the SoM Verdin iMX8MM?
It is described in environment section of the post as following
Verdin iMX8mm Q 2GB WB IT V1.1A
I would like to debug an application on M4 core.
Thanks for this information.
Unfortunately the feature M4 is not supported on Verdin iMX8MM yet and won’t be supported in near Future. I am sorry to not providing you a better answer.
Thanks for the reply. There is hardware support on the carrier board and the SOM. What is the reason that you don’t support the JTAG debugging. Is the reason related Linux or U-Boot ? There is iMX8m EVK boards from NXP that support JTAG.
Actually JTAG is used for debugging the M4 and currently nobody tested this since we don’t support M4. I am really sorry.