• 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 » Digital Signal Processors (DSP) » OMAP™ Processors » OMAP-L13x, AM1x and C674x Processors Forum » L138 emulator recommendation
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • Forums

    L138 emulator recommendation

    This question is answered
    Paul Singh
    Posted by Paul Singh
    on May 10 2012 15:21 PM
    Expert2110 points

    Hi,

    I hope to get recommendation from TI application engineers on an ideal emulator for OMAP L138. Our previous one had problem under CCS 5 that the memory browser and disassembly window cannot get displayed correctly, although in CCS 4 it works. 

    What is the favorite type that TI people use when debugging L138? I would like to know this and buy the same brand.

    Paul

    omap l138 emulator
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Rahul Prabhu
      Posted by Rahul Prabhu
      on May 10 2012 15:53 PM
      Verified Answer
      Verified by Paul Singh
      Genius16220 points

      Paul,

      Personally, I have been using Spectrum Digital XDS510USB emulator with OMAPL138 for last three years and have had no issues with any version of Code Composer Studio. Having said that I have also on occasions used XDS510USBPLUS,XDS560v2 STM (may be a little expensive) to connect to OMAPL138.

      We have tried to list all the emulators that can be used to connect to OMAPL138 on the following wiki:

      http://processors.wiki.ti.com/index.php/How_to_connect_to_the_OMAP-L138/C6748/AM1808_EVM_board_using_CCS%3F

      Which emulator were you using before? Did you report the issue on the code composer studio forums?

      Regards,

      Rahul

      ---------------------------------------------------------------------------------
      Please click the
      Verify Answer button on this post if it answers your question.
      ---------------------------------------------------------------------------------

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Paul Singh
      Posted by Paul Singh
      on May 11 2012 15:30 PM
      Expert2110 points

      Rahul,

      I have looked at the XDS510 USB and XDS560 V2 traveler info at Spectrum Digital site and the wiki article. Very probably I am going to pick one among them. Thanks for your recommendation.

      Paul

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Paul Singh
      Posted by Paul Singh
      on Jun 13 2012 10:42 AM
      Expert2110 points

      Rahul,

      Have you ever tried using any of Spectrum Digital’s

      1. XDS510USB
      2. XDS510USB Plus
      3. XDS560USB V2 STM

      to debug power saving modes of OMAP L138? We actually want to see if errors happened when debugging power-saving modes are due to potential fallacies with our current Seed International XDS560 plus emulator.

      When trying to put ARM core into wait-for-interrupt sleep mode we see the following error message

      CCS error message

      ARM9_0: Error: (Error -1029 @ 0x2B5F) Invalid data read from ICECrusher register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.569.0) 

      The problem has also been reported in Error -1029 @ 0x2B5F when changing ARM926 clock but haven’t got responded so far.

      In addition, with the ARM core on we were able to put DSP core into sleep mode using the Seed International emulator,  and the current decrease is noticeable form the external power supply reader; however this is also quite unstable and the emulator’s connection to ARM core would frequently get disrupted, say 3 out of 5 times.

      So I would like to know which emulator people at TI are using when debugging these power-saving modes? This is one of the very few outstanding problems of our project and we are in a certain urgency to get it solved ASAP.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Rahul Prabhu
      Posted by Rahul Prabhu
      on Jun 13 2012 11:59 AM
      Verified Answer
      Verified by Paul Singh
      Genius16220 points

      Paul,

      I have used XDS510USB Plus while debugging OMAPL137/C6747 part in power saving modes but don`t recollect having any reliability issue. XDS 560 USB V2 has more advanced Trace and debug features so I certainly expect that to work in such cases as well.

      As far as the issues you are facing, I would recommend getting in touch with the emulator manufacturers and reporting the issue. They may be able to help you prevent making an additional investment on an alternate emulator.

      Regards,

      Rahul

      ---------------------------------------------------------------------------------
      Please click the
      Verify Answer button on this post if it answers your question.
      ---------------------------------------------------------------------------------

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Paul Singh
      Posted by Paul Singh
      on Jun 13 2012 12:38 PM
      Expert2110 points

      Rahul,

      Thanks for sharing the experience on XDS510USB Plus. I am going to have a try with them.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Paul Singh
      Posted by Paul Singh
      on Jul 03 2012 10:23 AM
      Expert2110 points

      Rahul,

      I am currently debugging DEEPSLEEP mode with SpectrumDigital’s XDS560V2 STM emulator. After having put the device into DEEPSLEEP mode, the connection between the compiler and the emulator got disrupted with the following message:

      CCS debugging error message

      ARM9_0: Can't Run Target CPU: (Error -1066 @ 0x3332) Unable to set requested breakpoint in memory. Verify that the breakpoint address is in writable memory. (Emulation package 5.0.681.0)

      ARM9_0: Trouble Halting Target CPU: (Error -184 @ 0x2A4E) The controller has detected a failure in its connection to the target. This often implies one of the following errors: 1. The target cable is disconnected near-to the controller. 2. The target cable is disconnected far-from the controller. 3. The target system has lost its JTAG clock. 4. The target system has lost its power supply. (Emulation package 5.0.681.0)

      ARM9_0: Error: Failed to get PRSC status

      ARM9_0: Trouble Halting Target CPU: (Error -181 @ 0x277D) The controller has detected a dead JTAG clock. The user must turn-on or connect the JTAG clock for the target. (Emulation package 5.0.681.0)

      ARM9_0: Error: Failed to get PRSC status

      ARM9_0: Trouble Halting Target CPU: (Error -181 @ 0x277D) The controller has detected a dead JTAG clock. The user must turn-on or connect the JTAG clock for the target. (Emulation package 5.0.681.0)

      ICEPICK_C: JTAG Communication Error

      ARM9_0: Error: Failed to get PRSC status

      ARM9_0: Trouble Halting Target CPU: (Error -181 @ 0x277D) The controller has detected a dead JTAG clock. The user must turn-on or connect the JTAG clock for the target. (Emulation package 5.0.681.0)

      ICEPICK_C: Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

      Rahul Prabhu

      I have used XDS510USB Plus while debugging OMAPL137/C6747 part in power saving modes but don`t recollect having any reliability issue.

      Did you meet the same problem? Or perhaps it is the expected behavior because DEEPSLEEP mode is supposed to gate all clocks which of course disrupts emulator connection, since emulator would need to see some response from or valid signal on the device to know whether the connection is successful. So perhaps the connection problem it is just what it should look like, an indication that the DEEPSLEEP mode did have worked?

       

      Paul

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Paul Singh
      Posted by Paul Singh
      on Jul 05 2012 14:28 PM
      Verified Answer
      Verified by Paul Singh
      Expert2110 points

      Update:

      We have tested DEEPSLEEP mode with RTC ALARM. When the mode starts by setting DEEPSLEEP.SLEEPENABLE, the emulator lost connection to the CPU and CCS showed some error message; after the RTC has turned CPU on, we can then re-connect to the CPU and see the program is executing at the code after setting DEEPSLEEP.SLEEPENABLE. To better observe this, it is useful to insert a while(1) loop somewhere following the wake-up process.

      Paul

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jakez
      Posted by Jakez
      on Jul 05 2012 16:36 PM
      Expert1870 points

      Hello,

      Here's an unverified suggestion:

      The clock loss means perhaps the emulator return clock (JTAG RTCK signal from the CPU) loss; it is replicated from the emulator clock (JTAG TCK signal).

       You may try to configure the emulator from some "adaptive TCK" mode (RTCK needed to find the best JTAG clock frequency) to a "fixed frequency" or "counter" mode (which won't use RTCK). With some luck, entering the deep sleep mode will then be silent.

      Jakez

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Paul Singh
      Posted by Paul Singh
      on Jul 06 2012 10:57 AM
      Expert2110 points

      Jakez,

      I did have a test of the idea.

      First, the default target configuration for Spectrum Digital XDS560 V2 uses "Adaptive with user specified limit", for which the connection got lost during DEEPSLEEP.

      Second, if I choose "Adaptive without any limit at all", there would be a error message when connecting:

      error message

      Error connecting to the target:
      (Error -507 @ 0x0)
      The user selected asynchronous adaptve frequency failed the scan-path test.
      The utility or debugger requested the JTAG controller and cable,
      that generate the JTAG clock, to use a user selected feature or
      algorithm.  The built-in scan-path reliability test has failed.
      This indicates that the JTAG controller and its cable cannot reliably
      communicate with the target system using that feature or algorithm.
      (Emulation package 5.0.681.0)

       

      Not sure if I am understanding on the RTCK mechanism you mentioned is correct. But at least for the two "adpative" modes on SD emulator the connection is either unsuccessful at the beginning or get lost during DEEPSLEEP.

      It is nevertheless a minor problem since I could simply just reconnect. A caveat is that the initialization GEL should better be unloaded for reconnection, since usually initialization GEL script contian the "OnTargetConnect()" function which would be executed and reinitialize the chip to result in state change. Anyway it is a small problem and I already come to terms with it.

       

      Paul

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    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