This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Image analyzer cannot fetch valid data



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

  • 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

  • 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

  • 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

  • What CCS version are you using?

    Oliver

  • I am using  Version: 5.1.1.00031 .

     

    Noah

  • 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

  • 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

  • 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 said:

    !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

  • 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

  • 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

  • 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

  • Great! I'm glad this solved your problem.

    Oliver