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.

PROCESSOR-SDK-AM335X: USB serial project build issue

Part Number: PROCESSOR-SDK-AM335X

every expecter

This is Tomiyama From Tokyo.

Thanks a lot of helps.

I have connect to PC sucssesfuly. but I just use a Startware without modify.

When I try to modify the source code, there are errors bellow.

I could not know who use the 0x8000,0000 memory.

could you help me ?

I need your help as soon as posiable.

best regards

Tomiyama.

usb_dev_serial.cmd:

MEMORY
{
DDR_MEM : org = 0x80000000 len = 0x7FFFFFF /* RAM */
}

error log:

**** Clean-only build of configuration Debug for project usb_dev_serial ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 -s clean -O
'Finished clean'
' '

**** Build Finished ****

**** Build of configuration Debug for project usb_dev_serial ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 -s all -O
'Building file: C:/New Folder/examples/evmskAM335x/usb_dev_serial/usb_serial_structs.c'
'Invoking: ARM Compiler'
'Finished building: C:/New Folder/examples/evmskAM335x/usb_dev_serial/usb_serial_structs.c'
' '
'Building file: C:/New Folder/examples/evmskAM335x/usb_dev_serial/ustdlib.c'
'Invoking: ARM Compiler'
'Finished building: C:/New Folder/examples/evmskAM335x/usb_dev_serial/ustdlib.c'
' '
'Building file: C:/New Folder/examples/evmskAM335x/usb_dev_serial/Usb_dev_serial.c'
'Invoking: ARM Compiler'
"../../../../../../../include/hw/hw_lcdc.h", line 107: warning #1557-D: white space between backslash and newline in line splice ignored
'Finished building: C:/New Folder/examples/evmskAM335x/usb_dev_serial/Usb_dev_serial.c'
' '
'Building target: ../../../../../../../binary/armv7a/cgt_ccs/am335x/evmskAM335x/usb_dev_serial/usb_dev_serial.out'
'Invoking: ARM Linker'
< Linking>
"../usb_dev_serial.cmd", line 78: error #10263: DDR_MEM memory range has
already been specified
"../usb_dev_serial.cmd", line 78: error #10264: DDR_MEM memory range overlaps
existing memory range DDR_MEM
"../usb_dev_serial.cmd", line 92: warning #10190-D: absolute symbol "bss_start"
being redefined
"../usb_dev_serial.cmd", line 93: warning #10190-D: absolute symbol "bss_end"
being redefined
"../usb_dev_serial.cmd", line 92: warning #10190-D: absolute symbol "bss_start"
being redefined
"../usb_dev_serial.cmd", line 93: warning #10190-D: absolute symbol "bss_end"
being redefined
"../usb_dev_serial.cmd", line 86: warning #10261-D: section specifier matches
no sections; potential matches are consumed by section specifier at
"../usb_dev_serial.cmd", line 86
"../usb_dev_serial.cmd", line 91: warning #10423-D: No placement specified for
".bss"; a default placement will be applied.
"../usb_dev_serial.cmd", line 92: warning #10190-D: absolute symbol "bss_start"
being redefined
"../usb_dev_serial.cmd", line 93: warning #10190-D: absolute symbol "bss_end"
being redefined
"../usb_dev_serial.cmd", line 92: warning #10272-D: section relative symbols
from different output sections cannot be mixed; "bss_start" is in section
".bss", "DOT operator" is in section ".bss"
"../usb_dev_serial.cmd", line 93: warning #10272-D: section relative symbols
from different output sections cannot be mixed; "bss_end" is in section
".bss", "DOT operator" is in section ".bss"
error #10010: errors encountered during linking;
"../../../../../../../binary/armv7a/cgt_ccs/am335x/evmskAM335x/usb_dev_seria
l/usb_dev_serial.out" not built
gmake: *** [../../../../../../../binary/armv7a/cgt_ccs/am335x/evmskAM335x/usb_dev_serial/usb_dev_serial.out] Error 1

>> Compilation failure
makefile:143: recipe for target '../../../../../../../binary/armv7a/cgt_ccs/am335x/evmskAM335x/usb_dev_serial/usb_dev_serial.out' failed
gmake: Target 'all' not remade because of errors.

  • The RTOS team have been notified. They will respond here.
  • Hi,

    It looks you have some other related topics opened and worked with TI E2E forum before. I don't know the history of it. What is the Processor SDK RTOS release you worked on? Are you trying to build usb_dev_serial under starterware? Can you build it as it is? Then what was changed so you can't build it?

    Regards, Eric
  • Hello Eric

    Thank your answer. I try to compile the usb_dev_serial wiht "gmake", but It colud not find the gmake, Can you tell me how to make the usb_dev_serial without ccs7?

    thank you very much.
    best Regards.
    tomiyama
  • Hi,

    What software release is this?

    Regards, Eric
  • Eric

    thanks your answer.I use the usb_dev_serial of the Startware.

    I dont know the linker.cmd, I did not select but was using by my workspace.

    just like this:
    MEMORY
    {
    DDR_MEM : org = 0x80000000 len = 0x7FFFFFF /* RAM */
    }

    the waring was out:
    "../usb_dev_serial.cmd", line 78: error #10263: DDR_MEM memory range has
    already been specified
    "../usb_dev_serial.cmd", line 78: error #10264: DDR_MEM memory range overlaps
    existing memory range DDR_MEM

    I could who know the define the "DDR_MEM".

    hope your help.

    thank you very much.

    best regards

    tomiyama.
  • Hi,

    It is still unclear what Sitara release you used. Here I tried AM335X_StarterWare_02_00_01_01\build\armv7a\cgt_ccs\am335x\evmAM335x\usb_dev_serial.

    I imported the CCS project into my CCS7.3, I noticed there is usb_dev_serial.cmd under the CCS project folder, this is the linker command file for the porject. Then I build and I didn't have any error:

    **** Build of configuration Release for project usb_dev_serial ****

    "C:\\ti_7_3_0\\ccsv7\\utils\\bin\\gmake" -k -j 4 -s all -O
    'Building file: C:/ti/AM335X_StarterWare_02_00_01_01/examples/evmAM335x/usb_dev_serial/usb_serial_structs.c'
    'Invoking: ARM Compiler'
    'Finished building: C:/ti/AM335X_StarterWare_02_00_01_01/examples/evmAM335x/usb_dev_serial/usb_serial_structs.c'
    ' '
    'Building file: C:/ti/AM335X_StarterWare_02_00_01_01/examples/evmAM335x/usb_dev_serial/Usb_dev_serial.c'
    'Invoking: ARM Compiler'
    "../../../../../../../include/hw/hw_lcdc.h", line 107: warning #1557-D: white space between backslash and newline in line splice ignored
    'Finished building: C:/ti/AM335X_StarterWare_02_00_01_01/examples/evmAM335x/usb_dev_serial/Usb_dev_serial.c'
    ' '
    'Building file: C:/ti/AM335X_StarterWare_02_00_01_01/examples/evmAM335x/usb_dev_serial/ustdlib.c'
    'Invoking: ARM Compiler'
    'Finished building: C:/ti/AM335X_StarterWare_02_00_01_01/examples/evmAM335x/usb_dev_serial/ustdlib.c'
    ' '
    'Building target: ../../../../../../../binary/armv7a/cgt_ccs/am335x/evmAM335x/usb_dev_serial/Release/usb_dev_serial.out'
    'Invoking: ARM Linker'
    <Linking>
    'Finished building target: ../../../../../../../binary/armv7a/cgt_ccs/am335x/evmAM335x/usb_dev_serial/Release/usb_dev_serial.out'
    ' '

    ' '

    **** Build Finished ****

    Regards, Eric