AnsweredAssumed Answered

iMX7 Solo, halt CPU by JTAG

Question asked by ulrik kristiansen on Sep 7, 2017
Latest reply on Oct 13, 2017 by Vladan Jovanovic
I am trying to connect my own board containing an iMX7 Solo to a j-link debugger. The debugger and j-link commander software works with the sabre dev. board (which contains a DUAL core). Can there be a difference between the solo and dual core versions? Has anyone successfully connected to the WaRP7 dev. board with an j-link and j-link commander?
In j-link commander, I have been told to specify the device to be a Cortex-A7 as no script should be necessary. The output is attached below.
I believe the JTAG communication works, because the core is found to be Cortex-A7 r0p5 (how should it know it without communication?). Furthermore, in IAR embedded workbench suite, I can single step a demo program and read/write registers.
J-link commander terminal:
SEGGER J-Link Commander V6.14c (Compiled Mar 31 2017 17:46:20)
DLL version V6.14c, compiled Mar 31 2017 17:45:52
Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled Jul 24 2017 17:37:57
Hardware version: V9.40
License(s): FlashBP, GDB
VTref = 1.790V

Type "connect" to establish a target connection, '?' for help
Please specify device / core. <Default>: CORTEX-A7
Type '?' for selection dialog
Please specify target interface:
  J) JTAG (Default)
  S) SWD
Device position in JTAG chain (IRPre,DRPre) <Default>: -1,-1 => Auto-detect
Specify target interface speed [kHz]. <Default>: 4000 kHz
Device "CORTEX-A7" selected.

TotalIRLen = 4, IRPrint = 0x01
ARM AP[0]: 0x64770001, AHB-AP
ARM AP[1]: 0x44770002, APB-AP
ROMTbl 0 [0]: 00040003, CID: B105100D, PID:00-00080000 ROM Table
ROMTbl 1 [0]: 00001003, CID: B105900D, PID:04-002BB908 CSTF
ROMTbl 1 [1]: 00020003, CID: B105100D, PID:04-000BB4A7 ROM Table
ROMTbl 2 [0]: 00010003, CID: B105900D, PID:04-005BBC07 Cortex-A7
Found Cortex-A7 r0p5
6 code breakpoints, 4 data breakpoints
Debug architecture ARMv7.1
TotalIRLen = 4, IRPrint = 0x01
****** Error: Cortex-A/R (connect): Failed to temporarily halting CPU for reading CP15 registers.
TotalIRLen = 4, IRPrint = 0x01
TotalIRLen = 4, IRPrint = 0x01
Cannot connect to target.