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 refuses to show any image data

Expert 2220 points

Hello, 

I am running CCS 5.1.0.09000  in a linux installation. I am currently trying to debug the VPSS M3 core of the DM8168. I am trying to use the Image analyzer to view the image data in a buffer. 

I open the image analyzer. The empty window opens as it should. Then i go to the properties window and select an Image format (YUV, RGB, Bayer etc.) As soon as a I pick one of these formats, the image window says in the upper left corner that "an error occurred". I can never get it to load any data to the image window. I have attached a screenshot of my setup. As you can see i have the memory window open and it is successfully reading the location that i indicated for the image data. no matter what data location i use or what size of an image i put in, it will not display anything. Any ideas? perhaps a bad installation?

Thanks,

Ben

  • Ben,

    Usually when I change parameters on the image analyzer settings I have to refresh the image view (right-click and select Refresh) to properly display data. This was done to prevent the overhead the data transfer causes anytime the user changes a parameter.

    If you prefer, you can enable the auto-update button so you can have continuous updates.

    Regarding the error. I had some occasions where I inserted invalid parameters (a mask equals to zero, for example) that caused errors when trying to refresh the Image view. However I also recall having some errors when changing the Image format settings, but I could never find a way to reproduce this consistently in order to file a bug - i.e., it did not happen most of the times. If you see this happening by taking specific actions, please let me know and I can try to reproduce here.

    Hope this helps,

    Rafael

  • Hi Rafael,

    I didn't realize that when i uploaded my screenshot that it was illegible. I will reattach it  here. I have used the image analyzer in code composer 4 and never had any troubles. I have tried refreshing the image, and cannot get it to display anything. I am pretty sure all of my paramters are acceptable (please verify in attachment). When i refresh the image, every once in a while i can see the loading screen flash for a fraction of second. Whatever is happening it is crashing right at the beginning before it tries to load the image data. I also reinstalled code composer to make sure that it was not an bad installation. This is not an occasional bug for me, i cannot get it to display anything in any data format with a variety of parameters.

    -Ben

  • Ben,

    Sorry, I didn't notice you were using the Linux version. I will check it here and let you know. 

    BTW, the parameters seem off. The planar data format stores each R/G/B channel separately and not interleaved (like the packed format), therefore it requires a different start address for each channel. Maybe that is the source of the error. (check here and here). If you can zip your image and send it I can try to play with the parameters as well.

    Another detail: it seems from your parameters and masks that you are trying to display 12 bits per channel, but a bug in the Image analyzer prevents it from reading more than 8 bits per channel. A fix was already implemented and will be released in CCSv5.1.1.

    Hope this helps,

    Rafael

    (off-topic) I wasn't aware that Google Chrome was ported to Linux.

  • Hi Rafael,

    Thanks for the response, I did not realize that there was that 8-bit bug. That aside, I am still unable to get the image analyzer to display anything. Again, the problem isn't that the image being displayed looks wrong, it is that there is no image being displayed at all. Sourcing RG and B at the same address is a workaround to display monochrome data (it makes all the color channels the same value producing grayscale), however to verify this was not the issue i pretended that the buffer was a bitonal (see screenshot) and still get no output at all, just "An error occurred" in the upper left corner of the image analyzer window.

    Thanks again for the help,

    Ben

     

  • Ben,

    I reproduced this error here while trying to load the image from this thread; I tried to run the Image Analyzer in my Linux PC and it simply shows the same An error occurred message as yours. I even tried to run it in a fresh workspace without success.

    By looking at the error log (menu View --> Other --> General --> Error Log) I found several errors that may be impacting the Image analyzer. Can you check the error log in your PC and see if you have several entries like the ones shown in the screen attached?

    I will also erase the CCSv5 cache files in the temporary directory (section Debugger of the troubleshooting page), but my guess is that it is a bug. 

    Sorry about the inconvenience.

    Rafael

  • Rafael,

    Yes, When open the image analyzer I get the same errors that you show in your screen shot. Looks like a bug.

    -Ben

  • Ben,

    I filed the bug today: SDSCM00043042. Check its status at the link SDOWP in my signature below.

    Sorry about the trouble. As a workaround, you could save the data to a file in the disk and display it with an external program, but I will try to get a fix as quickly as possible. 

    Regards,

    Rafael

  • Ben,

    The developer found out it is a problem with permissions; I posted a workaround in the bug report and a fix is forecast for CCSv5.1.2 (March/April 2012).

    Regards,

    Rafael

  • I don't think the image analyzer ever worked for the 5.x.x Linux versions of CCS.  Here is my earlier post:

              http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/124706.aspx

    Can you tell me what the work around is as I don't have access to TI ClearCase.

  • Rafael,

    I ran into the same problem and tried the proposed workaround (changing userID and group name of the CCS tree to get write permissions) . I can create and  delete files from a shell in the CCS tree, but the image analyzer still does not show anything.

    More precisely, I have to say, it does not show anything the most time. Sometimes it shows an image (already BEFORE I have changed the userID/group), but when I restart CCS or even reload the IA properties, it fails again. Up to now, I could not discover any pattern in the behavior, but I am in doubt that it is a file permissions problem. The most time, IA does not work.

    I am using Ubuntu 10.04LTS/64Bit and CCS 5.1.0.09000.

    Regards,

    Marcus