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.

Most appropriate RTSC platform for the C6a816x DDR2 EVM?

I downloaded CCS4.2.3 and there are three platforms that are applicable to the c6a8168 device:

evmC6A8168.Platform

evmTI816x.Platform

evmDM8168.Platform

For the first release of the Integra C6a816x EVM with DDR2 memory, which of these is best?

I notice that in Windows 7 the evmTI816x.Platform appears to be broken:

Click on Tools-->RTSC Tools-->Platform-->Edit/View, browse to  <XDCTOOLs install folder>/packages, and select evmTI816x.Platform and click on Next, below External Memory there should be selection boxes for Memory Sections, it isn't there.  These have to be set before it will save any changes to the memory segments.  In XP it is ok.

Lee Holeva

 

  • Hi Lee,

    The DM8168 device got renamed to C6A8168. The corresponding platforms evmDM8168 and evmC6A8168  are functionally equivalent - meaning they both define the same memory map  Only the device names referred in these platforms are different. We ship both  the platforms in the product to preserve compatibility.

    You can use anyone of these platforms in your project. 

    The evmTI816X platform refers to the higher end TI816X family of devices. This platform is not relevant for developers on the C6A8168.

    Can you attach  the log file - <your_workspace_dir>/.metadata/.log - from your windows 7 workspace to this post?

    Regards

    Amit

     

     

     

  • AmitMookerjee said:

    The evmTI816X platform refers to the higher end TI816X family of devices. This platform is not relevant for developers on the C6A8168.

     

    Are you sure of this?  Have you seen the memory map shown on the EZSDK FAQ:

    http://processors.wiki.ti.com/index.php/EZ_SDK_FAQ

    From the Spectrum Digital Hardware doc I know the EVM has 1GB of DDR2 ram.  Here is the C6a8168 platform (from XP):

     

    Besides appearing incomplete (where are the memory holes?), it only shows 256MB of external Ram.  The TI816x platform is closer:

     

    and how I have modified it:

     

    Are some of the DDR segmens incorrect of the C6a8168 EVM?

    Lee Holeva

     

  • Lee,

    Lee Holeva said:
    Are you sure of this?  Have you seen the memory map shown on the EZSDK FAQ:

    There is indeed 1GB of DDR3 memory available on the EVM. The question here is how you will partition the shared memory between the ARM and the DSP for use for running DSP side code, Linux and CMEM. I do not know the details of  the Integra SDK but I believe you will use the RTSC platform to define the memory map of your DSP side application running SYS/BIOS. The SDK FAQ suggests a value of 32MB reserved for the DSP. However this is customizable and will really depend on your application requirements. The RTSC platform that we ship has selected a default of 256MB.  Again this is a typical value and maybe changed by using the RTSC platform wizard. Note that any change you make to the memory on the DSP side will need a corresponding change to the memory available on the Linux side.  You need to refer to the SDK docs on figuring out how to change the memory available to Linux  and the CMEM driver.

    In summary if you want to use the memory map as defined in the SDK FAQ you need to change the DDR3 length from 256MB to 32MB using the platform wizard. You may also want to read http://rtsc.eclipse.org/docs-tip/Memory_Management for an overview of memory management in RTSC and take a look at the platform wizard demos at http://rtsc.eclipse.org/docs-tip/Demo_of_the_RTSC_Platform_Wizard_in_CCSv4

    The TI816X is a different device and the platform memory map has been defined for  different application usecases. I would suggest starting with C6A8168 platform and then customize it according to your requirements.

    Regards

    Amit 

  • AmitMookerjee said:
    I believe you will use the RTSC platform to define the memory map of your DSP side application running SYS/BIOS. The SDK FAQ suggests a value of 32MB reserved for the DSP. However this is customizable and will really depend on your application requirements. The RTSC platform that we ship has selected a default of 256MB.  Again this is a typical value and maybe changed by using the RTSC platform wizard. Note that any change you make to the memory on the DSP side will need a corresponding change to the memory available on the Linux side.

    I did not know that I could change the predefined segments of the DDR memory.  Where is the 256MB documented, or better yet, where in the EZSDK will I find the RTSC platform files?

     

    Lee Holeva

     

  • Lee Holeva said:
    I did not know that I could change the predefined segments of the DDR memory. 

    Lee,

    You can use the platform wizard to define the memory map according to your application requirements. The wizard will generate a custom platform that  you can use in your CCS4/5 project. Take a look at the platform wizard demos at http://rtsc.eclipse.org/docs-tip/Demo_of_the_RTSC_Platform_Wizard_in_CCSv4 for more details.

    Lee Holeva said:
    Where is the 256MB documented, or better yet, where in the EZSDK will I find the RTSC platform files?

    The RTSC platform ti.platforms.evmC6A8168 is shipped with the XDCtools product. You can navigate to <xdctools_install_dir>/packages/ti/platforms/evmC6A8168 to review the actual platform files. You can review the platform memory map in the Platform.xdc file.  An easier way to graphically view the platform is to launch the platform wizard (by navigating to Tools -> RTSC Tools -> Platform -> New) select the TMS320C6A8168 device and then import the platform ti.platforms.evmC6A8168


     

    Regards

    Amit