; -------------------------------------------------------------------------------- ; @Title: osCAN Demo for TRACE32 OS Awareness ; @Description: ; This batchfile loads all necessary files to demonstrate ; the RTOS-Debugger for osCAN in stand-alone-mode. ; @Keywords: oscan, RTOS ; @Author: DIE ; @Chip: MPC555 ; @Copyright: (C) 1989-2014 Lauterbach GmbH, licensed for use with TRACE32(R) only ; -------------------------------------------------------------------------------- ; $Id: oscan.cmm 13125 2018-09-11 14:03:01Z rdienstbeck $ ; Reset WinPAGE.RESet FramePOS ,,,,Maximized SYStem.Down ; System Settings IF ICE()||FIRE() ( ; Default mapping MAP.Ram 0--7fff MAP.Ram 3f8000--3fffff MAP.Intern SYStem.Mode AloneInt ) ELSE IF ICD()||SIMULATOR() ( SYStem.CPU MPC555 SYStem.Up ) ; load absolute sample application PRINT "loading sample application..." Data.LOAD.auto "~~~~/gen.out" Register.RESet Register.Set PC _main IF SIMULATOR() ( Register.Set dec -1 Register.Set EmulExt 1 ) ; initialize mutitasking support PRINT "initializing RTOS support..." SCREEN.OFF TASK.ORTI "~~~~/gen.ort" IF ICD()||SIMULATOR() TASK.STacK.PATtern 0xAA MENU.ReProgram "~~~~/oscan.men" ; open some windows WinPOS 0. 0. 85. 2. 0. 1. W008 TASK.DOS_CONFIGURATION WinPOS 0. 5. 127. 6. 0. 1. W000 TASK.DTASK WinPOS 0. 14.0 130. 2. 0. 1. W004 TASK.DALARMS WinPOS 0.0 19. 63. 2. 0. 1. W002 TASK.DOS WinPOS 32. 24. 28. 3. 0. 1. W005 TASK.DEVENTS WinPOS 0. 24. 28. 2. 0. 1. W006 TASK.DRESOURCES WinPOS 0. 30. 55. 7. 0. 1. W007 TASK.DSTACK WinPOS 67. 19. 80. 25. 13. 1. W001 List.auto ; go until first task PRINT "load complete." Go.direct extendedTaskFirstfunc ENDDO