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.

[参考译文] AM2432:查看 CCS 中的 R5F VFP 寄存器

Guru**** 2468460 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1464568/am2432-view-r5f-vfp-registers-in-ccs

器件型号:AM2432

工具与软件:

 在 CCS 寄存器窗口中未找到 VFP 寄存器、它可用吗? 如果没有、为什么?

否则我会找到一种间接查看方法、请打开 cortexR_VFP.xml 以获取 VFP 寄存器的名称、在"表达式"窗口中输入该名称、这样可以查看但不方便。  

应该有办法将  cortexR_VFP.xml 导入到 CCS 中以启用 VFP 寄存器显示、因为 Debug_Register 和 System_Register 子寄存器的名称与 cortexR_Debug.xml 和 CortexR_System.xml 文件的名称相同。它们应该从这些文件中导入。

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

    您好!

    感谢您的提问。

    我已获取您的意见并进行处理。 请等待一段时间再回来。

    此致、

    Tushar

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

    您好!

    要在寄存器视图中从 CCS 查看 VFP 寄存器、请添加 cortexR_VFP.xml 位置 cortex_r5.xml 路径上 ${CCS}\ccs\ccs_base\common\targetdb\cpus\cortex_r5.xml。

    请参考以下代码。

    <instance href="..\Modules\cortexR\cortexR_VFP.xml" id="VFP_Registers" xml="cortexR_VFP.xml" xmlpath="..\Modules\cortexR" HW_revision="1.0" description="" requestor="Cortex_R5F" baseaddr="0" size="00" accessnumbytes="4" permissions="p"/>

    请参阅下图。

    完成上述更改后、重新启动 CCS。 您现在能够从 CCS 查看寄存器。

    此致、

    Tushar