Hi,
Platform: C64+ DSP
CCS 4.2.4
BIOS 5.41
Emulator: 560V2 (without system trace)
I followed the instruction in:
http://processors.wiki.ti.com/index.php/DSP/BIOS_Real-time_Analysis_(RTA)_troubleshooting#Trace_must_be_enabled
Here are the last part of my TCF:
bios.GBL.ENABLEINST = 1;bios.GBL.ENABLEALLTRC = 1;bios.RTDX.ENABLERTDX = 1;bios.HST.HOSTLINKTYPE = "RTDX";bios.enableRealTimeAnalysis(prog);bios.enableRtdx(prog);prog.module("GBL").ENABLEALLTRC = true;
I only see the following figures, but no any data was reported during the DSP runing or after DSP is halted.
Thanks a lot for your help!
Tang
Hi Tang --
Sorry for the slow response. We are looking into this and will get back to you ASAP.
-Karl-
Hi Tang,
I'd like to get some more details on your setup.
What version of DSP/BIOS 5.41 are you using? 5.41.10.36?
How are you connecting to the XDS560v2? USB or Ethernet?
Which 64P platform are you using? i.e., evmDM6437?
Thanks,
-Jon
Hi, Jon
Thanks for you reply!
1: My DSP/BIOS version is: 5.41.7.24.
2: I use USB to connect board. However, my emulator doesn't support "system trace", I wonder if it will cause the issue?
3: I use DM3725. We designed board oursleves. We also have DM3730 EVM boards from TI (http://www.ti.com/tool/tmdsevm3730), but not at my hand. If necessary, I would ask my colleagues to have a try.
Thanks
Jianbin Tang
Hi Jianbin,
I would like to rule out any incompatibility with CCSv4.2.4 and DSP/BIOS 5.41.07.24.
Is it possible for you to update to the following versions:
DSP/BIOS 5.41.10.36
http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios/5_41_10_36/index_FDS.html
XDCtools 3.22.01.21
http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_22_01_21/index_FDS.html
These are the versions that shipped with the Full CCSv4.2.4 release. I'm assuming you updated to 4.2.4 via the services releases from a previous version of CCSv4.x.
The emulator not having "system trace" should not be an issue.
Another approach would be to use the project wizard in CCSv4.2.4 to create the stairstep DSP/BIOS example for evmDM6437 and use the evmDM6437 simulator to confirm that RTA is working. This would help to determine if it's an incompatibility or a configuration issue.
Did you try either of the suggestions above?
Are you still interested in trying to resolve this issue?
Regards,
Dear Jon:
Sorry for late response!
My prj was initial built on CCS4.2.0. Later I upgrate the CCS to be 4.2.4. Hence I don't need install the package in your link right?
I just need simply change the DSP/BIOS version in my prj and recompile again, right?
About the the XDC tools, I don't know what is my current version, how to check it and how to change the setting?
By the way, do I need change the code generation tools from v7.0.3 to v7.2.0? It is said the effective one is 7.2.0.
Thanks!
Jianbin,
From your screen shot it looks like you have an newer version of DSP/BIOS so let's try the following.
In CCS under the "Window" option at the top of the window pane, select "Preferences" --> CCS --> RTSC
Select the latest versions of XDCtools and DSP/BIOS.
Select "apply"
Select "ok" to close.
Close any RTA or ROV windows under the "debug perspective" window (you can select this window in the upper right hand side of the CCS window).
Return to the "C/C++ perspective" window.
Let me know if RTA is working after you have tried these steps and also what version of XDCtools you selected.
Hi, Jon:
At the beginning, there are no XDCTools/DSPBIOS version was selected.
Then I choose BIOS and XDC:
I recompile and rerun the prj. But finally the phenomena is same as before. I did't see any report of RTA.If you need further info, or if there are any simple demo project run on the DM3725/3730, just let me know, I'll do it.Thanks a lot!
I think we should confirm that RTA is working with a known good configuration. Is it possible for you to try creating the stairstep example using the project wizard in CCS for the evmDM6437 platform and DSP/BIOS 5.41.10.36. Then run it on the DM6437 Device Cycle Accurate Simulator, Little Endian to see if RTA works. I can send you the steps how to do this if needed.
I followed the guide in:http://rtsc.eclipse.org/docs-tip/Real-Time_Analysis_Toolsandhttp://rtsc.eclipse.org/docs-tip/RTSC%2BCCStudio_v4_QuickStartI built the hello.prj but still didn't see any CPU load.The hello.c is run correctly and "hello world" was printed out.For the platform, I choose simc64p which is same as demo. I don't know for my self-designed DM3725 board, which platform I should choose.
Jon
I would appriciate that if you could send me the steps. Thanks a lot!
Jianbin
Please try the following steps.
If you get the following message when you run the example you can ignore it. This warning is because we are on the simulator. RTA should still work.
TMS320C64X+_0: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken
Here is prj I generated following your steps:
7536.evmDM6437_stairstep.zip
It is exactly for the first 19 steps, but:
In step 20, when I loaded the .out it is said in red colour:
TMS320C64+: RTDX: Not a valid RTDX program: RTDX protocol (JTAG) does not match CCS setup (SIMULATOR)
In step21, the default XDC version is 3.20.0.88, but I changed it to be 3.22.1.21
At 22-25 steps, I get similar result as you shown. But during the running, there will be some warning like:TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken TMS320C64+: Warning: CPU:Interrupt No. 4 dropped, an earlier interrupt is pending to be taken
And I didn't see anyting in CPU load and RTA control panel. Is everything correct till now?
Run the program again and open the RTA "Raw Logs" view and tell me if you see any data in that view. I'll take a look at your project when I am at work tomorrow.
The messages in red and the warnings are fine and when you hit halt after running the program you should see the data appear in the RTA "Raw Logs" view.
You can get rid of the RTDX message --> TMS320C64+: RTDX: Not a valid RTDX program: RTDX protocol (JTAG) does not match CCS setup (SIMULATOR)
by doing the following.
In the project, right click on stairstep.tcf and select --> open with --> DSP/BIOS Configuration tool
This will bring up a new popup window and you can set RTDX under Input/Ouput to simulator as seen in this screen shot.
Make sure to save this after you select ok and you will also need to rebuild the project after making this change.