Skip to content

Commit

Permalink
debug: Update trace scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
c-mauderer committed Nov 27, 2024
1 parent aefcfb3 commit 3e5efbf
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
18 changes: 18 additions & 0 deletions debug/trace-32-nano/bp.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// T32 Wed Nov 27 12:36:08 2024

B::

Break.RESet
Break.CONFIG.VarConvert OFF
Break.CONFIG.InexactData ON
Break.CONFIG.InexactTrigger OFF
Break.CONFIG.InexactResume ON
Break.CONFIG.InexactAddress ON
Break.CONFIG.MatchZone OFF
Break.CONFIG.AlwaysAlive OFF
Break.Set bsp_reset /Program
Break.Set rtems_bdbuf_read+0xF6 /Program
Break.Set rtems_bdbuf_peek+0x64 /Program
Break.Set _Terminate /Program

ENDDO
17 changes: 17 additions & 0 deletions debug/trace-32-nano/bp.cmm
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// T32 Wed Nov 27 13:17:02 2024

B::

Break.RESet
Break.CONFIG.VarConvert OFF
Break.CONFIG.InexactData ON
Break.CONFIG.InexactTrigger OFF
Break.CONFIG.InexactResume ON
Break.CONFIG.InexactAddress ON
Break.CONFIG.MatchZone OFF
Break.CONFIG.AlwaysAlive OFF
Break.Set bsp_reset /Program
Break.Set jump_to_app\12 /Program
Break.Set _Terminate /Program

ENDDO
14 changes: 12 additions & 2 deletions debug/trace-32-nano/make.cmm
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ global &initialized

; Target can be one of RAM, Flash
;&mem_target="RAM"
&mem_target="Flash"
&mem_target="RAM_nocode"
;&mem_target="Flash"
;&mem_target="Flash_Erase"

&app="~~~~/../../external/rtems-libbsd/build/arm-rtems6-stm32u5-grisp-nano/media01.exe"
;&app="~~~~/../../nano-bootlader/b-stm32u5-grisp-nano/nano-bootloader.exe"
&app="~~~~/../../demo/b-stm32u5-grisp-nano/demo.exe"

if "&initialized"==""
(
Expand All @@ -30,6 +32,14 @@ if "&mem_target"=="RAM"
(
Data.LOAD.Elf "&app"
)
if "&mem_target"=="RAM_nocode"
(
Data.LOAD.Elf "&app" /nocode
break.set _start
break.set _Terminate
break.set bsp_reset
enddo
)
if "&mem_target"=="Flash"
(
DO ~~/demo/arm/flash/stm32u5 PREPAREONLY
Expand Down

0 comments on commit 3e5efbf

Please sign in to comment.