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.

Starterware: How to get started.

Tool/software: Starterware

I have a Starterware 2.00.01.01 installed. I think this is the latest.  CCS 7.0.0.004.  I am trying to build the simplest code to run on the AM335X Starter Kit.  

I have refactored the simple code, like uart_echo, to use the TI Arm compiler.  Most projects build OK.  I set the debugger to xds100V2. 

The code compiles, sees the debug and attempts to load the code.  I get errors that the code at 0x8000 xxxx doesn't verify.  The debugger stops.  

I am stuck.

  • Hi Dan

    First Check Memory Map in file: AM335x.lds

    In my case is:

    MEMORY
    {
    DDR0 : o = 0x80000000, l = 0x20000000 /* 512MB external DDR Bank 0 */
    }

    OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
    OUTPUT_ARCH(arm)

    SECTIONS
    {

    .startcode :
    {
    . = ALIGN(4);
    *init.o (.text)
    } >DDR0

    .text :
    {
    . = ALIGN(4);
    *(.text*)
    *(.rodata*)
    } >DDR0

    .data :
    {
    . = ALIGN(4);
    *(.data*)
    } >DDR0

    .bss :
    {
    . = ALIGN(4);
    _bss_start = .;
    *(.bss*)
    *(COMMON)
    _bss_end = .;
    } >DDR0

    .heap :
    {
    . = ALIGN(4);
    __end__ = .;
    end = __end__;
    __HeapBase = __end__;
    *(.heap*)
    . = . + 0x100000;
    __HeapLimit = .;
    } >DDR0

    .stack :
    {
    . = ALIGN(4);
    __StackLimit = . ;
    *(.stack*)
    . = . + 0x7FFFFF8;
    __StackTop = .;
    } >DDR0
    _stack = __StackTop;

    }

    Some Guides: