Files
Gen4_R-Car_Trace32/2_Trunk/demo/arm/kernel/rtc/rtc.cmm
2025-10-14 09:52:32 +09:00

60 lines
1.0 KiB
Plaintext

; --------------------------------------------------------------------------------
; @Title: RealTime Craft Demo for TRACE32 OS Awareness
; @Description:
; This batchfile loads all necessary files to demonstrate
; the RTOS-Debugger for XEC ARM in stand-alone-mode.
; @Keywords: rtc, RTOS
; @Author: DIE
; @Chip: ARM7TDMI
; @Copyright: (C) 1989-2022 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: rtc.cmm 18850 2022-01-26 18:41:29Z bschroefel $
LOCAL &mode1
ENTRY &mode1
; Emulator reset
PRINT "Resetting..."
RESet
WinPAGE.RESet
IF hardware.ICE()
(
MAP.PRE 0x0--0x0fffff
MAP.PRE 0x0fff00000--0x0ffffffff
MAP.DEFault
)
ELSE IF INTERFACE.SIM()
(
SYStem.CPU arm7tdmi
)
; Stand alone internal mode
SYStem.Mode AloneInt
; load absolute MCC68K file
Data.LOAD.Elf testrtc
; patch XEC ARM and configure OS Awareness
DO prtc
; Create some windows
WinPAGE.RESet
WinCLEAR
List.auto
TASK.TASK
task.sem
task.mbx
task.dly
ENDDO