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.

[参考译文] AM263P4-Q1:CCS 调试模式下的 ISR 执行

Guru**** 2393275 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1514874/am263p4-q1-isr-execution-in-ccs-debug-mode

器件型号:AM263P4-Q1

工具/软件:

尊敬的团队:

我的客户对写入闪存和使用 ISR 有一些疑问。

它们有一个 ISR、其中在输入 ISR 时、某个值将递增。

但是、当他们在 CCS 中调试此程序时、似乎没有进入和执行 ISR。 他们有以下问题:

  • ISR 例程是否在 CCS 调试模式下执行?
  • 在 CCS 调试模式下执行 ISR 例程是否需要一些配置?
  • 其 ISR 每50us 执行一次。 ISR 的执行频率是否受限制?

此致、

Mari Tunnoda

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

    嗨、Mari

    我们是否在 ISR 中写入闪存?

    [引述 userid="499871" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1514874/am263p4-q1-isr-execution-in-ccs-debug-mode
    • ISR 例程是否在 CCS 调试模式下执行?
    • 在 CCS 调试模式下执行 ISR 例程是否需要一些配置?
    • 其 ISR 每50us 执行一次。 ISR 的执行频率是否受限制?
    [/报价]

    ISR 例程在调试模式下执行、没有任何特殊配置。  

    可能没有正确生成/接收中断。  

    • 您可以在 ISR 开始时切换 GPIO、并对其进行示波以查看是否进入了 ISR。
    • 您可以检查寄存器中是否设置了中断位。

    如果有任何帮助、请告诉我!

    此致、
    阿克什特