Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 C 语言为 MPC5748G 开发一个引导加载程序。
引导加载程序将在 RAM 上运行,所以我想知道如何调试在 MPC 目标上运行的引导加载程序代码。
谢谢
如果没有关于您正在使用的平台的更多信息,一般准则是您使用调试符号编译引导加载程序软件,一旦加载,启动一个调试会话,该会话应配置为附加到进程(而不是经典的 load-then-主中断)。然后,点击暂停应该中断目标,从这里开始它是一个正常的调试会话。