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.

[参考译文] CCS/TMS320DM642:错误:PC = 0x84006d1时非法操作码(e80000) CCS3.3 DM642仿真器中存在问题

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/743356/ccs-tms320dm642-error-illegal-opcode-e8000000-at-pc-0x84006d1-problem-in-ccs3-3-dm642-simulator

器件型号:TMS320DM642

工具/软件:Code Composer Studio

嗨、大家好、

   我甚至在 helloworld 项目中也遇到了"Error:illegal opcode (e8000000) at PC = 0x84006d1"的问题。 虽然在这个论坛中有一些发布的关于非法操作码问题的问题、但它们似乎不适合我的问题。

我的构建选项如下所示: -pm -o3 -fr"$(Proj_dir)\Debug"-d"_debug"-mv6400+

cmd 文件的内容如下:  

存储器

L2_12:O = 00000000h l = 00040000h /*最多192K 段-始终 SRAM */
/*L2_3:O = 00030000h l = 00008000h*//*32K 段:Taska-SRAM、TaskB-Cache */
/*L2_4:O = 00038000h l = 00008000h*//*32K 段:始终高速缓存*/
CE0:O = 80000000h l = 8000000h //外部存储器*/

-stack 0x20000
heap 0x4000000 /* klbo:在.system 中分配*/
部分

.cinit > ce0 /* 0x0000034c */
.text > ce0 /* 0x00023740 */
.stack > L2_12
.bss > ce0 /* 0x00000070 */
.const > ce0 /* 0x000050b3 */
.data > L2_12 /* 0x00000000 */
far > ce0 /* 0x00000480 */
.switch >ce0 /* 0x00000020 */
.sysmem > ce0 /*-heap */
表>ce0 /* 0x00000000 */
.cio > ce0 /* 0x00000120 */

.sramStateA >L2_12 /* 0x00000000 */

整个项目也附在后。 请帮助我、非常感谢。

e2e.ti.com/.../7288.helloworld.zip

.external > ce0

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

    您好!

    您正在运行哪个仿真器? 我在 CCSv3.3安装中看不到 DM642仿真器、因此我使用了标准 C64x+仿真器、并且您的程序运行正常(输出了"Hello world"消息、程序成功到达退出点

    谢谢

    Ki

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

    [报价用户="Ki-Soo Lee "]我在 CCSv3.3安装中看不到 DM642仿真器[/quot]

    实际上我错了。 有一个 DM642仿真器。 DM642是 C64x 而不是 C64x+。 您的构建选项指定 -mv6400+、这意味着您要为 C64x+进行构建。 这可能是个问题。 改用-mv6400重新编译工程。 这将在 DM642仿真器上运行。

    谢谢

    Ki