Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 Aug 2014 07:48 AM by  Adam Ford
DVSDK not supported by TI
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
L. Sch
New Member
New Member
Posts:1


--
13 Aug 2014 09:46 AM

    My understanding is that TI no longer provides updates (corrections) nor support to the DVSDK which is part of the L138 EVM package. TI also posts not to use the DVSDK for new designs. Can we move into the MCSDK with the L138 EVM and do you have any supporting documentation for GETTING STARTED?

     

    Thanks-

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    13 Aug 2014 01:25 PM
    As of right now, we don't officially support the MCSDK libraries from TI. Using Ubuntu, I was able to download and install the tools as directed by TI. After that, I was able to build the linux kernel 3.3 using the files and instructions provided by TI's MCSDK and successfully boot it off an SD card, but it is highly untested - including the DSP.

    The instructions I used were provided by TI here: http://processors.wiki.ti..._Started#Program_EVM


    I would suggest that if you are interested in pursuing development with TI's MCSDK, we could have someone in our sales department contact you to setup a contract with our services group. They could work with you to adapt the newer TI libraries and Linux Kernel to the SOM as needed for your application.

    -adam
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    13 Aug 2014 05:27 PM
    Even after I submitted the e-mail, I wanted to see about using the replacement to DSPLINK now called SYSLINK.

    The MCSDK requires a slightly newer set of Arago tools, and this document both documents some issues and how to fix them.

    http://processors.wiki.ti...opment_Kit_.28PDK.29

    With its changes to the TI instructions, you should be able to build both the Kernel as well as the SYSLINK to access the DSP. It also comes with some example test programs. I will post some preliminary results tomorrow when I have had a chance to install the modules and run the examples.

    -adam
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    14 Aug 2014 06:50 AM
    As a point of reference, I used the following tools:

    Arago-toolchain-2011.09-armv5te-linux-gnueabi- http://software-dl.ti.com...11_09/index_FDS.html

    CCSv5.4.0.00091 - http://software-dl.ti.com...dio/CCSv5/CCS_5_4_0/

    MCSDK_01_01_00_02_setuplinux - http://software-dl.ti.com...test1/index_FDS.html

     

    Once installed, syslink and other libraries are placed in /opt/ti

    You'll need to build syslink for the new kernel.

     

     

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    14 Aug 2014 07:54 AM
    I am successfully getting the syslink.ko driver to build, but I am not able to get the module to work correctly. At this point, I would recommend going through our services group.

    -adam
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    15 Aug 2014 07:48 AM
    Good News. It turns out that I was using the wrong rootfs. When using the correct rootfs, I was able to install the syslink kernel module with insmod and I was able to run the example tests. This environment is still highly untested, but the basic proof-of-concept seems to be functional.



    ##########################################################
    # Running example in ex01_helloworld/release
    ##########################################################
    + ./slaveloader startup DSP server_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    + ./app_host DSP
    --> App_exec:
    App_exec: event received from procId=0
    <-- App_exec: 0
    + ./slaveloader shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    ##########################################################
    # Completed example run in ex01_helloworld/release
    ##########################################################

    ##########################################################
    # Running example in ex02_messageq/release
    ##########################################################
    + ./slaveloader startup DSP server_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    + ./app_host DSP
    --> main:
    --> Main_main:
    --> App_create:
    App_create: Host is ready
    <-- App_create:
    --> App_exec:
    App_exec: sending message 1
    App_exec: sending message 2
    App_exec: sending message 3
    App_exec: message received, sending message 4
    App_exec: message received, sending message 5
    App_exec: message received, sending message 6
    App_exec: message received, sending message 7
    App_exec: message received, sending message 8
    App_exec: message received, sending message 9
    App_exec: message received, sending message 10
    App_exec: message received, sending message 11
    App_exec: message received, sending message 12
    App_exec: message received, sending message 13
    App_exec: message received, sending message 14
    App_exec: message received, sending message 15
    App_exec: message received
    App_exec: message received
    App_exec: message received
    <-- App_exec: 0
    <-- Main_main:
    <-- main:
    + ./slaveloader shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    ##########################################################
    # Completed example run in ex02_messageq/release
    ##########################################################

    ##########################################################
    # Running example in ex03_notify/release
    ##########################################################
    + ./slaveloader startup DSP server_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    + ./app_host DSP
    --> main:
    --> Main_main:
    --> App_create:
    App_create: Host is ready
    <-- App_create:
    --> App_exec:
    App_exec: Sending INC command with payload: 0
    App_exec: Received---> Operation complete with payload: 1
    App_exec: Sending INC command with payload: 1
    App_exec: Received---> Operation complete with payload: 2
    App_exec: Sending DEC command with payload: 2
    App_exec: Received---> Operation complete with payload: 1
    App_exec: Sending DEC command with payload: 1
    App_exec: Received---> Operation complete with payload: 0
    App_exec: Sending INC command with payload: 0
    App_exec: Received---> Operation complete with payload: 1
    <-- App_exec:
    --> App_delete:
    App_delete: Sending stop command
    App_delete: Received---> Stop has been acknowledged
    App_delete: Cleanup complete
    <-- App_delete:
    <-- Main_main:
    <-- main:
    + ./slaveloader shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    ##########################################################
    # Completed example run in ex03_notify/release
    ##########################################################

    ##########################################################
    # Running example in ex04_sharedregion/release
    ##########################################################
    + ./slaveloader startup DSP server_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    + ./app_host DSP
    --> main:
    --> Main_main:
    --> App_create:
    App_create: Host is ready
    <-- App_create:
    --> App_exec:
    App_exec: Writing string "texas instruments" to shared region 1 buffer
    App_exec: Command the remote core to convert the lowercase string to uppercase
    App_exec: Received-> Operation complete
    App_exec: Transformed string: TEXAS INSTRUMENTS
    <-- App_exec:
    --> App_delete:
    App_delete: Cleanup complete
    <-- App_delete:
    <-- Main_main:
    <-- main:
    + ./slaveloader shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    ##########################################################
    # Completed example run in ex04_sharedregion/release
    ##########################################################

    ##########################################################
    # Running example in ex05_heapbufmp/release
    ##########################################################
    + ./slaveloader startup DSP server_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    + ./app_host DSP
    --> main:
    --> Main_main:
    --> App_create:
    App_create: Host is ready
    <-- App_create:
    --> App_exec:
    App_exec: Writing string "texas instruments" to buffer
    App_exec: Command the remote core to convert the lowercase string to uppercase
    App_exec: Transformed string: TEXAS INSTRUMENTS
    <-- App_exec:
    --> App_delete:
    App_delete: Cleanup complete
    <-- App_delete:
    <-- Main_main:
    <-- main:
    + ./slaveloader shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    ##########################################################
    # Completed example run in ex05_heapbufmp/release
    ##########################################################

    ##########################################################
    # Running example in ex06_listmp/release
    ##########################################################
    + ./slaveloader startup DSP server_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    + ./app_host DSP
    --> main:
    --> Main_main:
    --> App_create:
    App_create: Host is ready
    <-- App_create:
    --> App_exec:
    App_exec: Adding string "texas instruments" to the head of the ListMP
    App_exec: Adding string "host" to the head of the ListMP
    App_exec: Adding string "syslink" to the head of the ListMP
    App_exec: Command the remote core to convert the lowercase strings to uppercase
    App_exec: Received-> Operation complete
    App_exec: Transformed string: "TEXAS INSTRUMENTS"
    App_exec: Transformed string: "HOST"
    App_exec: Transformed string: "SYSLINK"
    <-- App_exec:
    --> App_delete:
    App_delete: Cleanup complete
    <-- App_delete:
    <-- Main_main:
    <-- main:
    + ./slaveloader shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    ##########################################################
    # Completed example run in ex06_listmp/release
    ##########################################################

    ##########################################################
    # Running example in ex07_gatemp/release
    ##########################################################
    + ./slaveloader startup DSP server_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    + ./app_host DSP
    --> main:
    --> Main_main:
    --> App_create:
    App_create: Host is ready
    <-- App_create:
    --> App_exec:
    App_exec: Reading shared region variable value
    App_exec: Current shared region variable value: 501
    App_exec: Current shared region variable value: 500
    App_exec: Current shared region variable value: 500
    App_exec: Current shared region variable value: 500
    App_exec: Current shared region variable value: 500
    App_exec: Current shared region variable value: 500
    App_exec: Current shared region variable value: 501
    App_exec: Current shared region variable value: 501
    App_exec: Current shared region variable value: 501
    App_exec: Current shared region variable value: 501
    App_exec: Finished reading shared region variable
    <-- App_exec:
    --> App_delete:
    App_delete: Cleanup complete
    <-- App_delete:
    <-- Main_main:
    <-- main:
    + ./slaveloader shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    ##########################################################
    # Completed example run in ex07_gatemp/release
    ##########################################################

    ##########################################################
    # Running example in ex08_ringio/release
    ##########################################################
    + ./slaveloader startup DSP server_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    + ./app_host DSP
    --> main:
    --> Main_main:
    --> App_create:
    App_create: Hostffer
    App_exec: Acquired and wrote 4 of data to the RingIO buffer
    App_exec: Acquired and wrote 12 of data to the RingIO buffer
    App_exec: Acquired and wrote 12 of data to the RingIO buffer
    App_exec: Acquired and wrote 12 of data to the RingIO buffer
    App_exec: Acquired and wrote 4 of data to the RingIO buffer
    App_exec: Acquired and wrote 12 of data to the RingIO buffer
    App_exec: Acquired and wrote 12 of data to the RingIO buffer
    App_exec: Acquired and wrote 12 of data to the RingIO buffer
    App_exec: Acquired and wrote 4 of data to the RingIO buffer
    App_exec: Added end of file attribute to acquired data buffer
    App_exec: Acquired and wrote 12 of data to the RingIO buffer
    App_exec: File transfer complete
    <-- App_exec:
    --> App_delete:
    App_delete: Sending stop command
    App_delete: Received---> Shutdown has been acknowledged
    App_delete: Cleanup complete
    <-- App_delete:
    <-- Main_main:
    <-- main:
    + ./slaveloader shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    ##########################################################
    # Completed example run in ex08_ringio/release
    ##########################################################

    ##########################################################
    # Running example in ex09_readwrite/release
    ##########################################################
    + ./slaveloader startup DSP server_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    + ./app_host DSP
    --> Main_main:
    --> App_setup:
    App_setup: slaveBufBase=0xc3022a00 (slave VA), count=1024
    <-- App_setup: status=0
    --> App_run:
    App_run: process buffer 1, shift=1
    App_run: localDataBuf[0-3]: 128 128 128 128

    App_run: received buffer 1
    App_run: localDataBuf[0-3]: 64 64 64 64

    App_run: process buffer 2, shift=2
    App_run: localDataBuf[0-3]: 128 128 128 128

    App_run: received buffer 2
    App_run: localDataBuf[0-3]: 32 32 32 32

    App_run: process buffer 3, shift=0
    App_run: localDataBuf[0-3]: 128 128 128 128

    App_run: received buffer 3
    App_run: localDataBuf[0-3]: 128 128 128 128

    App_run: process buffer 4, shift=1
    App_run: localDataBuf[0-3]: 128 128 128 128

    App_run: received buffer 4
    App_run: localDataBuf[0-3]: 64 64 64 64

    App_run: process buffer 5, shift=2
    App_run: localDataBuf[0-3]: 128 128 128 128

    App_run: received buffer 5
    App_run: localDataBuf[0-3]: 32 32 32 32

    App_run: process buffer 6, shift=0
    App_run: localDataBuf[0-3]: 128 128 128 128

    App_run: received buffer 6
    App_run: localDataBuf[0-3]: 128 128 128 128

    <-- App_run: 0
    --> App_destroy:
    <-- App_destroy: status=0
    <-- Main_main:
    + ./slaveloader shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    ##########################################################
    # Completed example run in ex09_readwrite/release
    ##########################################################
    You are not authorized to post a reply.