DAP + ARM1176 + ARM966

Hi at all,

I have a cpu with dap controller and behind a (disabled) arm1176 and a (disabled) arm966. I have problemes creating the config-file for openocd…

I’m not sure about the right target configuartion, because dap functions are only supported for cortex m3/a8, not for arm966/arm1176.

Here is the dap info, if I chose a cortex-m3:

target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.dap

Open On-Chip Debugger

dap info 1

AP ID register 0x14770002

Type is MEM-AP APB

AP BASE 0x80000000

ROM table in legacy format

MEMTYPE System memory not present. Dedicated debug bus.

ROMTABLE[0x0] = 0x1003

JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

MEM_AP_CSW 0x80000042, MEM_AP_TAR 0x80001ff0

Component base address 0x80001000, start address 0x80001000

Component class is 0x9, CoreSight component

Type is 0x21, Trace Sink, Buffer

Peripheral ID[4…0] = hex 04 00 1b b9 07

Part is Coresight ETB (Trace Buffer)

ROMTABLE[0x4] = 0x2003

Component base address 0x80002000, start address 0x80002000

Component class is 0x9, CoreSight component

Type is 0x14, Debug Control, Trigger Matrix

Peripheral ID[4…0] = hex 04 00 1b b9 06

Part is Coresight CTI (Cross Trigger)

ROMTABLE[0x8] = 0x3003

Component base address 0x80003000, start address 0x80003000

Component class is 0x9, CoreSight component

Type is 0x11, Trace Sink, Port

Peripheral ID[4…0] = hex 04 00 2b b9 12

Part is Coresight TPIU (Trace Port Interface Unit)

ROMTABLE[0xc] = 0x5003

Component base address 0x80005000, start address 0x80005000

Component class is 0x9, CoreSight component

Type is 0x13, Trace Source, Processor

Peripheral ID[4…0] = hex 04 00 3b b9 20

Part is -- unrecognized --

ROMTABLE[0x10] = 0x6003

Component base address 0x80006000, start address 0x80006000

Component class is 0x9, CoreSight component

Type is 0x14, Debug Control, Trigger Matrix

Peripheral ID[4…0] = hex 04 00 1b b9 06

Part is Coresight CTI (Cross Trigger)

ROMTABLE[0x14] = 0x0

End of ROM table

JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

MEM_AP_CSW 0x2800042, MEM_AP_TAR 0xe000edf0

dap info 0

AP ID register 0x24770001

Type is MEM-AP AHB

AP BASE 0xffffffff

No ROM table present

dap info 2

AP ID register 0x14760010

Type is JTAG-AP

No ROM table present

→ is this a valid configuration?

→ nevertheless: what’s the next step?

Regards

Wesche