Hello,
We will develop a library with support functions to run on Core0 of each of two C6670 parts on a new board which is being developed. A customer buying this board will write their own application to run on the board, using our library. We have questions about how our library (called DSP_lib) will coexist with the customer’s application (called customer_app).
DSP_lib will use sysBios (bios_6_33_04_39).
If we create a new CCS (5.3.0) project which is a static lib and a “sysBios Typical” configuration, we get a library with a RTSC component and its own .cfg file which has a BIOS.heapSize setting and a Program.stack setting. Similarly our DSP_lib has its own .cfg file.
DSP_lib links in a platform library which is based on the example in C:\TI_MCSDK\pdk_C6670_1_1_0_3\packages\ti\platform and is customized for our board.
A section of 16MB at the start of the DDR3 memory on our board will be reserved for the use of DSP_lib.
We have several questions regarding the development of DSP_lib and the restrictions which must apply to customer_app if it uses DSP_lib:
1) Can DSP_lib and customer_app both link to the platform library? They will both need access to peripherals on the board.
2) If DSP_lib and customer_app both link to the platform library, which project is responsible for putting the platform library into memory such as L2SRAM?
3) Will DSP_lib and customer_app both have .cfg files which are used? Or will the customer_app .cfg file be the only one which has an effect? If both .cfg files are used, could they interfere with each other?
4) Can DSP_lib be configured so that all SysBios functionality which it uses will use memory from the 16MB of DDR3 memory which is reserved for DSP_lib?
5) Can customer_app be configured so that all SysBios functionality which it uses will use memory from outside of the 16MB of DDR3 memory which is reserved for DSP_lib?
6) Should DSP_lib configure and use its own separate heap?
7) Is it correct that DSP_lib should not have its own main() function?
8) Will customer_app have to use the same version of sysBios (bios_6_33_04_39) as DSP_lib?
Thanks for your help,
Geraldine
Edit: For completeness I'm adding a link to a related post for another issue we need to resolve for this project:
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/253381/898598.aspx#898598