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.

Memory partition on C6472 with SYS BIOS

Other Parts Discussed in Thread: TMS320C6472

Hi,

In working with the EVM 6472 and SYS/BIOS and I would like to create an application split in multiple images, How is the best way to achive this in such a way that there are no memory conflict? Maybe with Memory partition? I saw this wiki: http://processors.wiki.ti.com/index.php/DSP/BIOS_on_Multi-Core_multipleimage, but is for DSP/BIOS, so how to do this for SYS/BIOS?

Thanks,

Miguel

  • Miguel,
    in SYS/BIOS 6, the memory configuration is handled outside of your configuration script, in platform files. If you are using CCS, the most straightforward way is to create six different platforms using the Platform Wizard. You start by selecting TMS320C6472 as your device, and by naming the platform. You can use the core number as a name suffix to distinguish between platforms. Let's say you call them myBoard0, etc.

    In the next step, you can import ti.platforms.evm6472 as your starting point. Then click on Customize Memory and adjust SL2RAM and DDR2 base and length for a specific core. Then, click on finish and the platform will be saved in a repository, which is by default "C:\Documents and Settings\<username>\myRepository" (could be different depending on the version of CCS and Windows).

    Once you are done with the platforms, create six different CCS projects for C6472 and name them again to match a core you are building for. If C6472 does not show up in the list of the devices for which the project templates are available, choose the generic C64x+ device. For a Project Template choose Empty RTSC project or any of the SYS/BIOS 6 project templates.

    Then, you need to select a platform for your project. First, you need to add the repository with your platforms to the list of the RTSC repositories. When you reach the tab Products and Repositories, click on Add, select  "C:\Documents and Settings\<username>\myRepository\packages" and then OK. The repository should show up in the list of the RTSC repositories. Select your repository, which causes it to be available in your project. Then, click on the drop-down list "Platform". All of your six platforms should show up. Choose the one that matches the core you are building for. Click OK, and you have a project. Do the same for other 5 projects.

    If the only difference between images is the memory map, you could use only one cfg script, which you will add to one of the projects as a new file. For all other projects, when you click on Add Files ..., you can choose to link to the cfg script rather than copy it to each project. If the configurations are different, you'll create a new config script for each project.

    There is an alternative to creating six different platforms. You could do it with one platform only, but it is an advanced RTSC topic. If you built RTSC packages before and you want to try creating a platform, I could tell you how to do it. Let me know if you want to try it, and if you hit any troubles while following the steps above.

  • Hi Sasha,

     

    Thanks for your detailed explanation, I modified the plaform file for having six regions in the DDR2 and evething is working fine now, for me this is the best approach for my application.

     

    Regards,

    Miguel