惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
V
Vulnerabilities – Threatpost
GbyAI
GbyAI
P
Proofpoint News Feed
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
A
About on SuperTechFans
T
Tenable Blog
M
MIT News - Artificial intelligence
IT之家
IT之家
I
Intezer
D
DataBreaches.Net
爱范儿
爱范儿
T
Threatpost
C
CERT Recently Published Vulnerability Notes
云风的 BLOG
云风的 BLOG
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
K
Kaspersky official blog
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
Y
Y Combinator Blog
Cyberwarzone
Cyberwarzone
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
Spread Privacy
Spread Privacy
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
AWS News Blog
AWS News Blog
博客园 - 聂微东
C
Check Point Blog
S
Securelist
有赞技术团队
有赞技术团队
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
D
Docker
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tailwind CSS Blog
L
Lohrmann on Cybersecurity
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LangChain Blog

博客园 - yooooooo

【ARM CoreLink 系列 5 -- CI-700 控制器介绍 】 ARM CoreLink 系列 4.3 -- NI-700 Component and interface identifiers ARM CCI-500 与 NI0700 的关系. ARM NIC-400 与 NI-700 的区别 claude code命令使用 【ARM Trace32(劳特巴赫) 使用介绍 2.2 -- TRACE32 进阶命令之 DIAG 弹框命令】 【ARM Trace32(劳特巴赫) 使用介绍 2.1 -- TRACE32 Practice 脚本 cmm 脚本学习】 【ARM Trace32(劳特巴赫) 使用介绍 1.1 - Veloce 环境中使用trace32 连接 Cortex-M33】 PCIe 总线的 ASPM 和 链路状态机制总结 fw_devlink 功能 I3C协议详解 UART 协议规范 BPF 调度器 sched_ext 实现机制、调度流程及样例 Android Camera性能分析 录像Buffer Path详解 【UEFI基础】Protocol介绍 【UEFI实战】在库中使用全局变量 sched feature TTWU_QUEUE 【ARM CoreLink 系列 4.2 -- NI-700 Function units 详细介绍】 edk2构建编译流程 UEFI:FDF文件及FD、FV、FFS EDK II PCD的概念、类型、使用 PELT算法浅析 load_balance函数代码详解 - yooooooo UEFI Boot Manager Linux misfit task Linux 内核中sched_prio_to_weight转换关系 CFS任务放置代码详解 CFS任务的负载均衡(load balance)
trace32 .cmm脚本和.t32文件的区别
yooooooo · 2026-04-19 · via 博客园 - yooooooo

.cmm.t32 文件的区别


.cmm 文件 — PRACTICE 脚本

  • Trace32 自己的脚本语言(叫 PRACTICE)
  • 类似 batch/shell 脚本,可以执行一系列 T32 命令
  • 可编辑,用记事本就能打开

典型内容:

; 加载符号
Data.LOAD.Elf "vmlinux" /NoCODE
; 设置寄存器
R.S PC 0xffffffc012345678
R.S SP 0xffffff8012345678
; 查看调用栈
v.f

常见例子:

文件 作用
core.cmm 初始化整个调试环境
corevcpu6_regs.cmm 恢复 core6 寄存器现场
t32_startup_script.cmm 启动时自动执行的主脚本

.t32 文件 — T32 配置文件

  • Trace32 的启动配置文件,不是脚本
  • 告诉 T32 怎么启动(用什么模式、端口、窗口布局等)
  • 启动时通过 -c 参数传入

典型内容:

; T32 启动配置
OS=
ID=T32_1000000
TMP=C:\TEMP
SYS=C:\T32
HELP=C:\T32\pdf

PBI=SIM          ; 使用 Simulator 模式(ramdump分析用这个)

SCREEN=
FONT=SMALL
HEADER=Trace32

核心区别对比

对比项 .cmm .t32
本质 PRACTICE 脚本 启动配置文件
执行时机 T32 启动后执行 T32 启动时读取
内容 T32 命令序列 路径/模式/端口配置
类比 Shell 脚本 .sh 应用配置 .ini
调用方式 do xxx.cmm t32MARM64.exe -c xxx.t32