• 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 » Development Tools » Code Composer Studio » Code Composer Forum » Problem running FlashingLeds example with Experimenter Kit 28035
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Forums

    Problem running FlashingLeds example with Experimenter Kit 28035

    This question is answered
    Daniel Alba
    Posted by Daniel Alba
    on Jul 21 2012 14:49 PM
    Prodigy50 points

    I am starting to work with 28035 Experimenter Kit. First thing was following steps on System Framework Overview pdf file and could get FlashingLed example running without problems.

    Checked example results and closed CCS4 when finished working.

    Next time I tried to run Flashing Leds example, I opened CCS4 on the corresponding workspace.

    Tied to connect to Target hitting debug button but cannot connect to Target, and I get the error message:

    Error connecting to the target:
    Error 0x80000200/-1142
    Fatal Error during: OCS,
    Processor blocked debug accesses. An operation was attempted while
    the CPU was in a non-debuggable context. To continue to honor the debug
    context, press Cancel. To force debug access, press Rude Retry.

    tried several times checking Debuggging configuration with no success

    After checking some other answers in this forum, I understand this problem might be related with Real Time Mode debugging but could not get the Target running again. Always getting same message.

    Look forward to getting an answer which helps me get this going.

    Thanks

    Error 0x80000200/-1142
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Brett Larimore
      Posted by Brett Larimore
      on Jul 23 2012 15:44 PM
      Mastermind19205 points

      Daniel,

      I would recommend making sure that your version of CCS is up-to-date.  I remember having this issue during some earlier release (if I remember correctly, the issue is the real-time mode is getting stuck being on). The latest version of CCS4 is 4.2.5

      You can usually update CCS from within CCS.  (Help->Software Updates->Find and Install...)

      ---

      If you desire, you can also just directly download the most recent version.  Both CCS4 and CCS5 are both currently supported (although new releases are only being planned around CCS5).  Both can be downloaded from the below link:
      http://processors.wiki.ti.com/index.php/Download_CCS


      Thank you,
      Brett

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Alba
      Posted by Daniel Alba
      on Jul 26 2012 13:10 PM
      Prodigy50 points

      Hi Brett,

      Thanks for your input.

      CCS version I was using was 4.2.1. I  uninstalled it and intalled CCS from the DVD I got with Experimenter Kit.

      Now CSS version is 4.2.3.00004. I got new license and everyting seems to be working Ok.

      I tried then to run Flashing LEDs example. First deleted old workspace files and created new workspace just following directions from "SystemFrameworkOverview" pdf file.

      Rebuilt project with no errors. When launching the debugger I don´t get expected debugger window status. Nevertheless I try to get target running but get this error message:

      Trouble Reading PC Register:
      (Error -1142 @ 0x0)
      Device blocked debug access because it is currently executing non-debuggable code. Choose 'Rude Retry' to disable polite mode and force the operation.
      (Release 5.0.333.0)

      If I choose Rude Retry, it seems that target starts running but variable Gui_LedPrd_ms value is 24382 and doesn¨t change in spite of selecting permanent refresh in Watch window.

      Seems that the target is caught in an  odd status and I can´t get it out of it? May be CLA status?

       

      Any hints will be very much appreciated.

      Regards

      Daniel

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Alba
      Posted by Daniel Alba
      on Jul 26 2012 17:09 PM
      Prodigy50 points

      Hi again Brett,

      New Findings: If I starrt debug session hitting debug button I get all the problems I mentioned.

      If first  I "Launch TI Debugger", then "Connect Target", then "Load Program" and select FlashingLeds... RAM.out, program is loaded and everything goes smooth as expected.

      I can change Gui_LedPrd_ms value and Led modifies blinking period, and I can stop the program and start it again.

      With restart it goes to main line, etc.

      Is any selected DEbug option misconfigured perhaps?

      Thanks again for your input.

      Daniel

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brett Larimore
      Posted by Brett Larimore
      on Jul 27 2012 09:32 AM
      Mastermind19205 points

      Daniel,

      FYI, v4.2.3 still isn't up-to-date, 4.2.5 is the most recent.  I would still recommend updating to the most recent and you should be able to further update CCS from within CCS.  (Help->Software Updates->Find and Install...).  However, I no longer think this is your issue directly.

      Within CCS, go to Target->Debug...   Here you should be able to see your settings for a "Non-Project Debug Session" and your "Project Debug Session".  Based on what you're saying the settings for Non-Project Debug are correct and the Project Debug is wrong.  See if you can change the project debug session to make both sessions' settings identical.  I think the inconsistency would be under "Project Debug Session->Target->Generic Debugger Options->Realtime Options"

      Let me know if this still doesn't fix things.  If it doesn't I think I'll need to pass you onto the CCS guys.  (their first recommendation will be to update CCS though :))


      Thank you,
      Brett

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Alba
      Posted by Daniel Alba
      on Jul 31 2012 17:26 PM
      Prodigy50 points

      Brett,

      Thanks for your answer.

      Following your input I updated CCS to version 4.2.5. But as you aniticipated, problem was still there.

      I checked realtime option for both Non-Debug and Project Debug Session, without any success.

      Then I checked other configuration differences between Non- Debug and Project Debug Session.

      I found that for Project Debug Session, under Common, Shared file option was selected with a Flashingled....out file selected in the corresponding window.

      As in NonDebug Session, Local File option was selected, I changed Porject Debug Session configuration to Local File also.

      This seems to get things working OK. But I don´t really understand the difference.

      Can you please explain briefly what  changes with Local File/ Shared File selection?

      Thanks for your support

      Daniel

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brett Larimore
      Posted by Brett Larimore
      on Aug 01 2012 08:54 AM
      Mastermind19205 points

      Daniel,

      I'm not really sure.  CCS is not my forte, but I'm usually able to get things going. 

      My guess is that somehow the project's CCS workspace got corrupted in your earliest port to the older CCS.  I have a suspicion that if you created a new workspace that things would work first pass from CCS 4.2.5.

      I'll move this post to the CCS forum to see if they have any input.


      Thank you,
      Brett

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Aug 03 2012 12:36 PM
      Suggested Answer
      Guru119215 points

      Hi Daniel,

      Daniel Alba

      I found that for Project Debug Session, under Common, Shared file option was selected with a Flashingled....out file selected in the corresponding window.

      As in NonDebug Session, Local File option was selected, I changed Porject Debug Session configuration to Local File also.

      This seems to get things working OK. But I don´t really understand the difference.

      Can you please explain briefly what  changes with Local File/ Shared File selection?

      the difference between the two is where the launch configuration for the project is stored. When selecting 'Local', it is managed by CCS, hidden, and stored in the workspace metadata folder. When selecting 'Shared', it is stored in the project folder and accessible. It is considered 'Shared' because this folder can then be checked into source control and shared with others.

      What I am not sure of is how it had an impact on your actual debug session. I suspect that there was something messed up with your launch configuration and changing the settings cleared it (one of our tips and tricks to resolve strange CCS debug issues is to delete you old cached launch configurations).

      Thanks

      ki

      -----------------------------------

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your bug id in the "Find Record ID" box

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Daniel Alba
      Posted by Daniel Alba
      on Aug 04 2012 10:20 AM
      Verified Answer
      Verified by Daniel Alba
      Prodigy50 points

      Thanks for your answer Ki.

      Regards,

      Daniel

       

      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