; --------------------------------------------------------------------------------
; @Title: OSEK/ORTI Example for TRACE32 OS Awareness
; @Description: 
;   This batchfile demonstrates the use of the OS Awareness for OSEK/ORTI.
;   This example can run on a TRACE32 PowerPC Simulator
; @Keywords: ORT, OSEK, powerpc, PPC, Template
; @Props: Template
; @Author: DIE
; @Copyright: (C) 1989-2014 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: orti.cmm 13125 2018-09-11 14:03:01Z rdienstbeck $


; Reset
 winpage.reset
 SYStem.Down

; System Settings
 SYStem.CPU MPC5553     ; sample app build for MPC5553
 SYStem.Up

; load application
 print "loading application..."
 Data.LOAD myapplication.elf            ; load app and symbols
 ;Data.LOAD myapplication.elf /nocode   ; load only symbols

; initialize ORTI support
 print "initializing ORTI support..."
 TASK.ORTI myapplication.orti   ; configure ORTI awareness

; open some windows
 TASK.DOS 
 TASK.DRESOURCE
 TASK.DTASK

 PRINT "load complete."

 ENDDO
 
