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

441 lines
20 KiB
Plaintext

; --------------------------------------------------------------------------------
; @Title: RCARD1 Specific Menu
; @Props: Released
; @Author: JAM, JAS
; @Changelog: 2019-05-30 JAM
; @Manufacturer: RENESAS - Renesas Technology, Corp.
; @Core: Cortex-A7MPCore
; @Chip: R7S721042, R7S721043, R7S721046, R7S721047, R7S721062, R7S721063,
; R7S721066, R7S721067
; @Copyright: (C) 1989-2019 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: menrcard1.men 16339 2023-07-03 13:30:14Z pegold $
add
menu
(
IF SOFTWARE.BUILD.BASE()>=69655.
(
popup "&CPU"
(
separator
IF CPU.FEATURE(MMU)
(
popup "[:mmu]MMU"
(
menuitem "[:mmureg]MMU Control" "MMU.view"
separator
menuitem "[:mmu]MMU Table Dump" "MMU.DUMP.PageTable"
menuitem "[:mmu]MMU Table List" "MMU.List.PageTable"
separator
IF CPU.FEATURE(ITLBDUMP)
(
menuitem "[:mmu]ITLB Dump" "MMU.DUMP.ITLB"
)
IF CPU.FEATURE(DTLBDUMP)
(
menuitem "[:mmu]DTLB Dump" "MMU.DUMP.DTLB"
)
IF CPU.FEATURE(TLB0DUMP)
(
menuitem "[:mmu]TLB0 Dump (Associative)" "MMU.DUMP.TLB0"
)
IF CPU.FEATURE(TLB1DUMP)
(
menuitem "[:mmu]TLB1 Dump (Lockable)" "MMU.DUMP.TLB1"
)
)
)
IF COMPonent.AVAILable("SMMU")
(
popup "[:mmu]SMMU"
(
menuitem "[:chip]SMMU1 Registers"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU1",0.))
SMMU.Register.Global &(name)
)
menuitem "[:mmureg]SMMU1 StreamMapTable"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU1",0.))
SMMU.StreamMapTable &(name)
)
IF COMPonent.AVAILable("SMMU2")
(
separator
menuitem "[:chip]SMMU2 Registers"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU2",0.))
SMMU.Register.Global &(name)
)
menuitem "[:mmureg]SMMU2 StreamMapTable"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU2",0.))
SMMU.StreamMapTable &(name)
)
)
IF COMPonent.AVAILable("SMMU3")
(
separator
menuitem "[:chip]SMMU3 Registers"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU3",0.))
SMMU.Register.Global &(name)
)
menuitem "[:mmureg]SMMU3 StreamMapTable"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU3",0.))
SMMU.StreamMapTable &(name)
)
)
IF COMPonent.AVAILable("SMMU4")
(
separator
menuitem "[:chip]SMMU4 Registers"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU4",0.))
SMMU.Register.Global &(name)
)
menuitem "[:mmureg]SMMU4 StreamMapTable"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU4",0.))
SMMU.StreamMapTable &(name)
)
)
IF COMPonent.AVAILable("SMMU5")
(
separator
menuitem "[:chip]SMMU5 Registers"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU5",0.))
SMMU.Register.Global &(name)
)
menuitem "[:mmureg]SMMU5 StreamMapTable"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU5",0.))
SMMU.StreamMapTable &(name)
)
)
IF COMPonent.AVAILable("SMMU6")
(
separator
menuitem "[:chip]SMMU6 Registers"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU6",0.))
SMMU.Register.Global &(name)
)
menuitem "[:mmureg]SMMU6 StreamMapTable"
(
PRIVATE &name
&name=SMMU.COMPonentNAME(COMPonent.Base("SMMU6",0.))
SMMU.StreamMapTable &(name)
)
)
)
)
IF CPU.FEATURE(L1ICACHE)||CPU.FEATURE(L1DCACHE)||CPU.FEATURE(L2CACHE)
(
popup "[:cache]Cache"
(
IF CPU.FEATURE(L1ICACHEDUMP)
(
menuitem "[:cache]ICACHE Dump" "CACHE.DUMP IC"
menuitem "[:cache]ICACHE List" "CACHE.List IC"
menuitem "[:cache]ICACHE List Functions" "CACHE.ListFunc.IC"
)
IF CPU.FEATURE(L1DCACHEDUMP)
(
separator
menuitem "[:cache]DCACHE Dump" "CACHE.DUMP DC"
menuitem "[:cache]DCACHE List" "CACHE.List DC"
menuitem "[:cache]DCACHE List Variables" "CACHE.ListVar.DC"
)
IF CPU.FEATURE(L2CACHEDUMP)
(
separator
menuitem "[:cache]L2CACHE Dump" "CACHE.DUMP L2"
menuitem "[:cache]L2CACHE List" "CACHE.List L2"
menuitem "[:cache]L2CACHE List Variables" "CACHE.ListVar.L2"
)
)
)
)
popup "&Trace"
(
separator
IF COMPonent.AVAILable("ITM")
(
popup "ITM"
(
default
menuitem "[:oconfig]ITM settings..." "ITM.state"
separator
menuitem "[:alist]ITMTrace List" "ITMTrace.List"
)
)
IF COMPonent.AVAILable("STM")
(
popup "STM"
(
default
menuitem "[:oconfig]STM settings..." "STM.state"
separator
menuitem "[:alist]STMTrace List" "STMTrace.List"
)
)
IF COMPonent.AVAILable("HTM")
(
popup "HTM"
(
default
menuitem "[:oconfig]HTM settings..." "HTM.state"
separator
menuitem "[:alist]HTMTrace List" "HTMTrace.List"
)
)
IF COMPonent.AVAILable("TPIU")
(
menuitem "[:oconfig]TPIU settings..." "TPIU.state"
)
IF COMPonent.AVAILable("ETR")
(
menuitem "[:oconfig]ETR settings..."
(
PRIVATE &pdd
&pdd=OS.PDD()
DO "&pdd/etc/embedded_trace_router/etr_utility.cmm"
)
)
)
popup "&Misc"
(
popup "Tools"
(
IF CPUIS64BIT()||CPU.FEATURE("SPR")
(
menuitem "ARM System Register Converter"
(
DO "~~/demo/arm/etc/systemregister/systemregister_converter.cmm"
)
)
IF CPU.FEATURE("C15")
(
menuitem "ARM Coprocessor Converter"
(
DO "~~/demo/arm/etc/coprocessor/coprocessor_converter.cmm"
)
)
)
)
popup "&Perf"
(
IF CPU.FEATURE(BMC)
(
before "Reset"
menuitem "[:bmc]Benchmark Counters" "BMC.state"
before "Reset"
separator
)
)
)
popup "Peripherals"
(
popup "[:chip]Core Registers (Cortex-A7MPCore)"
(
menuitem "[:chip]ID Registers" "per , ""Core Registers (Cortex-A7MPCore),ID Registers"""
menuitem "[:chip]System Control and Configuration" "per , ""Core Registers (Cortex-A7MPCore),System Control and Configuration"""
menuitem "[:chip]Memory Management Unit" "per , ""Core Registers (Cortex-A7MPCore),Memory Management Unit"""
menuitem "[:chip]Virtualization Extensions" "per , ""Core Registers (Cortex-A7MPCore),Virtualization Extensions"""
menuitem "[:chip]Cache Control and Configuration" "per , ""Core Registers (Cortex-A7MPCore),Cache Control and Configuration"""
menuitem "[:chip]System Performance Monitor" "per , ""Core Registers (Cortex-A7MPCore),System Performance Monitor"""
menuitem "[:chip]System Timer Register" "per , ""Core Registers (Cortex-A7MPCore),System Timer Register"""
separator
menuitem "[:chip]Debug Registers" "per , ""Core Registers (Cortex-A7MPCore),Debug Registers"""
menuitem "[:chip]Breakpoint Registers" "per , ""Core Registers (Cortex-A7MPCore),Breakpoint Registers"""
menuitem "[:chip]Watchpoint Control Registers" "per , ""Core Registers (Cortex-A7MPCore),Watchpoint Control Registers"""
separator
menuitem "[:chip]Interrupt Controller" "per , ""Core Registers (Cortex-A7MPCore),Interrupt Controller"""
)
separator
menuitem "DEVID;Device ID" "per , ""Device ID"""
menuitem "PFC;Pin Function Controller" "per , ""PFC (Pin Function Controller)"""
popup "GPIO;General Purpose I/O Functions"
(
menuitem "GPIO 0" "per , ""GPIO (General Purpose I/O Functions),GPIO 0"""
menuitem "GPIO 1" "per , ""GPIO (General Purpose I/O Functions),GPIO 1"""
menuitem "GPIO 2" "per , ""GPIO (General Purpose I/O Functions),GPIO 2"""
menuitem "GPIO 3" "per , ""GPIO (General Purpose I/O Functions),GPIO 3"""
menuitem "GPIO 4" "per , ""GPIO (General Purpose I/O Functions),GPIO 4"""
)
menuitem "IRQC;External Interrupt Controller" "per , ""IRQC (External Interrupt Controller)"""
popup "SYS-DMAC;Direct Memory Access Controller"
(
menuitem "DMAC0" "per , ""SYS-DMAC (Direct Memory Access Controller),DMAC0"""
menuitem "DMAC1" "per , ""SYS-DMAC (Direct Memory Access Controller),DMAC1"""
)
menuitem "RST;Reset" "per , ""RST (Reset)"""
menuitem "CPG;Clock Pulse Generator" "per , ""CPG (Clock Pulse Generator)"""
popup "CLMA;Clock Monitor A"
(
menuitem "CLMA0" "per , ""CLMA (Clock Monitor A),CLMA0"""
menuitem "CLMA1" "per , ""CLMA (Clock Monitor A),CLMA1"""
menuitem "CLMA2" "per , ""CLMA (Clock Monitor A),CLMA2"""
menuitem "CLMA3" "per , ""CLMA (Clock Monitor A),CLMA3"""
menuitem "CLMA4" "per , ""CLMA (Clock Monitor A),CLMA4"""
menuitem "CLMA5" "per , ""CLMA (Clock Monitor A),CLMA5"""
)
menuitem "MSC;Module Stand-by Control" "per , ""Module Stand-by Control"""
menuitem "SYSC;System Controller" "per , ""SYSC (System Controller)"""
menuitem "APMU;Advanced Power Management Unit for AP-System Core" "per , ""APMU (Advanced Power Management Unit for AP-System Core)"""
menuitem "AXI;AXI Bus" "per , ""AXI Bus"""
menuitem "S3CTRL;SDRAM Interconnect Controller" "per , ""S3CTRL (SDRAM Interconnect Controller)"""
popup "IPMMU;IP Memory Management Unit"
(
menuitem "IPMMU-SY0" "per , ""IPMMU (IP Memory Management Unit),IPMMU-SY0"""
menuitem "IPMMU-SY1" "per , ""IPMMU (IP Memory Management Unit),IPMMU-SY1"""
menuitem "IPMMU-DS" "per , ""IPMMU (IP Memory Management Unit),IPMMU-DS"""
menuitem "IPMMU-MX" "per , ""IPMMU (IP Memory Management Unit),IPMMU-MX"""
menuitem "IPMMU-GP" "per , ""IPMMU (IP Memory Management Unit),IPMMU-GP"""
)
menuitem "DBSC3;DDR3-SDRAM Memory Controller" "per , ""DBSC3 (DDR3-SDRAM Memory Controller)"""
menuitem "SFMA;Serial Flash Memory Interface A" "per , ""SFMA (Serial Flash Memory Interface A)"""
menuitem "NFMA;NAND Flash Memory Interface A" "per , ""NFMA (NAND Flash Memory Interface A)"""
menuitem "MMC;Multi Media Card Interface" "per , ""MMC (Multi Media Card Interface)"""
popup "SCIF;Asynchronous/synchronous Serial Communication Interface with FIFO"
(
menuitem "SCIF0" "per , ""SCIF (Asynchronous/synchronous Serial Communication Interface with FIFO),SCIF0"""
menuitem "SCIF1" "per , ""SCIF (Asynchronous/synchronous Serial Communication Interface with FIFO),SCIF1"""
menuitem "SCIF2" "per , ""SCIF (Asynchronous/synchronous Serial Communication Interface with FIFO),SCIF2"""
menuitem "SCIF3" "per , ""SCIF (Asynchronous/synchronous Serial Communication Interface with FIFO),SCIF3"""
)
popup "HSCIF;Asynchronous High Speed Serial Communication Interface with FIFO"
(
menuitem "HSCIF0" "per , ""HSCIF (Asynchronous High Speed Serial Communication Interface with FIFO),HSCIF0"""
menuitem "HSCIF1" "per , ""HSCIF (Asynchronous High Speed Serial Communication Interface with FIFO),HSCIF1"""
)
popup "MSIOF;Synchronous Serial Interface with FIFO"
(
menuitem "MSIOF0" "per , ""MSIOF (Synchronous Serial Interface with FIFO),MSIOF0"""
menuitem "MSIOF1" "per , ""MSIOF (Synchronous Serial Interface with FIFO),MSIOF1"""
menuitem "MSIOF2" "per , ""MSIOF (Synchronous Serial Interface with FIFO),MSIOF2"""
menuitem "MSIOF3" "per , ""MSIOF (Synchronous Serial Interface with FIFO),MSIOF3"""
menuitem "MSIOF4" "per , ""MSIOF (Synchronous Serial Interface with FIFO),MSIOF4"""
menuitem "MSIOF5" "per , ""MSIOF (Synchronous Serial Interface with FIFO),MSIOF5"""
menuitem "MSIOF6" "per , ""MSIOF (Synchronous Serial Interface with FIFO),MSIOF6"""
menuitem "External Trigger Mode" "per , ""MSIOF (Synchronous Serial Interface with FIFO),External Trigger Mode"""
)
popup "I2C;I2C Bus Interface"
(
menuitem "I2C0" "per , ""I2C (I2C Bus Interface),I2C0"""
menuitem "I2C1" "per , ""I2C (I2C Bus Interface),I2C1"""
)
if (cpu()=="R7S721042")||(cpu()=="R7S721043")||(cpu()=="R7S721062")||(cpu()=="R7S721063")
(
menuitem "RSCAN;CAN Interface" "per , ""RSCAN (CAN Interface)"""
)
if (cpu()=="R7S721046")||(cpu()=="R7S721047")||(cpu()=="R7S721066")||(cpu()=="R7S721067")
(
menuitem "RS-CANFD;CANFD Interface" "per , ""RS-CANFD (CANFD Interface)"""
)
menuitem "ETNB;Ethernet AVB MAC" "per , ""ETNB (Ethernet AVB MAC)"""
popup "USBHC;USB 2.0 Host Controller"
(
menuitem "Channel 1" "per , ""USBHC (USB 2.0 Host Controller),Channel 1"""
popup "PCI Configuration Registers"
(
menuitem "OHCI" "per , ""USBHC (USB 2.0 Host Controller),PCI Configuration Registers,OHCI"""
menuitem "EHCI" "per , ""USBHC (USB 2.0 Host Controller),PCI Configuration Registers,EHCI"""
menuitem "AHB-PCI Bridge" "per , ""USBHC (USB 2.0 Host Controller),PCI Configuration Registers,AHB-PCI Bridge"""
)
menuitem "AHB-PCI Bridge" "per , ""USBHC (USB 2.0 Host Controller),AHB-PCI Bridge PCI Communication Registers"""
)
menuitem "USBFC;USB 2.0 Function Controller" "per , ""USBFC (USB 2.0 Function Controller)"""
popup "USBDMA;USB 2.0 DMA Controller"
(
menuitem "USBDMA 0" "per , ""USBDMA (USB 2.0 DMA Controller),USBDMA 0"""
menuitem "USBDMA 1" "per , ""USBDMA (USB 2.0 DMA Controller),USBDMA 1"""
)
menuitem "USBDDM;Descriptor DMAC" "per , ""USBDDM (Descriptor DMAC)"""
menuitem "RWDT;Watchdog Timer" "per , ""RWDT (Watchdog Timer)"""
popup "TPU;16-bit Timer Pulse Unit"
(
menuitem "TPU 0" "per , ""TPU (16-bit Timer Pulse Unit),TPU 0"""
menuitem "TPU 1" "per , ""TPU (16-bit Timer Pulse Unit),TPU 1"""
menuitem "TPU 2" "per , ""TPU (16-bit Timer Pulse Unit),TPU 2"""
menuitem "TPU 3" "per , ""TPU (16-bit Timer Pulse Unit),TPU 3"""
)
popup "TMU;32-bit Timer Unit"
(
menuitem "Timer 0" "per , ""TMU (32-bit Timer Unit),Timer 0"""
menuitem "Timer 1" "per , ""TMU (32-bit Timer Unit),Timer 1"""
menuitem "Timer 2" "per , ""TMU (32-bit Timer Unit),Timer 2"""
menuitem "Timer 3" "per , ""TMU (32-bit Timer Unit),Timer 3"""
)
menuitem "CMT1;Compare Match Timer 1" "per , ""CMT1 (Compare Match Timer 1)"""
popup "PCMP;PCM-PWM Converter"
(
menuitem "PCMPCOMP" "per , ""PCMP (PCM-PWM Converter),PCMP Output Signals Check by XOR Compare Unit"""
menuitem "PCMP SVSTOP" "per , ""PCMP (PCM-PWM Converter),PCMP SVSTOP"""
menuitem "PCMP 0" "per , ""PCMP (PCM-PWM Converter),PCMP 0"""
)
popup "SSIF;Serial Sound Interface"
(
menuitem "Digital Noise Filter" "per , ""SSIF (Serial Sound Interface),Digital Noise Filter"""
menuitem "Audio Data Transfer Modes" "per , ""SSIF (Serial Sound Interface),Audio Data Transfer Modes"""
menuitem "Audio Clock Generator" "per , ""SSIF (Serial Sound Interface),Audio Clock Generator"""
menuitem "SSIF 0" "per , ""SSIF (Serial Sound Interface),SSIF 0"""
menuitem "SSIF 1" "per , ""SSIF (Serial Sound Interface),SSIF 1"""
)
popup "VGF;Video and Graphics Functions"
(
menuitem "MIPI" "per , ""VGF (Video and Graphics Functions),MIPI Video Input Interface"""
menuitem "LVDS" "per , ""VGF (Video and Graphics Functions),LVDS Interface"""
menuitem "LVTTL" "per , ""VGF (Video and Graphics Functions),LVTTL Interface"""
menuitem "RSDS" "per , ""VGF (Video and Graphics Functions),RSDS Interface"""
menuitem "Dither Modules" "per , ""VGF (Video and Graphics Functions),Dither Modules"""
)
popup "VIN;Video Input Module"
(
menuitem "VIN 0" "per , ""VIN (Video Input Module),VIN 0"""
menuitem "VIN 1" "per , ""VIN (Video Input Module),VIN 1"""
)
popup "DU;Display Unit"
(
menuitem "DU 0" "per , ""DU (Display Unit),DU 0"""
menuitem "DU 1" "per , ""DU (Display Unit),DU 1"""
menuitem "DU 0-1 Common" "per , ""DU (Display Unit),DU 0-1 Common"""
menuitem "DU 2" "per , ""DU (Display Unit),DU 2"""
menuitem "DU Common" "per , ""DU (Display Unit),DU Common"""
)
popup "VSPD;Video Signal Processor"
(
menuitem "VSPD 0" "per , ""VSPD (Video Signal Processor),VSPD 0"""
menuitem "VSPD 1" "per , ""VSPD (Video Signal Processor),VSPD 1"""
)
menuitem "TCON;Timing Controller" "per , ""TCON (Timing Controller)"""
menuitem "VOCA;Video Output Checker A" "per , ""VOCA (Video Output Checker A)"""
popup "DISCOM;Display Output Comparator"
(
menuitem "DISCOM 0" "per , ""DISCOM (Display Output Comparator),DISCOM 0"""
menuitem "DISCOM 1" "per , ""DISCOM (Display Output Comparator),DISCOM 1"""
menuitem "DISCOM 2" "per , ""DISCOM (Display Output Comparator),DISCOM 2"""
menuitem "DISCOM 3" "per , ""DISCOM (Display Output Comparator),DISCOM 3"""
)
menuitem "iVDP1C;Video Decoding Processor" "per , ""iVDP1C (Video Decoding Processor)"""
menuitem "EMC;Error Control Module" "per , ""ECM (Error Control Module)"""
menuitem "DCRA;Data CRC" "per , ""DCRA (Data CRC)"""
menuitem "BS;Boundary Scan" "per , ""BS (Boundary Scan)"""
)
)