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.

Using SATA drive and BIOSUSB 1.10.01 on C6748

Hi,

 

I am trying to run the example project usb_dev_msc_sample.pjt from BIOSUSB 1.10.01 located in 

C:\Program Files\Texas Instruments\biosusb_01_10_01\packages\ti\biosusb\examples\usbdevmsc\build\C6748\ccs3

on an C6748 L138 EVM.  

When I enable the #define MSCMEDIA_MMCSD, I am able to copy files to an SD card through windows xp just fine.

However, if i enable the #define MSCMEDIA_NAND or #define MSCMEDIA_SATA, the code runs just fine but windows gives me an error that the drive is not formatted, do you want to format it now?  When I click yes, windows reports that the disk cannot be formatted.  I've formatted the SATA drive on my system as FAT32 so the format should be ok.  

Are there extra steps required to read and write to a SATA drive using the example code?

 

Thanks,

 

Scott

  • Hi

    Make sure only MSCMEDIA_SATA is defined. undefined MMCSD/NAND and try.  Check the console output for any errors and check the SATA cable is connected properly.

    Regards

    Swami

     

     

  • Only MSCMEDIA_SATA is defined, MMDSD and NAND are undefined.  This is the output I receive which looks ok:

      **********************************************************************

      BIOS USB Device Mass Stoage Test Application [support MMCSD/NAND/SATA]

      **********************************************************************

     usb platform init

    SATA media selected for mass storage 

    Ensure SATA Media is connected 

    Version : 0001.0100

    NumOfCmdSlots : 32

    NumOfPorts : 1

    Speed : 3 Gbps

    SATA:AHCI-CAP:SNCQ SSNTF SLAP SAL SCLO SAM SPM PMD SSC PSC 

    ATA Build: Debug.

    SATA PHY initialized : online

    registering storage with blockmedia Done 

    Thanks,
    Scott

  • I was able to get the SATA drive recognized in WIndows.  It appears to be some sort of formatting of partitioning problem.  I ran the demo project sataSample.pjt in RTFS 1.10.00.30 located in  

    C:\C6748_dsp_1_00_00_08\rtfs_1_10_00_30\packages\ti\rtfs\examples\sata\bios5\evm6748\ccs3

    and part of the demo includes creating 2 partitions and formatting them.  Now, when I run the original USBBIOS code, windows sees the drive just fine.

    Perhaps the format code should be added to the USBBIOS code or maybe this only affects brand new SATA drives.

     

    Thanks for your time.

     

    Scott