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.

CCS5 Beagle bone with starterware

I build demo application on CCS5 with starterware for beaglebone black.

I suppose to follow the theses steps

  • Right click and select "Set Debug Scope" option. This will make remove all the cores except Cortex A8 from the
    debug view.
  • Right click on the Cortex A8 core listed in Debug view and click on "Connect Target".
  • Run the initialization script under scripts tab, AM335x System initialization ==>> AM335x_EVM_Initialization

I cannot find the first one bu can do second step.  I did not find any scripts under scripts

How to install the scripts on CCS5?

  • Moving this to the CCS forum.

  • Hi,

    I am unsure where you found this procedure, but if you are using CCSv5.4 and newer you will be able to find a configuration for BeagleBone Black directly on the target configuration editor. This configuration already has a GEL script that is pre-configured to initialize the board hardware (this script is what is missing from your configuration)

    Also, an interesting training module that uses Starterware for AM335x can be found on the following page:

    http://processors.wiki.ti.com/index.php/CCS_Fundamentals_Workshop

    Hope this helps,

    Rafael

  • Hi Rafael,  Thanks. When i choose BeagleBone_Black as a Gel then i can find the script. If i choos AM335x as a Gel then nothing there. I am refering the wiki below

    http://processors.wiki.ti.com/index.php/AM335X_StarterWare_Environment_Setup

    . When i run AM335x_initilizitalain i got this error

    CortxA8: Output: **** Beagle Bone EVM Initialization is in progress ..........

    CortxA8: Output: **** Subarctic ALL ADPLL Config for OPP == OPP100 is In Progress .........

    AM335x_EVM_Initialization() cannot be evaluated.

    Target failed to read 0x44E10040

    at (*((unsigned int *) (0x44E10000+0x40))>>22) [AM335x_beaglebone.gel:151]

    at GetInputClockFrequency() [AM335x_beaglebone.gel:217]

    at ARM_OPP100_Config() [AM335x_beaglebone.gel:141]

    at AM335x_EVM_Initialization()

     

     

     

  • When i click connet to beaglebone black,  error

     

    NO source available for 0x9F37F928

    what is that mean?

  • Hello,

    terrance peiris said:
    Right click and select "Set Debug Scope" option. This will make remove all the cores except Cortex A8 from the
    debug view.


    Sounds like whatever instructions you are following were written for CCSv4. There is no "Set Debug Scope" option in CCSv5. However, you can hide all CPU's you don't want visible. See:

    http://processors.wiki.ti.com/index.php/Multi-Core_Debug_with_CCSv5#Hiding_CPUs

    terrance peiris said:
    I did not find any scripts under scripts

    This routine is defined in the beagleboneblack.gel startup file. Make sure that it is part of your setup config file and you have the Cortex A8 selected in the debug view.

    Thanks

    ki

  • Ki-Soo Lee said:

    I did not find any scripts under scripts

    This routine is defined in the beagleboneblack.gel startup file. Make sure that it is part of your setup config file and you have the Cortex A8 selected in the debug view.

    [/quote]

    Sorry, I see Rafael already answered this question

  • terrance peiris said:

    When i click connet to beaglebone black,  error

     

    NO source available for 0x9F37F928

    what is that mean?

    That is not an error. It is simply saying that the debugger found no source code correlation. This is normal if you don't have any symbols loaded or if the program counter is at some memory where there is no code.

  • Hi Soo, thanks for the answer. I am pretty much in good progress with EVM3359 development boards with Ti help forum.  I builf a new project from example entEchho

    1. It can build and down load the project using XDS100,

    2. Load the program and Run with break point at MMUConfigAndEnable() then step through

    3.  Line 200; CacheEnable(CACHE_ALL) function return an error

    Cannot load from non-primitive location

    what could be the possible caiuse of the problem?

     

     

  • terrance peiris said:
    Cannot load from non-primitive location

    Where do you see this error? In the Expressions view?