TI E2E Community
Digital Signal Processors (DSP)
C6000 Single Core DSP
C67x Single Core DSP Forum
Migrating from DSP/BIOS 5 to SYS/BIOS 6
I'm brand new to DSP and need some guidance.
I'm currently using BIOS 5.41.02.14 on a C6748. I am upgrading from CCS v4.1.2 (DSP/BIOS 5) to CCS v5.1.1 (SYS/BIOS 6). My current BIOS 5 installation uses the Power Management Interface (PMI) and the Power Scaling Library (PSCL) of the Power Management (PWRM) module.
I need some documentation/direction on how to migrate the power module in BIOS 5 to BIOS 6. Thanks.
For generic BIOS stuff, there is a migration guide provided with the SYS/BIOS 6.0. If you have the SYSBIOS package installed look for the document called BIOS_Legacy_App_Notes.pdf under the docs directory. You will be able to find details of how to convert your tcf and tci script in BIOS 5.x to .cfg file in SYSBIOS 6.x in that document.
The power management modules are the part of psp drivers. There is a separate BIOS PSP release which provide the same modules for SYSBIOS. You can download the SYSBIOS compatible psp package here:
There is a video included in the package that shows creation of CCSv5 projects with the psp drivers. Also for your project the power management section in the user guide and the BIOSPSP_PSC_Driver_Design.pdf under driver/psc/docs should be good starting points.
Hope this helps. Good luck.
---------------------------------------------------------------------------------Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------
Yeah, I read the migration guide (SPRASS7G) and was able to convert my tcf and tci scripts to the cfg file without a problem.
As far as the download goes that you mention, I've downloaded and installed biospsp 03.00.01.00 windows installer and have looked through drivers/psc/docs/BIOSPSP_PSC_Driver_Design.pdf but it doesn't provide me guidance/instruction with the specific situation I have. (By the way, where is the video you mention?)
In my CCS v4, under C/C++ Build/Tool Settings tab/C6000 Linker/File Search Path, I have these two paths:
C:/Program Files/Texas Instruments/bios_5_41_02_14/packages/ti/pmi/lib
C:/Program Files/Texas Instruments/bios_5_41_02_14/packages/ti/pscl/lib
What is the equivalent in CCS v5? How do I handle/migrate/implement pmi and pscl to BIOS 6 and SYS/BIOS? Thanks.
The video that I was refering to is in the docs folder in the top level directory of the package. Sorry, I forgot to give you the power managment link for C6748 in SYSBIOS in my earlier post. The power module in SYSBIOS is a direct port if the PWRM module in BIOS. The linking and configuration of power module in sysbios has been handled differently and is now a more device specific configurable module that can be included directly from the .cfg file in the projeact. The wiki link below explains the power managment module in SYSBIOS on C6748 and OMAPL138 devices.
Once you use this module in your configuration script, all the appropriate libraries will be linked through the compiler.opt file that gets linked to your project.
Yes, read the Power Module for C6748 and OMAP-L138 doc and although it talks about the PSCL and PMI libraries under the Module Layering sub-heading, it doesn't tell the reader where to find such libraries in the BIOS 6 directory structure. This is what I was looking for:
I found this in CCS v5 Help: SYS/BIOS 6.33.04.39 > API reference > ti > sysbios > family > c674
At the top of the page is this heading: module ti.sysbios.family.c674.Power. From here, I went in to my bios_6_33_04_39 folder and drilled to the above directories. The API Reference Guide explains each function call.
Next Question. How do I migrate the pwrm6748.h file (C:\Program Files\Texas Instruments\bios_5_41_02_d14\packages\ti\bios\include) to BIOS 6?
Specifically, I need these enumerators in BIOS 6 from the PWRM_Resource enum in pwrm6748.h in BIOS 5:
I found it...C:\TI\bios_6_33_04_39\packages\ti\sysbios\family\c674\Power.h near the top of the file...
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.