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

推荐订阅源

U
Unit 42
GbyAI
GbyAI
人人都是产品经理
人人都是产品经理
T
Tor Project blog
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
爱范儿
爱范儿
雷峰网
雷峰网
MongoDB | Blog
MongoDB | Blog
Vercel News
Vercel News
美团技术团队
博客园 - 三生石上(FineUI控件)
D
DataBreaches.Net
L
LangChain Blog
IT之家
IT之家
博客园_首页
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
Hacker News: Ask HN
Hacker News: Ask HN
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
量子位
Project Zero
Project Zero
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东
T
Tenable Blog
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
T
Threat Research - Cisco Blogs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
Microsoft Azure Blog
Microsoft Azure Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 叶小钗
Know Your Adversary
Know Your Adversary
L
Lohrmann on Cybersecurity
C
Cisco Blogs
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Schneier on Security
Schneier on Security
I
InfoQ
P
Privacy & Cybersecurity Law Blog
Spread Privacy
Spread Privacy
Martin Fowler
Martin Fowler
腾讯CDC
S
Security @ Cisco Blogs
F
Fortinet All Blogs

博客园 - yooooooo

ftraceoption irq-info MPAM BE/ FE 的区别及功能 IPI与CPU唤醒机制 【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函数代码详解 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