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.

How to use DSP/BIOS config OMAPL137 ?

Other Parts Discussed in Thread: OMAP-L137, CCSTUDIO


Hi,

I would like to server interrupt in OMAPL137 using DSP/BIOS. I use XDS560 emulator. I have CCS Versior 3.3.81.6 and DSP/BIOS version 5.33.04. I config CCS setup to C6400PLUS. But I can't find the platform associated with either OMAPL137 or C6400PLUS in DSP/BIOS 5.33.04.

Can someone tell me what configuration setting should I import in CCS setup. And what platform should I choose in DSP/BIOS?

Any help you can provide will be appreciated.

  • Hi Wiky,

    One thing that is worth mentioning is that OMAP-L137/ C6747 has a C674x core, so the prefix for the configurations is C67xx in CCS Setup:

     

    OR to connect to the ARM+DSP:

    If you can not find the configuration, please go to the update advisor and get SR 12 for CCS:

    http://tiexpressdsp.com/index.php/CCStudio_FAQ#Q:_How_can_I_find_out_which_CCStudio_3.3_Service_Release_number_is_installed.3F - you have SR11 according to this page.

    This include the CSP (chip support package for C674x/OMAP-L13x) as the GSG states. Assuming that you are using the spectrum digital XDS560, you can make sure you have the drivers at:

    http://support.spectrumdigital.com/ under JTAG Emulation

     

    For Blackhawk emulators, download the drivers at:

    http://www.blackhawk-dsp.com/support/Drivers.aspx#Top

    You will need to be registered at their website.

     

    You can also download the target content at: http://support.spectrumdigital.com/boards/evmomapl137/revd/

     

     When you say "what platform support for the DSP/BIOS?", what do you mean? If you mean the DSP/BIOS Configuration file? 

     

  • Hi Mariana,

    Thanks for your advice!

    I followed your prompt, import the "evmomapl137_v1" config file, but when I restart CCS, it turns out an error message "Unable to load c:\CCStudio_v3.3\drivers\sdgoicepickusb_c.dvr " , can you tell me how can I figure out this problem? 

  • Is your emulator from blackhawk or Spectrum digital? Did you get the drivers?

  • I don't know what is blackhawk or Spectrum digital. I didn't get the drivers.

    Can you tell me some ways to directly edit .cmd file for interrupt settings ?

  • Hi Wiky,

    Wiky said:
    I don't know what is blackhawk or Spectrum digital. I didn't get the drivers.

    In your first forum post, you told me that you were using the XDS560 emulator. Spectrum digital and Blackhawk are the the 2 manufacturers that produce this kind of emulator. So if you are still getting the error when connecting to the board, you should get the drivers. On the other hand, if you are using the EVM, you do not need an external emulator because the emulator has embedded emulation.

     

    Wiky said:
    Can you tell me some ways to directly edit .cmd file for interrupt settings ?

    If you are using DSP/BIOS, you can do the interrupt configurations at your  DSP/BIOS configuration file (.tcf).  The .tcf file when saved and compiled will generate a .cmd file that needs to added to your file. To open a .tcf file in CCS, go to File-> New->  DSP/BIOS configuration... Choose the seed for the file:

     if you are developing for the C6747 DSP only, or choose the below seed for OMAP-L137:

     

    Save and add the file to your project.

    You then can configure the interrupts at:

    Instead of starting from scratch, I would recommend you taking a look at the examples we already have using DSP/BIOS. Please see the GSG to install, load and build the examples:

    http://tiexpressdsp.com/index.php/Getting_Started_Guide_for_C6747

     

     

     

  • Hi Mariana,

    Thanks for your advice !

    I have configured the HWI_INT8 in DSP/BIOS for EDMA3_CC0_INT1. I also edited the interrupt service routine . When I emulate the project in the board , the EVTFLAG1 register can captures the state of event EVT8 and be setted, but the programe can't branch to the interrupt service routine .

    How can I globally enable interrupt ? Can I directly access the control registers such as CSR and IER register contained in the control register file ? Or shall I  reference the API functions to enable the interrupt ? If I want to use the API fuctions , can you tell me where can I find the header files such as "csl_irq.h" ?

  • Hi Wiky,

    1- Make sure your program leaves main, DSP/BIOS just starts after you leave main.

    2 - To enable the interrupt:

    #include "yourprojectcfg.h"
    #include <C64.h>

    and put C64_enableIER(C64_EINT8); in main.

    3 - Please see the post: https://community.ti.com/forums/p/7454/28831.aspx#28831 csl_irq.h is part of the old CSL. Can be found after you install the software at the GSG at:

    C:\C674x_dsp_1_00_00_10\edma3_lld_1_05_00\examples\CSL2_DAT_DEMO\csl2_legacy_include

    But what are you trying to do? We have several examples when you install our software. Instead of starting from scratch, I would recommend you taking a look at the examples we already have using DSP/BIOS. This could save you a lot of time.. Please see the GSG to install, load and build the examples:

    http://tiexpressdsp.com/index.php/Getting_Started_Guide_for_C6747