• TI thinks resolved

CCS/AM3358: Starterware SD card software

Part Number: AM3358

Tool/software: Code Composer Studio

I have developed a Code Composer Studio aplication for BeagleBone Black that gets data
from a Flir Boson camera and transmits the data via ethernet

I now want to add SD card write and read to the project.

I found an example project in starterware - C:\ti
\AM335X_StarterWare_02_00_01_01\examples\beaglebone\hs_mmcsd - and started to merge the
code.


When I compile, I get these errors....

unresolved symbol HSMMCSDModuleClkConfig, first referenced in ./Demo_Sources/main.obj
snmp_agent_demo C/C++ Problem
unresolved symbol HSMMCSDPinMuxSetup, first referenced in ./Demo_Sources/main.obj
snmp_agent_demo C/C++ Problem


..... even though they are referenced in #include "beaglebone_black.h"


Two other calls....

/* Configure the EDMA clocks. */
EDMAModuleClkConfig();

/* Configure EDMA to service the HSMMCSD events. */
HSMMCSDEdmaInit();

compile OK?

Can any one put me straight on this? What am I missing?

Thanks in advance

  • The software team have been notified. They will respond here.

     

    Best Regards
    Biser
  • Steve,

    Please use the example in the AM335x Processro SDK RTOS package located at C:\ti\pdk_am335x_1_0_9\packages\MyExampleProjects\MMCSD_bbbAM335x_DMA_armTestproject
    software-dl.ti.com/.../index_FDS.html
    Please follow the instructions here to build the examples. processors.wiki.ti.com/.../Processor_SDK_RTOS_Building_The_SDK

    Starterware support is no longer available, so please use this example as the starting point.

    Lali
  • In reply to Lalindra Jayatilleke:

    Hi

    When I downloaded the  AM335x Processor SDK RTOS and followed the instructions issued, I did not get  the

    C:\ti\pdk_am335x_1_0_9\packages\MyExampleProjects\ 

    folder...

    I did get......C:\ti\pdk_am335x_1_0_9\packages\ti\starterware\examples\

    The nearest software I found was..........

    .C:\ti\pdk_am335x_1_0_9\packages\ti\starterware\examples\mmcsd\hsmmcsd_app_pol.c

    Have I missed a step?

    Thanks

  • In reply to steve robinson1:

    Steve,

    Did you build the PDK as described here processors.wiki.ti.com/.../Rebuilding_The_PDK ?
    C:\ti\pdk_am335x_1_0_9\packages\MyExampleProjects\ isn't available by default, it needs to be built.

    Lali
  • In reply to Lalindra Jayatilleke:

    I have found these instructions and have progressed some,.

    But getting these errors when running the pdkprojectscreate batch file...

    sorry...


    C:\ti\PDK_AM~1\packages>pdkprojectcreate
    =========================================================================
    Configuration:
    SOC : AM335x
    BOARD : all
    ENDIAN : little
    MODULE : all
    PROJECT_TYPE : all
    PROCESSOR : arm
    PDK_SHORT_NAME : C:\ti\PDK_AM~1\packages\
    =========================================================================
    Checking Configuration...
    Complete
    =========================================================================
    PDK_PARTNO : AM335
    PDK_ECLIPSE_ID : com.ti.pdk.am335x
    RTSC_PLATFORM_NAME : ti.platforms.evmAM3359
    RTSC_TARGET : gnu.targets.arm.A8F
    CCS_DEVICE : "Cortex A.AM3359.ICE_AM3359"
    *****************************************************************************
    Detecting all projects in PDK and importing them in the workspace C:\ti\PDK_AM~
    \packages\\MyExampleProjects
    Detected Test Project: EMAC_BasicExample_evmAM335x_armExampleproject

    -------------------------------------------------------------------------------

    Creating project 'EMAC_BasicExample_evmAM335x_armExampleproject'...

    !ERROR: No products of type 'com.ti.rtsc.SYSBIOS' are currently installed!

    Copying macro.ini
    The system cannot find the path specified.
    0 file(s) copied.
    Detected Test Project: EMAC_BasicExample_skAM335x_armExampleproject

    -------------------------------------------------------------------------------

    Creating project 'EMAC_BasicExample_skAM335x_armExampleproject'...

    !ERROR: No products of type 'com.ti.rtsc.SYSBIOS' are currently installed!

    Copying macro.ini
    The system cannot find the path specified.
    0 file(s) copied.
    Detected Test Project: GPIO_LedBlink_bbbAM335x_armTestProject

    -------------------------------------------------------------------------------

    Creating project 'GPIO_LedBlink_bbbAM335x_armTestProject'...

    !ERROR: No products of type 'com.ti.rtsc.SYSBIOS' are currently installed!

    Copying macro.ini
    The system cannot find the path specified.
    0 file(s) copied.
    Detected Test Project: GPIO_LedBlink_icev2AM335x_armTestProject
  • In reply to steve robinson1:

    Steve,

    Did you Run pdksetupenv.bat first as in the instructions?
    I don't see where you entered the subsequent flags to pdkprojectcreate.bat in your command.
    i.e pdkProjectCreate.bat [soc] [board] [endian] [module] [project type] [processor]

    Did you register your installed components with CCS?

    "Ensure all dependent/prerequisite products are installed and registered with CCS before proceeding with the examples and/or unit test. Starting CCS after installing the Processor SDK products will cause CCS to find and register any new products. Errors will occur during PDK project creation if any dependent products have not been registered with CCS."

    Lali

  • In reply to Lalindra Jayatilleke:

    I have now run pdksetupenv.bat

    I now get this below - why is this so hard?


    C:\ti\PDK_AM~1\packages>pdkprojectcreate AM335x all little all all arm
    =========================================================================
    Configuration:
    SOC : AM335x
    BOARD : all
    ENDIAN : little
    MODULE : all
    PROJECT_TYPE : all
    PROCESSOR : arm
    PDK_SHORT_NAME : C:\ti\PDK_AM~1\packages\
    =========================================================================
    Checking Configuration...
    Complete
    =========================================================================
    PDK_PARTNO : AM335
    PDK_ECLIPSE_ID : com.ti.pdk.am335x
    RTSC_PLATFORM_NAME : ti.platforms.evmAM3359
    RTSC_TARGET : gnu.targets.arm.A8F
    CCS_DEVICE : "Cortex A.AM3359.ICE_AM3359"
    *****************************************************************************
    Detecting all projects in PDK and importing them in the workspace C:\ti\PDK_AM~1
    \packages\\MyExampleProjects
    Detected Test Project: EMAC_BasicExample_evmAM335x_armExampleproject

    --------------------------------------------------------------------------------

    Creating project 'EMAC_BasicExample_evmAM335x_armExampleproject'...

    !ERROR: No products of type 'com.ti.rtsc.SYSBIOS' are currently installed!

    Copying macro.ini
    The system cannot find the path specified.
    0 file(s) copied.
    Detected Test Project: EMAC_BasicExample_skAM335x_armExampleproject
    Copying macro.ini
    0 file(s) copied.
    Terminate batch job (Y/N)?
  • In reply to steve robinson1:

    Steve,

    The steps mentioned in the wiki need to be followed to get it to build.
    Here is a video of the procedure that would help training.ti.com/processor-sdk-device-drivers-setup-test

    Did you register your installed components with CCS?

    "Ensure all dependent/prerequisite products are installed and registered with CCS before proceeding with the examples and/or unit test. Starting CCS after installing the Processor SDK products will cause CCS to find and register any new products. Errors will occur during PDK project creation if any dependent products have not been registered with CCS."

    Lali
  • In reply to Lalindra Jayatilleke:

    All I want is to be able to write to the sd card....


    Setting Up and Testing Processor SDK RTOS Device Drivers
    with Texas Instruments

    This is a modal window.
    This video is either unavailable or not supported in this browser
    Error Code: MEDIA_ERR_SRC_NOT_SUPPORTED
    Technical details :
    No compatible source was found for this media.
    If you are using an older browser please try upgrading or installing Flash.
    Session ID: 2018-01-03:ad59d4b44e10805169c617d Player ID: video-1
  • In reply to steve robinson1:

    Hi

    I managed to run the video in a different browser - OK now.

    Thanks to this I discovered that I had missed an important step - CCS needs to process the new products before the 'myexample' projects can be generated.

    These projects are now generated and I can open them in CCS.

    However, I cannot open the c source files in CCS  -  I get a 

    "Must specify a URI scheme:PDK_INSTALL_PATH/ti/drv/uart/soc/am335x/UART_soc.c" message for each.

    I don't know what a URI scheme is, I'm afraid.

    I guess this is a CCS/Eclipse issue. I have been, and will continue to do so, googling for a solution.

    If you could put me right on this quickly, I would be most grateful.