• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » BIOS » BIOS forum » Can't enable RTA
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Can't enable RTA

Can't enable RTA

This question is answered
jianbin tang
Posted by jianbin tang
on Apr 04 2012 01:27 AM
Intellectual290 points

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

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Karl Wechsler
    Posted by Karl Wechsler
    on Apr 09 2012 11:34 AM
    Mastermind18265 points

    Hi Tang --

    Sorry for the slow response.   We are looking into this and will get back to you ASAP.

    -Karl-

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jon Blake
    Posted by Jon Blake
    on Apr 09 2012 12:39 PM
    Intellectual1440 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jianbin tang
    Posted by jianbin tang
    on Apr 09 2012 19:46 PM
    Intellectual290 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jon Blake
    Posted by Jon Blake
    on Apr 11 2012 10:55 AM
    Suggested Answer
    Intellectual1440 points

    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.

    Thanks,

    -Jon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jon Blake
    Posted by Jon Blake
    on Apr 16 2012 20:07 PM
    Intellectual1440 points

    Hi Jianbin,

    Did you try either of the suggestions above? 

    Are you still interested in trying to resolve this issue?

    Regards,

    -Jon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jianbin tang
    Posted by jianbin tang
    on Apr 17 2012 01:55 AM
    Intellectual290 points

    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!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jon Blake
    Posted by Jon Blake
    on Apr 17 2012 11:56 AM
    Intellectual1440 points

    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.

    1. Rebuild your project after you have changed to the latest DSP/BIOS 5.41.10.36 version in build properties as you showed in your screen shot above, it will automatically use the latest XDCtools version.
    2. launch the debugger for you selected device
    3. load the program
    4. Open RTA option (i.e, raw logs, printf logs)
    5. Run the program

    Let me know if RTA is working after you have tried these steps and also what version of XDCtools you selected.

    Regards,

    -Jon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jianbin tang
    Posted by jianbin tang
    on Apr 17 2012 22:57 PM
    Intellectual290 points

    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!

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jon Blake
    Posted by Jon Blake
    on Apr 18 2012 01:03 AM
    Intellectual1440 points

    Hi Jianbin,

    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.

    Regards,

    -Jon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jianbin tang
    Posted by jianbin tang
    on Apr 18 2012 01:52 AM
    Intellectual290 points

    I followed the guide in:
    http://rtsc.eclipse.org/docs-tip/Real-Time_Analysis_Tools
    and
    http://rtsc.eclipse.org/docs-tip/RTSC%2BCCStudio_v4_QuickStart
    I 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.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jianbin tang
    Posted by jianbin tang
    on Apr 18 2012 06:19 AM
    Intellectual290 points

    Jon

    I would appriciate that if you could send me the steps. Thanks a lot!

    Jianbin

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jon Blake
    Posted by Jon Blake
    on Apr 18 2012 17:33 PM
    Verified Answer
    Verified by jianbin tang
    Intellectual1440 points

    Hi Jianbin,

    Please try the following steps.

    1. File --> New --> CCS project
    2. Give the project a name, i.e., evmDM6437_stairstep
    3. Project type on next page should be "C6000", leave the rest of options as default
    4. Click next on the addional project settings pane
    5. On the "Project settings" pane, select TMS320DM6437 from the "Device Variant:" drop down list 
    6. For Project Templates pane select "DSP/BIOS v5.xx Examples" and expand the tree, then expand the tree again for evmDM6437 Examples, select/highlight the "stairstep example".
    7. Click on the "finish" button
    8. You will have a new project, build this project and ensure there are no errors.
    9. From the top left of your CCS window, select "View --> Target Configurations"
    10. Right click on "User Defined" and select "New User Configuration"
    11. Name the configuration "evmDM6437_simulator" and click on the "finish" button
    12. This will leave a new tab in the window named "evmDM6437_simulator.ccxml
    13. For "Connection" select "Texas Instruments Simulator" using the drop down list.
    14. For the device you can type in the filter 6437, this should narrow the list down to two options, click the check box for --> "DM6437 Device Cycle Accurate Simulator, Little Endian"
    15. To the right in that same tab select "Save" under save configutation.
    16. Now in the Target configuration tab, select "User Defined" and expand the tree.
    17. You should see "evmDM6437_simulator.ccxml as one of the options, right click on it and click "Launch Selected Configuration"
    18. This should have caused a switch to the debug perspective view and the simulator debugger should now be loaded. 
    19. Select Target --> Load Program from the top of the screen menus.  A new window pane will pop up, select "browse project..."
    20. Click on the evmDM6437_stairstep.out and select ok and then ok again.  This should load the program into the simulator.
    21. Under "Window --> Preferences --> CCS --> RTSC" ensure that BIOS 5.41.10.36 and XDCtools 3.22.1.21 versions are still selected as you had them in the earlier screen shots you posted.  Close that window.
    22. Select "Tools --> RTA --> Raw Logs".  The "Raw Logs" view should have opened a tab.
    23. Note if there is any output in the log before you run the program. (see screen shot 1 below)
    24. Run the program for about 30 seconds and then halt.
    25. After it is run is there data in the "Raw Logs" view? (see screenshot 2 below)

    Regards,

    -Jon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jon Blake
    Posted by Jon Blake
    on Apr 18 2012 18:53 PM
    Intellectual1440 points

    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  


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jianbin tang
    Posted by jianbin tang
    on Apr 18 2012 19:30 PM
    Intellectual290 points

    Hi, Jon:

     

    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?

    Jianbin

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jon Blake
    Posted by Jon Blake
    on Apr 19 2012 00:48 AM
    Verified Answer
    Verified by David Friedland
    Intellectual1440 points

    Hi Jianbin,

    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.

    Thanks,

    -Jon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use