I want to use Openocd+JLink to debug IMX8QualMaxPlus MEK Board, but there is no target/imx8qxp.cfg or board/nxp_mcimx8qxp-mek.cfg in /path/to/openocd/tcl/,so i made target/imx8qxp.cfg by myself refer to target/imx8m.cfg, however, i found that i can't send commands such as 'halt','reset' to the , maybe coresight base addresses of imx8m aren't apply to the i.mx8qxq?
My own imx8qxp.cfg:
After i input 'dap info 1', these are output info:
> dap info 1
AP ID register 0x24770011
 Type is MEM-AP AHB3
MEM-AP BASE 0xe00ff003
 Valid ROM table present
  Component base address 0xe00ff000
  Peripheral ID 0x04000bb4c4
  Designer is 0x4bb, ARM Ltd.
  Part is 0x4c4, Cortex-M4 ROM (ROM Table)
  Component class is 0x1, ROM table
  MEMTYPE system memory present on bus
 ROMTABLE[0x0] = 0xfff0f003
  Component base address 0xe000e000
  Peripheral ID 0x04000bb00c
  Designer is 0x4bb, ARM Ltd.
  Part is 0xc, Cortex-M4 SCS (System Control Space)
  Component class is 0xe, Generic IP component
 ROMTABLE[0x4] = 0xfff02003
  Component base address 0xe0001000
  Invalid CID 0x00000000
 ROMTABLE[0x8] = 0xfff03003
  Component base address 0xe0002000
  Peripheral ID 0x04002bb003
  Designer is 0x4bb, ARM Ltd.
  Part is 0x3, Cortex-M3 FPB (Flash Patch and Breakpoint)
  Component class is 0xe, Generic IP component
 ROMTABLE[0xc] = 0xfff01003
  Component base address 0xe0000000
  Invalid CID 0xb1b1b1b1
 ROMTABLE[0x10] = 0xfff41002
  Component not present
 ROMTABLE[0x14] = 0xfff42003
  Component base address 0xe0041000
  Peripheral ID 0x04000bb925
  Designer is 0x4bb, ARM Ltd.
  Part is 0x925, Cortex-M4 ETM (Embedded Trace)
  Component class is 0x9, CoreSight component
  Type is 0x13, Trace Source, Processor
 ROMTABLE[0x18] = 0xfff43002
  Component not present
 ROMTABLE[0x1c] = 0xfff44003
  Component base address 0xe0043000
  Peripheral ID 0x04001bb908
  Designer is 0x4bb, ARM Ltd.
  Part is 0x908, CoreSight CSTF (Trace Funnel)
  Component class is 0x9, CoreSight component
  Type is 0x12, Trace Link, Funnel, router
 ROMTABLE[0x20] = 0x0
  End of ROM table
Could you please provide the whole imx8qxp.cfg?
Thanks,
Jing
Hi Jing
for openocd one can look on below links
https://community.nxp.com/thread/480454
https://community.nxp.com/thread/434323?commentID=830709#comment
what is imx8 core base for jtag ~~Help
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------