This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] F29H85X-CPU2-EVM:如果 I RESET 重新启动、SOM 断点不会保持活动状态。

Guru**** 2955430 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1650918/f29h85x-som-evm-cpu2-breakpoints-do-not-remain-active-if-i-reset-restart-cpu1

器件型号: F29H85X-EVM-EVM SOM

您好、

我正在尝试调试 CPU2 代码。 我在 CPU2 代码中的 ISR 中放置了断点。 我想捕获 CPU2 中的 ISR 命中第一个实例。 但是、当我部署到两个内核、然后重置时、会重新启动 CPU1 代码、以便达到 CPU2 断点。 但这不会发生。

debugSession.cpu2.breakpoints.add('meCAPDelta_step');
debugSession.cpu1.target.reset();
debugSession.cpu1.target.restart();
debugSession.cpu2.target.run(false);
debugSession.cpu1.target.run(false);
debugSession.cpu2.target.waitForHalt();
       
        

   
 内核未达到暂停条件、我无法在 CPU2 中捕获 ISR 的第一个命中。 即使通过 CCS UI、我也无法捕获第一次点击?
 
是否有任何建议、说明即使我重新启动 CPU1 代码、如何使 CPU2 中的断点保持活动状态?
 
谢谢、
Mukul