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.
Hi,
In order to use the RTA tools to check the CPU load graph, I want to add the RTSC file to my project.
Before I add the RTSC configuration file, the project could run normally. After adding, it could go through the Debug and generate the .out file , but when i want to run the project. It complains the error like the following:
TMS320C6416: Error: Illegal opcode (0002b758) at pc = 0x00000008 Illegal opcode at pc = 0x00000008
TMS320C6416: Error: Illegal opcode (00000002) at pc = 0x00000040 Illegal opcode at pc = 0x00000040
TMS320C6416: Error: Illegal opcode (00000002) at pc = 0x00000044 Illegal opcode at pc = 0x00000044
TMS320C6416: Error: Illegal opcode (00000002) at pc = 0x00000048 Illegal opcode at pc = 0x00000048
TMS320C6416: Error: *** Runtime error at PC = 00000064 Register(s) A0 in Multiple Write Conflict in E1 phase. Ref SPRU189F Sec 3.7, Sec 5.6
How can I to solve this problem? Is there something wrong?
CCS version= 4.2.0.10018
Target configuration: TMS320C6416, cycle simulation.
I believe the illegal opcode error is coming from the simulator. I will ping the simulator team for assistance.
thanks
ki
Ki-Soo,
I tried creating a hello world project and added RTSC confuguration to it. When I build I am getting some syntax errors in the RTSC config file build. Since I am doing RTSC build first time, I may have missed something. Can you send me an example which can reproduce the problem.
As regards illegal opcode error, since the control flow ended up at PC 0x0 it can also be due to the application accessing for example null pointer or some uninitalized memory read(UMR) in the application.
If you can send me a .out I can take a look. By the way, is the problem also reproducible on C6416 functional simulator or for that matter c64xx CPU only simulator?
regards,
Sheshadri
hi,ki
Through the attempts, I found the reason, " The C64XX DSP can't support the RTA module perfectly. "
When i change the target to the DM6446(C64X+ Board), then the problem of "illegal opcode" gone. Thank you for your advise.
But another new problem occurs, described as the following:
When i ran the SYS/BIOS example (stairstep), the CPU load graph in the Tools->RTA couldn't update the data, there is nothing in the Graph.
and only one record in the printf logs " stairstep example started." No other information in the RTA components.
I ran this example in the TMS320DM6446 board under the simulation mode. I doubt that "could the RTA module work on the simulation model? "
Thank you!
regards,
lijie
lijie,
lijie Wang said:When i ran the SYS/BIOS example (stairstep), the CPU load graph in the Tools->RTA couldn't update the data, there is nothing in the Graph.
and only one record in the printf logs " stairstep example started." No other information in the RTA components.
I ran this example in the TMS320DM6446 board under the simulation mode. I doubt that "could the RTA module work on the simulation model? "
I don't think I understand what you did. Did you build your program for a DM6446 hardware target and now is trying to run on simulator?
Also note your version of CCS is very old. I suggest updating to a later version.
Thanks
ki