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 SD/USB FAT32 Data Writing

Other Parts Discussed in Thread: OMAP-L138

Hi,

I would like to write data to either an SD card or to a USB drive, attached to the Logic PD OMAP L138 Experimenter kit I have, formatted in FAT32. Also I would like to just use the C6748 DSP for this. The kit comes with embedded Linux/Windows embedded, but I would like to try writing to an external drive using either TI-RTOS or the SYS/BIOS RTOS + relevant peripheral drivers

Are there drivers available for from TI (something like the USBMSCHFatFs driver from TI-RTOS) that could be integrated with SYS/BIOS for this board to enable writing to SD card/USB (preferably SD card) formatted in FAT32? Or is there a USBMSCHFatFs for the C6748? Any info/examples would be much appreciated.

Thanks

Brian

  • Hi Brian,

    There is an SD card driver provided in the BIOS PSP for C6748: http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/. See if this helps.

    Best regards,

    Vincent

  • Hi Vincent,

    Thanks for your response. I had come across these while searching through the forum where somebody had a similar issue. I haven't tried them yet, but it does look like the best option available for writing to an SD card.
    To write to USB, the C6000 StarterWare provides drivers to write to FAT formatted mass storage class devices, just in case anybody has a similar issue.

    I am wondering, will these PSP drivers provide ready access to the OMAP experimenter EVM SD port? The board was shipped with Windows Embedded and Embedded Linux on an SD card so that the device could boot from an SD card. I am not sure, however, if this SD port/drive can be handled as a flash memory device using these PSP drivers? I'm guessing it should though.

    Many thanks
    Brian
  • Hi Brian,

    These PSP drivers were bundled into the C6748 SDK: http://www.ti.com/tool/biossw-c6748. According to the page, this SDK can be used with "either the OMAP-L138/C6748 EVM kit or L138/C6748 Development kit (LCDK)", so I'd expect them to work.

    Best regards,

    Vincent

  • Hi Vincent,

    Ok, thanks for that, I will have a look. I've actually been playing with the C6748 StarterWare examples; there is a USB Mass Storage Device demo (usb_dev_msc) which apparently writes to the SD card on-board the EVM. The demo sets the EVM up as a USB Mass Storage Device so that it can be used as an external hard drive when a host (PC/Mac for example) is connected to it. The EVM apparently writes/reads data to/from the SD card. Unfortunately, having successfully compiled and run this demo, my PC will not recognise the EVM as a USB device when I connect my PC to the device (connected to the mini-USB port). I have tried with 3 different PCs running XP, Windows 7 and Windows 10, none recognised the EVM as a USB device. A .INF file is apparently required for the StarterWare CDC demo, but not for the MSC device demo. I am running the demo from CCSv6 using an XDS510 Plus emulator. I have searched the forum, but haven't found anything on this. Any suggestions anyone?


    Thanks

    Brian

  • Hi Brian,

    See if the information on the StarterWare forum helps: https://e2e.ti.com/support/embedded/starterware/f/790/p/171697/627819. The StarterWare forum should be able to better help you with StarterWare questions in general.

    Best regards,

    Vincent