; -------------------------------------------------------------------------------- ; @Title: Register of a Memory Access Port on a DAP ; @Props: ; @Author: PEG ; @Changelog: ; @Manufacturer: ; @Doc: ; @Date: 2009-07-06 ; @Core: ; @Chip: ; @Copyright: (C) 1989-2014 Lauterbach GmbH, licensed for use with TRACE32(R) only ; -------------------------------------------------------------------------------- ; $Id: perahbap.per 5537 2014-09-02 09:53:40Z mobermeir $ ; To select the access port number XX, set the base address to edbg:0x4000XX00. config 16. 8. width 5. base edbg:0x40000000 group 0x00++3 "AHB-AP Register" line.long 0x0 "CSW,Control/Status Word" bitfld.long 0x0 30. "SProt ,Transfer" "secure,non-secure" bitfld.long 0x0 24.--28. " Prot ,Output on HPROT[4:0]" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111" bitfld.long 0x0 23. " SPIStatus ,Status of SPIDEN" "disable,enable" bitfld.long 0x0 8.--11. " Mode ,Mode of Operation" "normal,reserved,reserved,reserved,reserved,reserved,reserved,reserved,reserved,reserved,?..." textline " " bitfld.long 0x0 7. "TrInProg ,Transfer in Progress" "no,yes" bitfld.long 0x0 6. " DbgStatus ,Status of DBGEN" "disable,enable" bitfld.long 0x0 4.--5. " AddrInc ,Auto Address Increment Mode" "off,single inc,packed inc,reserved" bitfld.long 0x0 0.--2. " Size ,Access Size" "8 bit,16 bit,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 ""