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 example cannot run in our AM3352 board: could not find file

Other Parts Discussed in Thread: AM3352

See below when I do "Build Project" on the example rtcClock in our AM3352 board. Where to download these files ... what can I do?


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

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k -j 4 -s clean
Could Not Find C:\ti\AM335X_StarterWare_02_00_01_01\binary\armv7a\cgt_ccs\am335x\evmAM335x\rtc\Debug\rtcClock.out
'Finished clean'
' '

**** Build Finished ****

**** Build of configuration Debug for project rtcClock ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k -j 4 -s all
'Building file: C:/ti/AM335X_StarterWare_02_00_01_01/examples/evmAM335x/rtc/rtcClock.c'
'Invoking: ARM Compiler'
'Finished building: C:/ti/AM335X_StarterWare_02_00_01_01/examples/evmAM335x/rtc/rtcClock.c'
' '
'Building target: ../../../../../../../binary/armv7a/cgt_ccs/am335x/evmAM335x/rtc/Debug/rtcClock.out'
'Invoking: ARM Linker'
<Linking>
error: cannot find file
"../../../../../../../binary/armv7a/cgt_ccs/am335x/drivers/Debug/drivers.lib
"
error: cannot find file
"../../../../../../../binary/armv7a/cgt_ccs/am335x/system_config/Debug/syste
m.lib"
error: cannot find file
"../../../../../../../binary/armv7a/cgt_ccs/utils/Debug/utils.lib"
error: no input section is linked in

undefined first referenced
symbol in file
--------- ----------------
Entry

error: unresolved symbols remain
warning: entry-point symbol "Entry" undefined

warning: no suitable entry-point found; setting to 0
error: errors encountered during linking;
>> Compilation failure
"../../../../../../../binary/armv7a/cgt_ccs/am335x/evmAM335x/rtc/Debug/rtcCl
ock.out" not built
gmake: *** [../../../../../../../binary/armv7a/cgt_ccs/am335x/evmAM335x/rtc/Debug/rtcClock.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Hello Susan,

    I believe the issue is indicated here:

    error: cannot find file
    "../../../../../../../binary/armv7a/cgt_ccs/am335x/system_config/Debug/syste
    m.lib"
    error: cannot find file
    "../../../../../../../binary/armv7a/cgt_ccs/utils/Debug/utils.lib"
    error: no input section is linked in

    StarterWare, for some reason, is packaged with pre-built libraries under the Release configuration and not Debug.  There are two ways to resolve this; you can either build all of the required libraries under Debug which will place the .lib output files in the locations shown above or you can change your rtcClock project over to the Release build configuration and build your project.  Either option works.

  • Thanks for the reply.

    I find this step can be skipped and just proceed to go to run and load program steps.

  • - Saterware version - 02.00.01.01, AM3352, application present in starterware code examples.
    - I compiled first Drivers,System_config,utils and platform created the library for that. after that i compiled the boot loader file and my application(Gpio_backlight) (cross compiler:arm-none-eabi-gcc )for NAND Flash compatible (make BOOT=NAND) created the (binary/../bootloader/relaese_NAND/(boot.out,boot_ti.bin,boot.bin )3 files is there, as i read in User manual use .bin extension update the board.
    - Here, I am using CCS v.6,
    1.Create the target configuration file. Rightclick on the project name and select New >Target Configuration File.
    2.Give a name to the configuration file the extension .ccxml will be added, AM3352 device and an XDS510USB emulator.
    3. Click Finish. The target configuration editor will open.
    4. Click on view --> Target configuration -->Launch target configuration.
    5. scripts --> run the .gel file.( for initialize the clock and system configuration)
    6. I get the debug information on my CCS console.
    Cortex A8 -> click on connect target.
    7. After that i changed the CPSR register T value 0 --> 1.
    8.after that Boot.bin and application.bin (starterware) updated my am3352 module, run --> load --> load program,

    i get boot.bin file not determine the target type of file.

    How to fix my Problem ????

    Please Specify the exact steps to load the boot loader and application ??.

    I am ask you waste question( I don't Know) it is possible to load application without using the kernel with the help of starterware(with help of MLO to load an application) ???

    Please reply me, If you get ASAP, you also did this on AM3352 board ...

    I am did the above steps, CCS with the help of JTAG USB Emulator.

    Please specify the CCS Steps, To load the Bootloader and application files.....