37 lines
848 B
Plaintext
37 lines
848 B
Plaintext
; --------------------------------------------------------------------------------
|
|
; @Title: C Example for SRAM (TI Compiler)
|
|
; @Description:
|
|
; Simple C++ application for ARM targets
|
|
; compiled with the TI compiler
|
|
; running from SRAM
|
|
; @Author: -
|
|
; @Copyright: (C) 1989-2022 Lauterbach GmbH, licensed for use with TRACE32(R) only
|
|
; --------------------------------------------------------------------------------
|
|
; $Id: arm.cmm 18850 2022-01-26 18:41:29Z bschroefel $
|
|
|
|
|
|
WinCLEAR
|
|
|
|
SYStem.RESet
|
|
|
|
IF hardware.ICD()||INTERFACE.SIM()
|
|
(
|
|
SYStem.CPU ARM7TDMI
|
|
SYStem.Up
|
|
)
|
|
IF hardware.ICE()||hardware.FIRE()
|
|
(
|
|
SYStem.Mode AloneInt
|
|
MAP.Ram 0x0--0x0ffff
|
|
MAP.Intern
|
|
)
|
|
|
|
Data.LOAD.COFF arm.abs
|
|
|
|
; Open some windows
|
|
WinPOS 0% 0% 100% 50%
|
|
List
|
|
WinPOS 0% 50% 50% 50%
|
|
Frame /Caller
|
|
WinPOS 50% 50% 50% 50%
|
|
Var.Watch %SpotLight flags ast |