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 change meory layout for SysBios v6

Other Parts Discussed in Thread: SYSBIOS

I start evaluating SysBios v6 in CCS v5.1.1.

I created a SYS_BIOS Hello project, compiled and looked at XGCONFIG, but I was NOT able to change memory layout.

I use RTSC tool to create a new CFG file with custome DDR layout based at 0xC000000 of 0x04000000 (default is 0xc3000000/0x01000000) and link to the project.

But after compiled, the memory map still reports with default base 0xC3000000 !?!?!

DSP_BIOS has TCF file which can be configured to get some code to run in some memory like DDR or IRAM, all memory can be changed base and length.

I tried and failed to use CFG file to do the same as for TCF file!?!?

My question is how to do the same with SYS_BIOS ?

Thanks,

~Duy-Ky

  • Duy-Ky,
    SYS/BIOS 6 uses RTSC platforms for memory configuration. Platforms are created and configured outside of CFG scripts. If you want to create your own platform, take a look at the Platform Wizard demo. The demo refers to CCSv4, but the steps and the concepts are the same in CCSv5. For further description of memory handling in RTSC, you can check this Web page.

  • Hello Sasha,

    I did look at the Demo, but mishandled the reading so missed the critical part to add the new platform.

    It is very confusing to do a setting at TWO places for a single operation

    1) Add a custom platform into the Build Property at section XDCtools

    2) Add custom platform also in Project properties, but at General/RTSC

    So I stopped at step 1) and didn't do step 2)

    Now I'm able to change my memory map I want

    Now I also ran into the same problem when I first started using DSP_BIO, that is I'm able to run ALL out of DDR (Code, Data, Stack), but NOT out of IRAM

    We realy want to run out of IRAM to speed up the SATA transfer

    Is it possible to run SYS_BIOS out of IRAM ?

    Thanks,

    ~Duy-Ky

  • Duy-Ky,
    I'll find someone from the SYS/BIOS team to explain if there are any issues with running SYS/BIOS from IRAM. As for platforms, I would like to try to explain why you have to deal with your custom platform in two different places. The location 2) lists all the places where CCS should look for RTSC packages. You could have many different custom platforms in your repository, and you could use those platforms in many different projects. Then, in location 1) you select for this project only one of the available platforms.

    We could probably add the repository in which you created your custom platform to all of your projects, but we cannot know for which particular project you are creating it because the Platform Wizard does not run in the context of any project. In fact, you could have no project and still be able to create a platform. And adding all repositories on the disk to all projects has its own downsides, peformances being one of them.

  • It should be possible to run SYS/BIOS from IRAM.    One idea of what could be going wrong is that you might have the Cache enabled in the same area as your IRAM?   On C6x, the same IRAM can be used for Cache _or_ RAM.   You need to make sure you do not enable the cache for the area of IRAM that you are using.  

    -Karl-