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.

C6748 porting the SATA driver from the old PSP in code composer 6.

Other Parts Discussed in Thread: SYSBIOS

Hi,

I'd like to get SATA working on my C6748.  The only SATA driver for this chip seems to be in an old version of the PSP of the chip (1.30.1).

I'd like to use an up to date BIOS (6.40) and PSP (3.0.1.0) and code composer 6 and port the old SATA driver into my application.  

However I'm running into an issue building the SATA driver.  Sata_intf.c tries to include "pwrm.h"  which isn't part of the SATA driver code and which I can't find as part of either the old PSP or the newer one.  Any clues as to where to find  this pwrm.h would be helpful.  I'm pretty sure pwrm stands for "power module".

Thanks, Phil

  • Hi
    You are right, the DSP side offering on SATA drivers is very old, and unfortunately there is no additional support in the latest software/McSDK etc.
    PWRM is the SYSBIOS power management module.
    I believe you may not need it and should be able to remove dependencies.
    See if the following old post helps

    e2e.ti.com/.../123279
    If not, you can also ask for additional guidance on the TI RTOS forum.

    Latest peripheral support matrix for this device family can be found here
    processors.wiki.ti.com/.../OMAPL138_SW_&_HW_Comparison

    Hope this helps some.
    Regards
    Mukul
  • Hi Phil,
    I hope you can't use that *.h since its from DSP/BIOS include section.
    C:\ti\bios_5_42_01_09\packages\ti\bios\include\pwrm.h

    As Mukul pointed out that its for DSP/BIOS Power Manager definitions.

    You may have to use the following C674 based power modules.
    C:\ti\bios_6_33_01_25\packages\ti\sysbios\family\c674\pmi.h

    Also you have to change the *.cfg based on SYS/BIOS package.