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.

keystone 2 image processing demo???

hello all ;

i was reading the MCSDK UG image processing demo in order to understand how to communicate with IPC between arm and Dsp cores in EVMK2H12 , and how they extchange data (image)   . but i found in the project folder many codes , many makefiles , many slaves , many masters and i am lost . i don't know whitch files do i have to read in my case :( .

so please help me .

thank you.

not that all what i want to know is how to share a physical adress in DDR between ARM and DSPs.

  • Hi,
    Are you able to run the image processing demo on EVM?. We will get back to shortly on the above query. Thank you for your patience.
  • Hi Capitaine,

    Use the following filesystem.

    /opt/ti/mcsdk_linux_3_01_03_06/images/tisdk-rootfs-k2hk-evm.tar.gz

    Please refer to the following TI wiki.

    processors.wiki.ti.com/.../MCSDK_Image_Processing_Demonstration_Guide

    You can check out the following location in your filesystem.

    k2hk_fs/usr/share/matrix-gui-2.0/apps/demo_imageproc/run_dsp.sh

    k2hk_fs/usr/share/matrix-gui-2.0/apps/demo_imageproc/demo_imageproc.sh

    k2hk_fs/usr/share/matrix-gui-2.0/apps/demo_imageproc/bin/image_processing_evmtci6638k2k_slave.out

    Also, regarding source code, please refer to the following files and refer to the above wiki.

    Memory init by ARM (through "/dev/mem" )
    /opt/ti/mcsdk_bios_3_01_03_06/demos/image_processing/ipc/master/src/mcip_mem_mgmt.c


    Regards,
    Shankari
  • thank you Sir ;
    thats exactly what iam looking for .
  • there is a simple problem that i don't have the :
    k2hk_fs/usr/share/matrix-gui-2.0/apps/demo_imageproc/bin/image_processing_evmtci6638k2k_slave.out

    but i have the :
    k2hk_fs/usr/share/matrix-gui-2.0/apps/demo_imageproc/cgi-bin/image_processing_evmtci6638k2k_master.out
  • Hi Capitaine,

    You are right.

    That's the location for HOST master core.

    Read the location carefully.

    k2hk_fs/usr/share/matrix-gui-2.0/apps/demo_imageproc/cgi-bin/image_processing_evmtci6638k2k_master.out

    k2hk_fs/usr/share/matrix-gui-2.0/apps/demo_imageproc/bin/image_processing_evmtci6638k2k_slave.out

     

    Regards,

    Shankari

  • Hi,

    Similarly to the OP I want to use MessageQ for communication between cores and the image processing
    demo seems a reasonable place to start.

    However, it seems that for me even the pre-build binaries fail to run correctly on our EVMK2H evaluation board.

    Starting the board and accessing its IP from a browser brings up the  Matrix start page, from which I can select
    Demos and then Image Processing and Run.

    Selecting number of cores (tried a couple including 1 and 8) and an image (tried both own BMP and the provided
    example PCB pictures) and then "Process" yields the same result - Browser waiting ("Connecting..." in Firefox)
    and nothing else. 

    Restarting the web server and re-running gave an error screen reporting "Error in MessageQ_open [-6]" and
    "DDR Setup failed"

    Getting the bare-build versions working feels like something that is good to have before starting to try modifying 
    things, so any help on this one is appreciated.

    Running EVMK2H rev 3.0, MCSDK 3_01_01_04 and CCS  6.1.0.00104 on Ubuntu 14.10

    BR /Anders

  • Hi,

    i run all below commands but how to see the result for image processing..

    k2hk_fs/usr/share/matrix-gui-2.0/apps/demo_imageproc/run_dsp.sh

    k2hk_fs/usr/share/matrix-gui-2.0/apps/demo_imageproc/demo_imageproc.sh

    k2hk_fs/usr/share/matrix-gui-2.0/apps/demo_imageproc/bin/image_processing_evmtci6638k2k_slave.out


    Regards,
    Mohammed asif
  • Hi,
    The matrix-gui can be run from the host machine after target booted linux. To run Image processing demo, boot the target EVM in linux and check the ip using ifconfig command.
    Open the Internet browser in host machine and enter the http://<Target IP> to run the matrix gui to select the image processing demo.
    Thank you.
  • Hi Mohammed aisf,
    Are you able to run the image processing demo on K2H board ?
  • Dear shankari,

    Thanks for the reply,

    no i am unable to run the image processing Demo.

    Thanks and Regards,

    Mohammed Asif.

  • Hi Mohammed aisf,
    No issues, please do follow up in the below post.

    e2e.ti.com/.../480005