• 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 » Image analyzer cannot fetch valid data
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
  • Image analyzer cannot fetch valid data

    Image analyzer cannot fetch valid data

    This question is answered
    Noah Harris
    Posted by Noah Harris
    on Apr 25 2012 11:09 AM
    Intellectual360 points

    Hi,

    We have met a problem with Image Analyzer. When Image Source is selected as "Connected Device" and when other fields are correctly set, no matter which "start address" we choose, in the Image Analyzer window the top status bar always displays "Error: No device connected". And correspondly, there is no image displayed in the window below.

    If the "Image source" is changed to "File", there is no such problem and Images stored in file could always displayed correctly.

    As for the data on the "connected device", we have verified that they are valid. For example, the LCD can successfully display data which we fed into the buffer in DDR2, and the buffer content is certainly correct. It is only seems due to some problem that Image Analyzer cannot fetch the data correctly.

    Any suggestion would be helpful.

     

    Noah

    Image Analyzer "connected device" "no device connected"
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Noah Harris
      Posted by Noah Harris
      on Apr 25 2012 11:54 AM
      Intellectual360 points

      Update:

      Rebooting the PC seems could solve the problem. However I have so far found no configuration fixes in CCS that could resolve it without rebooting. Merely exit and launch CCS again doesn't change it.

       

      Noah

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • OliverP
      Posted by OliverP
      on Apr 25 2012 12:42 PM
      Prodigy530 points

      Hi Noah,

      When  you set the image properties and refresh Image Analyzer, have you selected a CPU in the Debug view that is connected? 

      Regards,

      Oliver

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Noah Harris
      Posted by Noah Harris
      on Apr 25 2012 13:05 PM
      Intellectual360 points

      Oliver,

      Yes, I do have selected a connected CPU.

      In addition, instead of showing "no device connected" in the top status bar, the Image Analyzer might also display "GEL_MemorySAve failed" message at the same position instead. Does it suggest that the problem relate to the GEL script?

       

      Noah

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • OliverP
      Posted by OliverP
      on Apr 25 2012 14:22 PM
      Prodigy530 points

      What CCS version are you using?

      Oliver

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Noah Harris
      Posted by Noah Harris
      on Apr 25 2012 15:24 PM
      Intellectual360 points

      I am using  Version: 5.1.1.00031 .

       

      Noah

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Noah Harris
      Posted by Noah Harris
      on Apr 26 2012 06:59 AM
      Intellectual360 points

      Oliver,

      It looks suspicious that the error is associated with CCS’s CPU connection. After relaunching CCS, although the CPU is connected and both program and data can be loaded onto that, the Image Analyzer would show “please select an active CPU” message, seems suggesting the same thing as the “Error: no device connected” message.

        

      Noah

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • OliverP
      Posted by OliverP
      on Apr 26 2012 15:17 PM
      Prodigy530 points

      Noah,

      Have you ever been able to read an image off a connected device successfully? What device are you using?

      Could you provide us with the following files:

      • the Image Analyzer property file you are using
      • the .metadata\.log file in the workspace folder
      • the zipped up workspace folder

       Could you also try the following steps and let me know if this works for you?

      1. Exit CCS
      2. Launch CCS
      3. Specify a brand new workspace
      4. Launch a TI simulator target (e.g. any C64x+ simulator)
      5. Do Tools > Image Analyzer
      6. Import: <ccs_install_dir>\ccsv5\ccs_base\dvt_3.1.0.xxxxxxxxxxxx\ImageAnalyzer\examples\yuv422packed\yuv422packed_prop.txt

      Do you see image data (i.e. all green pixels)?

      Thanks for your help.

      Regards,

      Oliver

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Noah Harris
      Posted by Noah Harris
      on Apr 26 2012 16:23 PM
      Intellectual360 points

      Oliver,

      2438.No_device_connected.rar

      I have uploaded the first two of the files you specified. In the log file I noticed the following block containing the keyword "Image":

      .log

      !ENTRY org.eclipse.ui.workbench 2 0 2012-04-27 05:05:09.441 !MESSAGE A handler conflict occurred.  This may disable some commands. !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2012-04-27 05:05:09.441 !MESSAGE Conflict for 'com.ti.dvt.ui.view.groupNew': HandlerActivation(commandId=com.ti.dvt.ui.view.groupNew,  handler=ActionHandler(com.ti.dvt.ui.views.core.ViewGroupAction$1@1ffcafa),  expression=AndExpression(ActivePartExpression(com.ti.dvt.ui.views.core.ImageView@1e62643),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@12bbe6b)),sourcePriority=1064960) HandlerActivation(commandId=com.ti.dvt.ui.view.groupNew,  handler=ActionHandler(com.ti.dvt.ui.views.core.ViewGroupAction$1@66fec8),  expression=AndExpression(ActivePartExpression(com.ti.dvt.ui.views.core.ImageView@1e62643),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@12bbe6b)),sourcePriority=1064960)

      It says that a handler conflict occurred. Could this be the problem?

       

      The entire workspace is huge and impossible to upload. Even the .metadata folder alone is over 70MB. Is there any specific configuration or log file that could help the diagnosing?

       

      I also tried the creating a brand new workspace. Unfortunately, I found that I haven't installed simulators because I didn't anticipate the use of them. Without removing CCS installation and re-install, is there a way I can add them to the exisitng installation?

       

       

      Noah

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Noah Harris
      Posted by Noah Harris
      on Apr 26 2012 19:56 PM
      Intellectual360 points

      Update:

      I did a CCS installation to add the simulator. After that I followed the steps and tested yuv422packed_prop.txt property under C64x+ simulator. There is a screen with all green pixels.

       

      Noah

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • OliverP
      Posted by OliverP
      on Apr 27 2012 10:15 AM
      Verified Answer
      Verified by Noah Harris
      Prodigy530 points

      Noah,

      Thanks. I think I have seen enough information and don’t need your workspace. We have identified an issue that could be causing the problems you’re seeing. Please check if the folder .metadata\.plugins\com.ti.dvt.graph.visualization\savedSolutions exists in your workspace and has files in it. If it has, please exit CCS, delete the folder and re-start CCS. This should get rid of the problem.

      We found that the workspace can get into this bad state if Graph views (not Image Analyzer views) are closed during CCS startup while they still haven’t been fully restored. Until there’s a fix for this issue you can prevent this problem from reoccurring if you wait until all Graph views have finished drawing themselves completely, i.e. show the axes and labeling, before closing them.

      Please let me know if this solved your problem.

      Regards,

      Oliver

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Noah Harris
      Posted by Noah Harris
      on Apr 27 2012 11:29 AM
      Intellectual360 points

      Oliver,

      I followed the steps and the problem is solved. I have to say this is really great and I deeply appreciate you work in digging out the cause and solution. I have been suspecting that this might be due to emulator and even considered replacing one, and thankfully it could get solved via the forum.

       

      Noah

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • OliverP
      Posted by OliverP
      on Apr 27 2012 11:58 AM
      Prodigy530 points

      Great! I'm glad this solved your problem.

      Oliver

      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