📄 setup_after_connect.cmm
字号:
;=================================================================
;
; SETUP_AFTER_CONNECT.CMM
;
; Run this after connecting JTAG to phone which has abort
;
; Only for NAND builds
;
;=================================================================
;attach the JTAG
sys.mode attach
;break execution
break
; Save Data RAM. It starts at 0x01000000
; Could change in future
; End address is chosen as 16MB from start 0x02000000
printer.filetype ascii
printer.file c:\temp\data_dump.lst
wp.data.save.binary c:\temp\data_dump.lst (0x01000000)--(0x02000000)
;
; Saving code is commented out. Use it when you suspect there's
; code corruption
;
; Save the code also - need exact end address
; changes from build to build
; this is only used for comparing with actual code
; to make sure code is not corrupted
;
;printer.file c:\temp\code_dump.lst
;wp.data.save.binary c:\temp\code_dump.lst (0x0)--(0x00AEEBD8)
;
;
; To load this into T32 simulator do the following -
; data.load.binary data_dump.lst (0x01000000)--(0x02000000)
; d.load.elf <build_path>\buid\ms\*.elf
; Also copy and paste current registers to get stack/local var
;
; Save registers
; boot_trap_frame saves registers at the time of boot abort
; rex_core is a superset of that, registers are saved for err_fatal
; as well as other exceptions
setup.var %Hex.on
setup.var %m.5
printer.file c:\temp\boot_trap_frame.lst
wp.v.v boot_trap_frame
printer.file c:\temp\rex_core.lst
wp.v.v rex_core
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -