All Boards How To Convert RVICE CP15 To OpenOCD

Document created by jesseg Employee on Aug 7, 2012Last modified by Jodi Paul on Mar 18, 2013
Version 2Show Document
  • View in full screen mode

How To Convert RealView CP15 Config To OpenOCD?

# arm11 mcr <jtag_target> <coprocessor> <opcode 1> <CRn> <CRm> <opcode 2> <32bit value to write>

Setting CP15 Control

RealView:

setreg @CP15_CONTROL=0x00050078

OpenOCD:

arm11 mcr 1 15 0 1 0 0 0x00050078

Setting CP15 Peripheral Memory Remap

RealView:

setreg @CP15_PERIP_MEM_REMAP=0x40000015

OpenOCD:

arm11 mcr 1 15 0 15 2 4 0x40000015

Attachments

    Outcomes