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.
Mark,
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:
BIOS PSP:
http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/index.html
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.
Regards,
Rahul
---------------------------------------------------------------------------------Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------
Thanks, Rahul.
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.
http://processors.wiki.ti.com/index.php/Power_Module_for_C6748_and_OMAP-L138
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:
C:\TI\bios_6_33_04_39\packages\ti\sysbios\family\c674\pmi\lib\release
C:\TI\bios_6_33_04_39\packages\ti\sysbios\family\c674\pscl\lib\release
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:
PWRM_RSRC_MCBSP_1
PWRM_RSRC_EDMA3_CC_0
PWRM_RSRC_EDMA3_TC_0
PWRM_RSRC_EDMA3_TC_1
PWRM_RSRC_EDMA3_TC_2
I found it...C:\TI\bios_6_33_04_39\packages\ti\sysbios\family\c674\Power.h near the top of the file...