Tool/software: Code Composer Studio
Hey guys,
I met the problem of "Error: Illegal opcode (e8000000) at pc = 0x84006d1" even in a helloworld project. Although there are some posted issues in this forum about illegal opcode problem, but they seem to not fit for my problem.
My build option is like this : -pm -o3 -fr"$(Proj_dir)\Debug" -d"_DEBUG" -mv6400+
The content of cmd file is below:
MEMORY
{
L2_12: o = 00000000h l = 00040000h /*Upto 192K segment - always SRAM */
/*L2_3: o = 00030000h l = 00008000h*/ /*32K segment: TaskA-SRAM, TaskB-Cache*/
/*L2_4: o = 00038000h l = 00008000h*/ /*32K segment: always cache */
CE0: o = 80000000h l = 8000000h /* external memory */
}
-stack 0x20000
-heap 0x4000000 /* klbo: alloced in .system */
SECTIONS
{
.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 */
.tables > CE0 /* 0x00000000 */
.cio > CE0 /* 0x00000120 */
.sramStateA > L2_12 /* 0x00000000 */
The whole project also is attached. Please help me, thanks a lot.
7288.helloworld.zip
.external > CE0
}
