Files
Gen4_R-Car_Trace32/2_Trunk/perapbap.per
2025-10-14 09:52:32 +09:00

56 lines
2.1 KiB
Plaintext

; --------------------------------------------------------------------------------
; @Title: Register of a Debug Access Port on a DAP
; @Props:
; @Author: STK
; @Changelog:
; @Manufacturer:
; @Doc:
; @Date: 2009-07-10
; @Core:
; @Chip:
; @Copyright: (C) 1989-2014 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: perapbap.per 5537 2014-09-02 09:53:40Z mobermeir $
; To select the access port number XX, set the base address to edbg:0x4000XX00 (default 1).
config 16. 8.
width 6.
base edbg:0x40000100
group 0x00++3 "APB-AP Register"
line.long 0x0 "CSW,Control/Status Word"
bitfld.long 0x0 31. " DbgSwEnable ,Software access enable" "disabled,enabled"
bitfld.long 0x0 8.--11. " Mode ,Mode of operation" "normal,reserved,reserved,reserved,reserved,reserved,reserved,reserved,reserved,reserved,?..."
bitfld.long 0x0 7. " TrInProg ,Transfer in progress" "no,yes"
textline " "
bitfld.long 0x0 6. " DeviceEn ,Status of the DEVICEEN input" "disabled,enabled"
bitfld.long 0x0 4.--5. " AddrInc ,Auto address increment" "off,increment,reserved,reserved"
bitfld.long 0x0 0.--2. " Size ,Size of the access to perform" "reserved,reserved,32 bit,reserved,reserved,reserved,reserved,reserved"
textline " "
group 0x04++3
line.long 0x0 "TAR,Transfer Address Register"
textline " "
hgroup 0x0C++3
hide.long 0x0 "DRW,Data Read/Write"
in
textline " "
group 0x10++3
line.long 0x0 "BD0,Banked Data 0"
group 0x14++3
line.long 0x0 "BD1,Banked Data 1"
group 0x18++3
line.long 0x0 "BD2,Banked Data 2"
group 0x1c++3
line.long 0x0 "BD3,Banked Data 3"
textline " "
group 0xf8++3
line.long 0x0 "ROM,Debug ROM Address"
textline " "
rgroup 0xFC++3
line.long 0x0 "IDR,Identification Register"
hexmask.long.byte 0x0 28.--31. 0x1 " REV ,Revision"
hexmask.long.byte 0x0 24.--27. 0x1 " BANK ,JEDEC bank"
hexmask.long.byte 0x0 17.--23. 0x1 " CODE ,JEDEC code"
bitfld.long 0x0 16. " AP ,CoreSight AP" "no,yes"
hexmask.long.byte 0x0 0.--7. 0x1 " ID ,Identity value"
textline " "