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.

RTOS: How to comms with SD card using FATFS package from DSP core using SYSBIOS?

Other Parts Discussed in Thread: OMAPL138, MATHLIB

Tool/software: TI-RTOS

Hi there,

I would like to using FATFS module to comms with uSD card from DSP core using SYSBIOS OS.

I have downloaded 

SYSBIOS 6.46.5.55

Is there any example to implements this. Thanks. 

Regards,

Mitesh

  • Hi Mitesh,

    The team is notified. They will post their feedback directly here.

    BR
    Tsvetolin Shulev
  • Mitesh,

    There is an example implementation of using FATFS with uSD on C674x DSP in the Processor SDK RTOS:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_MMCSD
    processors.wiki.ti.com/.../Processor_SDK_RTOS_FATFS

    You can setup the SDK and generate the example inside the PDK using

    set SDK_INSTALL_PATH = <Location where SDK is installed> Default  is C:\ti
    
    set TOOLS_INSTALL_PATH = <Location where CCS is installed> Default is C:\ti
    
    cd processor_sdk_rtos_omapl138_4_00_00_04
    setupenv.bat
    cd pdk_omapl13x_1_0_x/packages
    pdkProjectCreate.bat OMAPL138 all little mmcsd dsp

    Hope this helps.


    Regards,
    Rahul

  • Hi Rahul,

    here is the list of example projects I found under the PDK.

    PS C:\ti> cd .\processor_sdk_rtos_omapl138_4_00_00_04\
    PS C:\ti\processor_sdk_rtos_omapl138_4_00_00_04> .\setupenv.bat
    Optional parameter not configured : CG_XML_BIN_INSTALL_PATH
    REQUIRED for xdc release build
    Example: set CG_XML_BIN_INSTALL_PATH=C:/ti/cg_xml/bin
    Optional parameter not configured : DOXYGEN_INSTALL_PATH
    REQUIRED for xdc release build
    Example: set DOXYGEN_INSTALL_PATH=C:/ti/Doxygen/doxygen/1.5.1-p1/bin
    **************************************************************************
    Environment Configuration:
    LIMIT_SOCS : omapl138
    LIMIT_BOARDS : lcdkOMAPL138
    PDK_INSTALL_PATH : /ti/PDK_OM~2/packages
    C6X_GEN_INSTALL_PATH : C:/ti/ti-cgt-c6000_8.1.3
    TOOLCHAIN_PATH_GCC : C:/ti/gcc-arm-none-eabi-4_9-2015q3
    TOOLCHAIN_PATH_A15 : C:/ti/gcc-arm-none-eabi-4_9-2015q3
    TOOLCHAIN_PATH_A8 : C:/ti/gcc-arm-none-eabi-4_9-2015q3
    TOOLCHAIN_PATH_A9 : C:/ti/gcc-arm-none-eabi-4_9-2015q3
    TOOLCHAIN_PATH_M4 : C:/ti/ti-cgt-arm_16.9.2.LTS
    TOOLCHAIN_PATH_Arm9 : C:/ti/ti-cgt-arm_16.9.2.LTS
    TOOLCHAIN_PATH_EVE : C:/ti/arp32_1.0.8
    CL_PRU_INSTALL_PATH : C:/ti/ti-cgt-pru_2.1.5
    UTILS_INSTALL_DIR : C:/ti/xdctools_3_32_01_22_core/bin
    FPULIB_PATH : C:/ti/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3/fpu
    CROSS_TOOL_PRFX : arm-none-eabi-
    XDC_INSTALL_PATH : C:/ti/xdctools_3_32_01_22_core
    BIOS_INSTALL_PATH : C:/ti/bios_6_46_05_55
    IPC_INSTALL_PATH : C:/ti/ipc_3_46_00_02
    EDMA3LLD_BIOS6_INSTALLDIR : C:/ti/edma3_lld_2_12_04_28
    NDK_INSTALL_PATH : C:/ti/ndk_2_25_01_11
    IMGLIB_INSTALL_PATH : C:/ti/imglib_c674x_3_1_1_0
    DSPLIB_INSTALL_PATH : C:/ti/dsplib_c674x_3_4_0_0
    MATHLIB_INSTALL_PATH : C:/ti/mathlib_c674x_3_1_1_0
    UIA_INSTALL_PATH : C:/ti/uia_2_00_06_52
    IPC_PLATFORM: OMAPL138
    IPC_ALT_PLATFORM:
    PROC_SDK_INSTALL_PATH : C:/ti/processor_sdk_rtos_omapl138_4_00_00_04
    **************************************************************************
    Changing to short name to support directory names containing spaces
    current directory: C:/ti/processor_sdk_rtos_omapl138_4_00_00_04
    PROCESSOR SDK BUILD ENVIRONMENT CONFIGURED
    **************************************************************************
    PS C:\ti\processor_sdk_rtos_omapl138_4_00_00_04> cd ..
    PS C:\ti> cd .\pdk_OMAPL138_1_01_00_02\packages\
    PS C:\ti\pdk_OMAPL138_1_01_00_02\packages> C:\ti\pdk_OMAPL138_1_01_00_02\packages\ti\scripts\pdkProjectCreate.bat OMAPL1
    38 all little mmcsd dsp
    The system cannot find the path specified.
    *****************************************************************************
    Detecting UnitTest Projects in PDK and importing them in the workspace "C:\ti\PDK_OM~1\packages\OMAPL138\MyexampleProjects"
    File Not Found
    *****************************************************************************
    Detecting Example Projects in PDK and importing them in the workspace "C:\ti\PDK_OM~1\packages\OMAPL138\MyexampleProjects"
    Detected Example Project: cache_exampleProject
    The device is not ready.
    Detected Example Project: gpio_exampleProject
    The device is not ready.
    Detected Example Project: i2c_exampleProject
    The device is not ready.
    Detected Example Project: idma_exampleProject
    The device is not ready.
    Detected Example Project: intc_exampleProject
    The device is not ready.
    Detected Example Project: mddr_exampleProject
    The device is not ready.
    Detected Example Project: pllc_exampleProject
    The device is not ready.
    Detected Example Project: spi_exampleProject
    The device is not ready.
    Detected Example Project: timer_exampleProject
    The device is not ready.
    Detected Example Project: uart_exampleProject
    The device is not ready.
    Detected Example Project: MCASP_AudioExampleProject
    The device is not ready.
    Detected Example Project: MCBSP_DigLpbkExampleProject
    The device is not ready.
    Detected Example Project: MCBSP_MasterExampleProject
    The device is not ready.
    Detected Example Project: MCBSP_SlaveExampleProject
    The device is not ready.
    PS C:\ti\pdk_OMAPL138_1_01_00_02\packages>

  • Thanks Rahul, I manged to get the example working. Cheers.