35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
; --------------------------------------------------------------------------------
|
|
; @Title: FreeRTOS-Attach script template for ARM
|
|
; @Description:
|
|
; Generic script template for FreeRTOS debugging setup in TRACE32.
|
|
; Prerequisites:
|
|
; * please replace all <tbd> placeholders with your parameters
|
|
; * FreeRTOS is already booted
|
|
; @Keywords: FreeRTOS
|
|
; @Props: Template
|
|
; @Author: AME
|
|
; @Copyright: (C) 1989-2022 Lauterbach GmbH, licensed for use with TRACE32(R) only
|
|
; --------------------------------------------------------------------------------
|
|
; $Id: example.cmm 18850 2022-01-26 18:41:29Z bschroefel $
|
|
|
|
|
|
RESet
|
|
SYStem.RESet
|
|
SYStem.CPU <tbd>
|
|
; Assign all cores used by FreeRTOS to the debug session
|
|
CORE.ASSIGN <tbd.x> [<tbd.y> [<tbd.z> [...]]]
|
|
SYStem.Option IMASKASM ON
|
|
SYStem.Mode Attach
|
|
|
|
; load kernel debug symbols
|
|
Data.LOAD.Elf <tbd.path to>/<tbd.freertos>.elf /NoCODE
|
|
|
|
; load FreeRTOS kernel awareness
|
|
TASK.CONFIG ~~/demo/arm/kernel/freertos/freertos.t32
|
|
MENU.ReProgram ~~/demo/arm/kernel/freertos/freertos.men
|
|
|
|
IF STATE.RUN()
|
|
Break
|
|
|
|
ENDDO
|