AnsweredAssumed Answered

IMX6SX openOCD configuration file

Question asked by Tim Michals on Aug 21, 2015
Latest reply on Jan 13, 2016 by Tim Michals

I'm trying to create a new configuration file for the IMX6SX, in mode =0, the chain is |SJC | SDMA| DAP_A9 |DAP_M4

 

How/where do you get the ID's for each block?  i.e SDMA? DAP_A9? DAP_M4?

 

# CoreSight Debug Access Port

if { [info exists DAP_TAPID_A9] } {

   set _DAP_TAPID_A9 $DAP_TAPID_A9

} else {

   set _DAP_TAPID_A9 0x1ba00477  <-- How is the number

}

 

# CoreSight Debug Access Port

if { [info exists DAP_TAPID_M4] } {

   set _DAP_TAPID_M4 $DAP_TAPID_M4

} else {

   set _DAP_TAPID_M4 0x1ba00477 <-- Where/How is this ID created?

}

 

 

jtag newtap $_CHIPNAME DAP -irlen 4 -ircapture 0x2 -irmask 0xf \

        -expected-id $_DAP_TAPID_A9

 

 

# SDMA / no IDCODE

jtag newtap $_CHIPNAME SDMA -irlen 4 -ircapture 0x0 -irmask 0xf

 

 

# SJC

if { [info exists SJC_TAPID] } {

   set _SJC_TAPID SJC_TAPID

} else {

   set _SJC_TAPID 0x0190d01d <-- How is this number created

}

Outcomes