AnsweredAssumed Answered

IMX6sx JTAG

Question asked by Andreas Werner on Aug 16, 2016

Hi,

I'm using the IMX6 SOLOX COM BOARD by Embedded Artists.  I used a JLINK Debugger with OpenOCD 0.9.0. The debuging form the Cores working at Uboot like expected, until Linux Kernel boot the JTAG still brocken.

I tried deferent Linux Kernel Versions:

- IMX-Linux: imx_3.14.52_1.1.0_ga: Hangs after caam initialization
  - IMX-Linux: imx_4.1.15_1.0.0_ga: Can't Connect JTAG
  - Linux Mainline: Linux Stable 4.7: Can't Connect JTAG

 

I start the M4 in U-boot. Program init core and go to Infinitiv loop.

 

I Attached the OpenOCD Script and the DTC Files for Linux 4.7.

 

Can somebody help me with this Problem?

 

OpenOCD output while linux Kernel is booting:

 

Open On-Chip Debugger 0.9.0 (2016-07-26-22:15)

Licensed under GNU GPL v2

For bug reports, read

  http://openocd.org/doc/doxygen/bugs.html

adapter speed: 1000 kHz

Warn : Transport "jtag" was already selected

adapter speed: 1000 kHz

Warn : imx6sx.sdma: nonstandard IR value

Warn : imx6sx.sjc: nonstandard IR value

m4_init

Info : J-Link V9 compiled Feb 20 2015 09:20:19

Info : J-Link caps 0xb9ff7bbf

Info : J-Link hw version 93000

Info : J-Link hw type J-Link

Info : J-Link max mem block 70896

Info : J-Link configuration

Info : USB-Address: 0x0

Info : Kickstart power on JTAG-pin 19: 0x0

Info : Vref = 3.214 TCK = 1 TDI = 0 TDO = 0 TMS = 0 SRST = 1 TRST = 1

Info : J-Link JTAG Interface ready

Info : clock speed 1000 kHz

Info : JTAG tap: imx6sx.dapM4 tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)

Info : JTAG tap: imx6sx.dapA9 tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)

Info : TAP imx6sx.sdma does not have IDCODE

Info : JTAG tap: imx6sx.sjc tap/device found: 0x0891c01d (mfg: 0x00e, part: 0x891c, ver: 0x0)

Info : imx6sx.dapM4: hardware has 6 breakpoints, 4 watchpoints

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 100ms

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 300ms

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 700ms

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 1500ms

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 3100ms

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 3100ms

Polling target imx6sx.dapM4 failed, trying to reexamine

Info : imx6sx.dapM4: hardware has 6 breakpoints, 4 watchpoints

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 100ms

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 100ms

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 100ms

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 300ms

Polling target imx6sx.dapM4 failed, trying to reexamine

Examination failed, GDB will be halted. Polling again in 300ms

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 700ms

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 1500ms

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 3100ms

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target imx6sx.dapM4 failed, trying to reexamine

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Warn : Invalid ACK 0 in JTAG-DP transaction

Examination failed, GDB will be halted. Polling again in 6300ms

Original Attachment has been moved to: imx6sxea-com-tsn.dts.zip

Original Attachment has been moved to: imx6.cfg.zip

Original Attachment has been moved to: imx6sxea-com.dtsi.zip

Outcomes