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.

CCS/AM5728: Baremetal CAN example

Part Number: AM5728
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: Code Composer Studio

Hello,

I have successfully imported the DCAN_BasicExample_evmAM572x_c66xTestProject into CCSv8.1.0.00011. This project includes the dcan_loopback_rtos_main.c file.

How can I import the same project but for bare metal? I see in pdk_am57xx_1_0_11\packages\ti\csl\example\dcan\dcanLoopback\baremetal there is dcan_loopback_baremetal_main.c file and a makefile. I assume it cannot be as simple as replacing the file within the project.

After that, what is the easiest way to write a bit or byte of data to the DCAN and read it back? 

Thank you,

Alec

  • The RTOS team have been notified. They will respond here.
  • Alec Phillips said:
    I see in pdk_am57xx_1_0_11\packages\ti\csl\example\dcan\dcanLoopback\baremetal there is dcan_loopback_baremetal_main.c file and a makefile.

    Hopefully this makes it a bit easier to explain. One level below in the dcanLoopback folder, I found a ReadMe.txt file that gives some instructions for the baremetal testing.

    It says the following:

    * The baremetal main file makes a funtion call to the DCAN Loopback Test and handles the Parity Error Interrupt.

    * This file configures DCAN Parity Error interrupt Line and provides DCAN ParityISR
    to service the interrupt.

    * Build the baremetal test binary using gmake command

    * gmake csl command from the package directory will build the DCAN binaries for all
    the three cores (arm, dsp, m4)

    * Binaries can be obtained from the <path_to_package_directory>\ti\binary folder

    * Load and Test the binaries

    I have the binaries in the ti/binary folder. How can I proceed? I don't know what is meant by "Load and Test the binaries". 

    Thank you.

  • Hello,
    I'm still waiting for a response from TI, it has been almost a week since my initial posting.
    I at least need an explanation on how to "load and test the binaries" from my previous posting.
  • Alec,

    I'm looking into this and shall get back to you.

    Lali
  • Alec,

    Please see software-dl.ti.com/.../Board_EVM_Abstration.html

    This shows how to compile and run the diagnostics applications. Hope this addresses your question.

    Lali
  • Hi Lali,
    I have spent a good portion of today going through the page you sent me and attempting to understand the method to test the binary files as noted on the readme file mentioned in my second post. Running a diagnostic test is not the application I'm looking for. I have already done that on my IDK. My ultimate goal is to flash the DCAN loopback application using the DSP onto QSPI using an SD Card. 

    Is your suggestion that I use Uniflash & FlashWriter apps? Or were you just suggesting to run the diagnostic application?

    I've been reviewing the following:

    http://processors.wiki.ti.com/index.php/PDK/PDK_TDA_Building_The_Package

    http://processors.wiki.ti.com/index.php/PDK/PDK_TDA_CSL_User_Guide#DCAN_Loopback_Example

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/05_00_00_15/rtos/Board_EVM_Abstration.html?highlight=compiling%20diagnostic%20applications#binaries

    http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_BOOT_AM57x#Test_Application

    I want to run the existing DCAN loopback bare metal example from the [PDK_INSTALL_PATH]\packages\ti\csl\example\dcan\dcanLoopback\baremetal folder. 

    This command for Uniflash did work but I got an error: 

    "C:\ti\uniflash_4.4.0\deskdb\content\TICloudAgent\win\ccs_base\DebugServer\bin\DSLite" load --config Users\ME\ti\CCSTargetConfigurations\IDK_AM572x_Configuration.ccxml -f C:\ti\pdk_am57xx_1_0_11\packages\ti\board\utils\uniflash\bin\idkAM572x\uart_idkAM572x_flash_programmer.out -n 1

    c:\>"C:\ti\uniflash_4.4.0\deskdb\content\TICloudAgent\win\ccs_base\DebugServer\bin\DSLite" load --config Users\ME\ti\CCSTargetConfigurations\IDK_AM572x_Configuration.ccxml -f C:\ti\pdk_am57xx_1_0_11\packages\ti\board\utils\uniflash\bin\idkAM572x\uart_idkAM572x_flash_programmer.out -n 1
    DSLite version 8.1.0.1365
    Configuring Debugger (may take a few minutes on first launch)...
    Initializing Register Database...
    Initializing: IcePick_D
    Executing Startup Scripts: IcePick_D
    Initializing: ARM9_ICONT1
    Executing Startup Scripts: ARM9_ICONT1
    Initializing: ARM9_ICONT2
    Executing Startup Scripts: ARM9_ICONT2
    Initializing: CS_DAP_IPU_1_C0
    Executing Startup Scripts: CS_DAP_IPU_1_C0
    Initializing: Cortex_M4_IPU1_C0
    Executing Startup Scripts: Cortex_M4_IPU1_C0
    GEL: Cortex_M4_IPU1_C0: GEL Output: --->>> AM572x Cortex M4 Startup Sequence In Progress... <<<---
    GEL: Cortex_M4_IPU1_C0: GEL Output: --->>> AM572x Cortex M4 Startup Sequence DONE! <<<---
    Initializing: CS_DAP_IPU_1_C1
    Executing Startup Scripts: CS_DAP_IPU_1_C1
    Initializing: Cortex_M4_IPU1_C1
    Executing Startup Scripts: Cortex_M4_IPU1_C1
    GEL: Cortex_M4_IPU1_C1: GEL Output: --->>> AM572x Cortex M4 Startup Sequence In Progress... <<<---
    GEL: Cortex_M4_IPU1_C1: GEL Output: --->>> AM572x Cortex M4 Startup Sequence DONE! <<<---
    Initializing: CS_DAP_IPU_2_C0
    Executing Startup Scripts: CS_DAP_IPU_2_C0
    Initializing: Cortex_M4_IPU2_C0
    Executing Startup Scripts: Cortex_M4_IPU2_C0
    Initializing: CS_DAP_IPU_2_C1
    Executing Startup Scripts: CS_DAP_IPU_2_C1
    Initializing: Cortex_M4_IPU2_C1
    Executing Startup Scripts: Cortex_M4_IPU2_C1
    Initializing: C66xx_DSP1
    Executing Startup Scripts: C66xx_DSP1
    GEL: C66xx_DSP1: GEL Output: --->>> AM572x C66x DSP Startup Sequence In Progress... <<<---
    GEL: C66xx_DSP1: GEL Output: --->>> AM572x C66x DSP Startup Sequence DONE! <<<---
    Initializing: C66xx_DSP2
    Executing Startup Scripts: C66xx_DSP2
    GEL: C66xx_DSP2: GEL Output: --->>> AM572x C66x DSP Startup Sequence In Progress... <<<---
    GEL: C66xx_DSP2: GEL Output: --->>> AM572x C66x DSP Startup Sequence DONE! <<<---
    Initializing: CS_DAP_DebugSS
    Executing Startup Scripts: CS_DAP_DebugSS
    Initializing: CS_DAP_PC
    Executing Startup Scripts: CS_DAP_PC
    Initializing: CortexA15_0
    Executing Startup Scripts: CortexA15_0
    GEL: CortexA15_0: GEL Output: --->>> AM572x Cortex A15 Startup Sequence In Progress... <<<---
    GEL: CortexA15_0: GEL Output: --->>> AM572x Cortex A15 Startup Sequence DONE! <<<---
    Initializing: CortexA15_1
    Executing Startup Scripts: CortexA15_1
    GEL: CortexA15_1: GEL Output: --->>> AM572x Cortex A15 Startup Sequence In Progress... <<<---
    GEL: CortexA15_1: GEL Output: --->>> AM572x Cortex A15 Startup Sequence DONE! <<<---
    Initializing: CT_STM_Config
    Executing Startup Scripts: CT_STM_Config
    Initializing: CT_TBR
    Executing Startup Scripts: CT_TBR
    Initializing: PRU_0_ICSS1
    Executing Startup Scripts: PRU_0_ICSS1
    Initializing: PRU_1_ICSS1
    Executing Startup Scripts: PRU_1_ICSS1
    Initializing: PRU_0_ICSS2
    Executing Startup Scripts: PRU_0_ICSS2
    Initializing: PRU_1_ICSS2
    Executing Startup Scripts: PRU_1_ICSS2
    Connecting...
    GEL: IcePick_D: GEL Output: Ipu RTOS is released from Wait-In-Reset.
    GEL: IcePick_D: GEL Output: Ipu SIMCOP is released from Wait-In-Reset.
    GEL: IcePick_D: GEL Output: IVAHD C66 is released from Wait-In-Reset.
    GEL: IcePick_D: GEL Output: IVAHD ICONT1 is released from Wait-In-Reset.
    GEL: IcePick_D: GEL Output: IVAHD ICONT2 is released from Wait-In-Reset.
    error: ARM9_ICONT2: Error connecting to the target: (Error -2062 @ 0x34BC) Unable to halt device. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.0.27.9)
    Failed: Operation was aborted

    Please assist me with my application. Is it something to do with the associated makefile in the baremetal folder? 

    #

    # This file is the makefile for building CSL dcan app.
    #
    include $(PDK_INSTALL_PATH)/ti/build/Rules.make

    APP_NAME = csl_dcan_loopback_app

    SRCDIR = . ../
    INCDIR =

    # List all the external components/interfaces, whose interface header files
    # need to be included for this component
    INCLUDE_EXTERNAL_INTERFACES = pdk

    # List all the components required by the application
    ifeq ($(BOARD),$(filter $(BOARD), idkAM572x evmAM572x idkAM571x idkAM574x))
    COMP_LIST_COMMON += board i2c uart osal_nonos
    COMP_LIST_c66x = csl_intc
    endif
    COMP_LIST_COMMON += csl csl_utils_common csl_uart_console
    COMP_LIST_a15_0 = csl_init

    # Common source files and CFLAGS across all platforms and cores
    PACKAGE_SRCS_COMMON = . ../dcan_loopback_app.c ../dcan_loopback_app.h ../ReadMe.txt
    SRCS_COMMON = dcan_loopback_baremetal_main.c dcan_loopback_app.c

    CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS)

    ifeq ($(CORE),a15_0)
    LNKCMD_FILE = $(PDK_CSL_COMP_PATH)/example/lnk_a15.cmd
    endif
    ifeq ($(CORE),ipu1_0)
    LNKCMD_FILE = $(PDK_CSL_COMP_PATH)/example/lnk_m4.cmd
    endif
    ifeq ($(CORE),c66x)
    LNKCMD_FILE = $(PDK_CSL_COMP_PATH)/example/lnk_dsp.cmd
    endif

    LNKFLAGS_LOCAL_a15_0 += --entry Entry

    # Core/SoC/platform specific source files and CFLAGS
    # Example:
    # SRCS_<core/SoC/platform-name> =
    # CFLAGS_LOCAL_<core/SoC/platform-name> =

    # Include common make files
    ifeq ($(MAKERULEDIR), )
    #Makerule path not defined, define this and assume relative path from ROOTDIR
    MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
    export MAKERULEDIR
    endif
    include $(MAKERULEDIR)/common.mk

    # OBJs and libraries are built by using rule defined in rules_<target>.mk
    # and need not be explicitly specified here

    # Nothing beyond this point

    Thank you.

  • Alec,

    In order to run the dcan loopback example, please see the readme.txt located at C:\ti\pdk_am57xx_1_0_11\packages\ti\csl\example\dcan\dcanLoopback

    There are instructions on how to generate the bare metal example. This will generate a .bin that you can flash onto non-volatile memory.

    Running this generated something like the below.

    There's also a way to generate the TI-RTOS example, but that's something you aren't interested in, but just wanted to make you aware.

    Does this answer your question?

    Lali

  • Hi Lali,

    Thank you for the reply, but this does not help me. I have reviewed the bare metal text file; I posted the contents of it in my second post. I've already generated the binaries, as stated in the same post. I am looking for more specific instructions on how to use/build the binaries into a .out file. How do I create a CCS application using the binaries, makefile and .c file that are provided?

    From my brief experience with this EVM, I've needed to generate app files from CCS to flash anything onto the board; this requires CCS to have a .out file to build off. I haven't found any instructions how to do this with bare metal application with only .c files. Within the csl_dcan_loopback_app folder from your first image, there are 2 folders: bin & obj. I've generated the proper binaries for the idkAM572x and the contents of the folders are .xe66 and .map files; not .bin. The bin is the folder, and I'm not understanding how to flash the contained files; or how to use them in general.

    I've successfully built the RTOS version of the loopback application as stated in my first post. We do not have a use for the TI RTOS in our application at this time, but would still like to use the AM5728 Sitara chip. Please provide support for the bare metal application. 

    Thank you.

  • Alec,

    "How do I create a CCS application using the binaries, makefile and .c file that are provided?"

    We have some documentation on creating a CCS application by pulling in the makefile based parameters, and create a project here
    processors.wiki.ti.com/.../Creating_a_CCS_Project_for_SBL_on_AM572x_GP_EVM

    So, I assume that you want to convert the makefile based DCAN bare-metal example to a CCS project similar to the SBL conversion in the wiki? correct?

    Lali
  • Yes. I have gone through this tutorial once, created the CCS project, loaded the libraries and executed it. How do I adapt my dcan baremetal files to this? I understand the flashing to SD card part too.

  • You need to add -DSOC_AM572x to your compiler flags. For CSL header files, the resolution of IP headers is conditional based on the SOC_<Device> definition as explained in the CSL documentation:

    software-dl.ti.com/.../Device_Drivers.html
  • Rahul Prabhu said:
    You need to add -DSOC_AM572x to your compiler flags.

    Thank you very much Rahul! I have been able to proceed a bit further. Now I am getting unresolved symbols when I build the file. 

    **** Build of configuration Debug for project dcan_baremetal ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building target: "dcan_baremetal.out"
    Invoking: ARM Linker
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7M4 --code_state=16 -me --define=am5728 --define=core0 --define=SOC_AM572x -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -k --asm_listing -z -m"dcan_baremetal.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/lib" -i"C:/ti/pdk_am57xx_1_0_11/packages" -i"C:/ti/pdk_am57xx_1_0_11/packages" -i"C:/ti/pdk_am57xx_1_0_11/packages" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" --reread_libs --define=CORE0=1 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="dcan_baremetal_linkInfo.xml" --rom_model -o "dcan_baremetal.out" "./board.obj" "./csl_device_common.obj" "./dcan_loopback_app.obj" "./dcan_loopback_baremetal_main.obj" "./priv/dcan.obj" "../AM57xx_CM4.cmd"  -llibc.a -l"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/lib/rtsv7M4_T_le_v4SPD16_eabi.lib" 
    <Linking>
     
     undefined      first referenced       
      symbol            in file            
     ---------      ----------------       
     Board_init     ./dcan_loopback_app.obj
     UARTConfigGets ./dcan_loopback_app.obj
     UARTConfigPuts ./dcan_loopback_app.obj
     
    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "dcan_baremetal.out" not built
     
    >> Compilation failure
    makefile:148: recipe for target 'dcan_baremetal.out' failed
    gmake[1]: *** [dcan_baremetal.out] Error 1
    makefile:144: recipe for target 'all' failed
    gmake: *** [all] Error 2
    
    **** Build Finished ****

    I was able to find a lot of the missing files/references. But I can't seem to find "UARTConfigGets" and "UARTConfigPuts" anywhere. Please point me to the correct link location so I can continue to try to build this application. 

  • I found the requested functions inside of:
    C:\ti\pdk_am57xx_1_0_11\packages\ti\csl\example\utils\uart_console\src\uartConfig.c
    But when I link to this file I get even more broken symbols.

    I've also tried loading in the board_init() from:
    C:\ti\pdk_am57xx_1_0_11\packages\ti\board\src
    And same problem. Many broken paths. Why is this so difficult to accomplish?
  • Alec,

    The process of creating a CCS project from a application that is setup for makefile based build requires user to follow the same steps to enabled compilation and linking process. We typically recommend user to run the make and capture the log in the text file and then compare it to the log in CCS to build the project.

    In your link step, you are not linking to the dependent libraries so I would expect them to be unresolved symbols. you should link the board, CSL, UART, I2C driver libraries as shown here:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_FAQ

    Regards,
    Rahul
  • **** Build of configuration Debug for project dcan_baremetal ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building target: "dcan_baremetal.out"
    Invoking: ARM Linker
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7M4 --code_state=16 -me --define=am5728 --define=core0 --define=SOC_AM572x -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -k --asm_listing -z -m"dcan_baremetal.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/lib" -i"C:/ti/pdk_am57xx_1_0_11/packages" -i"C:/ti/pdk_am57xx_1_0_11/packages" -i"C:/ti/pdk_am57xx_1_0_11/packages" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" --reread_libs --define=CORE0=1 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="dcan_baremetal_linkInfo.xml" --rom_model -o "dcan_baremetal.out" "./board.obj" "./csl_device_common.obj" "./dcan_loopback_app.obj" "./dcan_loopback_baremetal_main.obj" "./priv/dcan.obj" "../AM57xx_CM4.cmd"  -llibc.a -l"C:/ti/pdk_am57xx_1_0_11/packages/example/utils/uart_console/lib/am572x/a15/release" -l"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/lib/rtsv7M4_T_le_v4SPD16_eabi.lib" 
    <Linking>
    "../AM57xx_CM4.cmd", line 58: error #10008-D: cannot find file "INPUT"
    "../AM57xx_CM4.cmd", line 59: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of "("
    
     
     undefined      first referenced       
      symbol            in file            
     ---------      ----------------       
     Board_init     ./dcan_loopback_app.obj
     UARTConfigGets ./dcan_loopback_app.obj
     UARTConfigPuts ./dcan_loopback_app.obj
     
    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "dcan_baremetal.out" not built
     
    >> Compilation failure
    makefile:149: recipe for target 'dcan_baremetal.out' failed
    gmake[1]: *** [dcan_baremetal.out] Error 1
    makefile:145: recipe for target 'all' failed
    gmake: *** [all] Error 2
    
    **** Build Finished ****
    

    As directed on the linked page, Option 2, I added the INPUT information to the AM57xx_CM4.cmd file, under the MEMORY and SECTIONS. It says it cannot understand "Input" so I don't know how I am supposed to link it in without the GCC. Unless I am putting it in the wrong file. Please advise. 

  • Converted my project compiler from the TI v18.1.2.LTS to GNU. Then had to define the -DSOC_AM572x in the compiler flags. Then I put the libraries and files in the GNU Linker as shown:

    For some reason it is not finding the ti.board.aa15fg file in the linked location. I've verified it's there. Here's my error from the console:

    **** Build of configuration Debug__GNU for project dcan_baremetal ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building target: "dcan_baremetal.out"
    Invoking: GNU Linker
    "C:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -Dam5728 -Dcore0 -DSOC_AM572x -Og -g -gdwarf-3 -gstrict-dwarf -Wall -mcpu=cortex-a15 -Wl,-Map,"dcan_baremetal.map" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/gpio/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evm572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/utils/profiling/lib/a15/release" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"dcan_baremetal.out" "./dcan_loopback_app.o" "./dcan_loopback_baremetal_main.o" -Wl,-T"../AM572x.lds"  -Wl,--start-group -lc -l:ti.drv.i2c.aa15fg -l:ti.drv.gpio.profiling.aa15fg -l:ti.drv.uart.aa15fg -l:ti.board.aa15fg -l:ti.csl.aa15fg -l:ti.osal.aa15fg -l:ti.utils.profiling.aa15fg -Wl,--end-group 
    makefile:151: recipe for target 'dcan_baremetal.out' failed
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -l:ti.board.aa15fg
    collect2.exe: error: ld returned 1 exit status
    gmake[1]: *** [dcan_baremetal.out] Error 1
    makefile:147: recipe for target 'all' failed
    gmake: *** [all] Error 2
    
    **** Build Finished ****

  • 2678.buildLog.txt
    **** Build of configuration Debug__GNU for project dcan_baremetal ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building file: "../dcan_loopback_baremetal_main.c"
    Invoking: GNU Compiler
    "C:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfpu=vfpv4 -Dam5728 -Dcore0 -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/Users/alecphillips/workspace_v8/dcan_baremetal" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"dcan_loopback_baremetal_main.d" -MT"dcan_loopback_baremetal_main.o"   -o"dcan_loopback_baremetal_main.o" "../dcan_loopback_baremetal_main.c"
    Finished building: "../dcan_loopback_baremetal_main.c"
     
    Building file: "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
    Invoking: GNU Compiler
    "C:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfpu=vfpv4 -Dam5728 -Dcore0 -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/Users/alecphillips/workspace_v8/dcan_baremetal" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"dcan_loopback_app.d" -MT"dcan_loopback_app.o"   -o"dcan_loopback_app.o" "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
    Finished building: "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
     
    Building target: "dcan_baremetal.out"
    Invoking: GNU Linker
    "C:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -Dam5728 -Dcore0 -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -Og -g -gdwarf-3 -gstrict-dwarf -Wall -mcpu=cortex-a15 -Wl,-Map,"dcan_baremetal.map" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/gpio/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/utils/profiling/lib/a15/release" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"dcan_baremetal.out" "./dcan_loopback_app.o" "./dcan_loopback_baremetal_main.o" -Wl,-T"../AM572x.lds"  -Wl,--start-group -lc -l:ti.drv.i2c.aa15fg -l:ti.drv.gpio.profiling.aa15fg -l:ti.drv.uart.aa15fg -l:ti.csl.aa15fg -l:ti.osal.aa15fg -l:ti.utils.profiling.aa15fg -l:ti.board.aa15fg -Wl,--end-group 
    makefile:151: recipe for target 'dcan_baremetal.out' failed
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_common.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_common.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(dcan.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(dcan.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_lld_init.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_lld_init.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmam572x_pinmux.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmam572x_pinmux.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_clock.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_clock.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_ddr.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_ddr.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_pll.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_pll.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayDevice.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayDevice.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayInit.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayInit.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(iodelay_config.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(iodelay_config.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_drv.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_drv.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v1.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v1.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_stdio.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_stdio.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_ascii_utils.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_ascii_utils.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_drv.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_drv.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_soc.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_soc.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_v1.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_v1.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_xbar.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_xbar.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(i2c.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(i2c.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(uart.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(uart.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(RegisterIntr_tirtos.oa15fg) uses VFP register arguments, dcan_baremetal.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(RegisterIntr_tirtos.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: cannot find entry symbol Entry; defaulting to 80000000
    ./dcan_loopback_app.o: In function `mainMenu':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:807: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:808: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:809: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:810: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:814: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_app.o:C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:815: more undefined references to `UARTConfigPuts' follow
    ./dcan_loopback_app.o: In function `mainMenu':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:818: undefined reference to `UARTConfigGets'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:828: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_app.o: In function `execTest':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:854: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:903: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_baremetal_main.o: In function `dcanLoopbackTest':
    C:\Users\alecphillips\workspace_v8\dcan_baremetal\Debug__GNU/../dcan_loopback_baremetal_main.c:178: undefined reference to `UARTConfigPuts'
    C:\Users\alecphillips\workspace_v8\dcan_baremetal\Debug__GNU/../dcan_loopback_baremetal_main.c:292: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_baremetal_main.o:C:\Users\alecphillips\workspace_v8\dcan_baremetal\Debug__GNU/../dcan_loopback_baremetal_main.c:151: more undefined references to `UARTConfigPuts' follow
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-exit.o): In function `exit':
    exit.c:(.text.exit+0x1c): undefined reference to `_exit'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/soc/am572x/I2C_soc.c:146: undefined reference to `pru_dmem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x4): undefined reference to `pru_imem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x8): undefined reference to `pru_dmem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0xc): undefined reference to `pru_imem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x10): undefined reference to `pru_dmem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x14): undefined reference to `pru_imem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x18): undefined reference to `pru_dmem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x1c): undefined reference to `pru_imem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg): In function `I2C_close_v2':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:832: undefined reference to `PRUICSS_pruDisable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:833: undefined reference to `PRUICSS_pruReset'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:837: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:838: undefined reference to `PRUICSS_pruInitMemory'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg): In function `I2C_v2_pruIcssInit':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:667: undefined reference to `PRUICSS_socGetInitCfg'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:674: undefined reference to `PRUICSS_create'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:678: undefined reference to `PRUICSS_pinMuxConfig'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:680: undefined reference to `PRUICSS_pruDisable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:682: undefined reference to `PRUICSS_pruIntcInit'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:684: undefined reference to `PRUICSS_pruReset'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:686: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:687: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:714: undefined reference to `PRUICSS_getICSSVersion'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:715: undefined reference to `PRUICSS_getICSSVersion'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:776: undefined reference to `PRUICSS_pruEnable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:691: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:695: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:701: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:705: undefined reference to `PRUICSS_pruWriteMemory'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `ti_sysbios_knl_Semaphore_Params_init':
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Semaphore.h:547: undefined reference to `ti_sysbios_knl_Semaphore_Params__init(void) static'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:159: undefined reference to `ti_sysbios_knl_Semaphore_construct'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:147: undefined reference to `ti_sysbios_knl_Semaphore_construct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_delete':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:178: undefined reference to `ti_sysbios_knl_Semaphore_destruct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_pend':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:214: undefined reference to `ti_sysbios_knl_Semaphore_pend__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_post':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:234: undefined reference to `ti_sysbios_knl_Semaphore_post__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_clearInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:107: undefined reference to `ti_sysbios_family_arm_gic_Hwi_clearInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:170: undefined reference to `xdc_runtime_Error_init__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `ti_sysbios_family_arm_gic_Hwi_Params_init':
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/gic/Hwi.h:1165: undefined reference to `ti_sysbios_family_arm_gic_Hwi_Params__init(void) static'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:201: undefined reference to `ti_sysbios_family_arm_gic_Hwi_construct'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:204: undefined reference to `xdc_runtime_Error_check__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:174: undefined reference to `ti_sysbios_family_arm_gic_Hwi_construct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_delete':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:226: undefined reference to `ti_sysbios_family_arm_gic_Hwi_destruct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disableInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:256: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_enableInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:264: undefined reference to `ti_sysbios_family_arm_gic_Hwi_enableInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `_DebugP_assert':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Main_Module__id(void) const'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Main_Module__id(void) const'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Assert_raise(int0_t)'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `Osal_getThreadType':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:101: undefined reference to `ti_sysbios_BIOS_getThreadType__E'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:101: undefined reference to `ti_sysbios_BIOS_getThreadType__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `Osal_delay':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:133: undefined reference to `ti_sysbios_knl_Task_sleep__E'
    collect2.exe: error: ld returned 1 exit status
    gmake[1]: *** [dcan_baremetal.out] Error 1
    gmake: *** [all] Error 2
    makefile:147: recipe for target 'all' failed
    
    **** Build Finished ****
    

    Please see attached Build Log after successfully linking to ti.board.aa15fg. 

  • Rather than continue to play around in a project that was created with the wrong compiler, I've created a new project from scratch and will provide instructions on how I got to the build log in my previous posting. 

    File -> New -> CCS Project:

    Copy over dcan_loopback_baremetal_main.c from C:\ti\pdk_am57xx_1_0_11\packages\ti\csl\example\dcan\dcanLoopback\baremetal.

    Right-click project -> Properties -> CCS Build -> GNU Compiler: Edit Flags... Write "-DSOC_AM572x" (no quotes).

    CCS Build -> GNU Compiler -> Directories: add in the PDK_INSTALL_PATH

    CCS Build -> GNU Linker -> Libraries: Add the following:

    Libraries:
    :ti.drv.gpio.profiling.aa15fg
    :ti.drv.i2c.aa15fg
    :ti.drv.uart.aa15fg
    :ti.board.aa15fg
    :ti.csl.aa15fg
    :ti.osal.aa15fg
    :ti.utils.profiling.aa15fg
    
    Library Search Path:
    ${PDK_INSTALL_PATH}\ti\utils\profiling\lib\a15\release
    ${PDK_INSTALL_PATH}\osal\lib\tirtos\am572x\a15\release
    ${PDK_INSTALL_PATH}\csl\lib\am572x\a15\release
    ${PDK_INSTALL_PATH}\board\lib\evmAM572x\a15\release
    ${PDK_INSTALL_PATH}\drv\uart\lib\am572x\a15\release
    ${PDK_INSTALL_PATH}\drv\i2c\lib\am572x\a15\release
    ${PDK_INSTALL_PATH}\drv\gpio\lib\am572x\a15\release

    And here is the attached build log & errors:

    new_build_log.txt
    **** Build of configuration Debug for project can_baremetal_CortexA ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building target: "can_baremetal_CortexA.out"
    Invoking: GNU Linker
    "C:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -Dam5728 -Dcore0 -DSOC_AM572x -Og -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mcpu=cortex-a15 -Wl,-Map,"can_baremetal_CortexA.map" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/utils/profiling/lib/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/gpio/lib/am572x/a15/release" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"can_baremetal_CortexA.out" "./dcan_loopback_app.o" "./dcan_loopback_baremetal_main.o" "./startup_ARMCA15.o" -Wl,-T"../AM572x.lds"  -Wl,--start-group -l:ti.drv.gpio.profiling.aa15fg -l:ti.drv.i2c.aa15fg -l:ti.drv.uart.aa15fg -l:ti.board.aa15fg -l:ti.csl.aa15fg -l:ti.osal.aa15fg -l:ti.utils.profiling.aa15fg -lc -Wl,--end-group 
    makefile:152: recipe for target 'can_baremetal_CortexA.out' failed
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_lld_init.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_lld_init.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmam572x_pinmux.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmam572x_pinmux.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_clock.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_clock.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_ddr.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_ddr.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_pll.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_pll.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayDevice.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayDevice.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayInit.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayInit.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(iodelay_config.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(iodelay_config.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_common.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_common.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(dcan.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(dcan.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_drv.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_drv.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v1.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v1.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_stdio.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_stdio.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_ascii_utils.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_ascii_utils.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_drv.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_drv.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_soc.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_soc.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_v1.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_v1.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_xbar.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_xbar.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(i2c.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(i2c.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(uart.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(uart.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg)
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(RegisterIntr_tirtos.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(RegisterIntr_tirtos.oa15fg)
    ./dcan_loopback_app.o: In function `mainMenu':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:807: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:808: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:809: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:810: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:814: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_app.o:C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:815: more undefined references to `UARTConfigPuts' follow
    ./dcan_loopback_app.o: In function `mainMenu':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:818: undefined reference to `UARTConfigGets'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:828: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_app.o: In function `execTest':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:854: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:903: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_baremetal_main.o: In function `dcanLoopbackTest':
    C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug/../dcan_loopback_baremetal_main.c:178: undefined reference to `UARTConfigPuts'
    C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug/../dcan_loopback_baremetal_main.c:292: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_baremetal_main.o:C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug/../dcan_loopback_baremetal_main.c:151: more undefined references to `UARTConfigPuts' follow
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/soc/am572x/I2C_soc.c:146: undefined reference to `pru_dmem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x4): undefined reference to `pru_imem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x8): undefined reference to `pru_dmem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0xc): undefined reference to `pru_imem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x10): undefined reference to `pru_dmem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x14): undefined reference to `pru_imem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x18): undefined reference to `pru_dmem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x1c): undefined reference to `pru_imem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg): In function `I2C_close_v2':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:832: undefined reference to `PRUICSS_pruDisable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:833: undefined reference to `PRUICSS_pruReset'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:837: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:838: undefined reference to `PRUICSS_pruInitMemory'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg): In function `I2C_v2_pruIcssInit':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:667: undefined reference to `PRUICSS_socGetInitCfg'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:674: undefined reference to `PRUICSS_create'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:678: undefined reference to `PRUICSS_pinMuxConfig'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:680: undefined reference to `PRUICSS_pruDisable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:682: undefined reference to `PRUICSS_pruIntcInit'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:684: undefined reference to `PRUICSS_pruReset'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:686: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:687: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:714: undefined reference to `PRUICSS_getICSSVersion'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:715: undefined reference to `PRUICSS_getICSSVersion'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:776: undefined reference to `PRUICSS_pruEnable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:691: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:695: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:701: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:705: undefined reference to `PRUICSS_pruWriteMemory'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `ti_sysbios_knl_Semaphore_Params_init':
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Semaphore.h:547: undefined reference to `ti_sysbios_knl_Semaphore_Params__init(void) static'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:159: undefined reference to `ti_sysbios_knl_Semaphore_construct'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:147: undefined reference to `ti_sysbios_knl_Semaphore_construct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_delete':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:178: undefined reference to `ti_sysbios_knl_Semaphore_destruct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_pend':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:214: undefined reference to `ti_sysbios_knl_Semaphore_pend__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_post':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:234: undefined reference to `ti_sysbios_knl_Semaphore_post__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_clearInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:107: undefined reference to `ti_sysbios_family_arm_gic_Hwi_clearInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:170: undefined reference to `xdc_runtime_Error_init__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `ti_sysbios_family_arm_gic_Hwi_Params_init':
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/gic/Hwi.h:1165: undefined reference to `ti_sysbios_family_arm_gic_Hwi_Params__init(void) static'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:201: undefined reference to `ti_sysbios_family_arm_gic_Hwi_construct'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:204: undefined reference to `xdc_runtime_Error_check__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:174: undefined reference to `ti_sysbios_family_arm_gic_Hwi_construct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_delete':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:226: undefined reference to `ti_sysbios_family_arm_gic_Hwi_destruct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disableInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:256: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_enableInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:264: undefined reference to `ti_sysbios_family_arm_gic_Hwi_enableInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `_DebugP_assert':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Main_Module__id(void) const'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Main_Module__id(void) const'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Assert_raise(int0_t)'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `Osal_getThreadType':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:101: undefined reference to `ti_sysbios_BIOS_getThreadType__E'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:101: undefined reference to `ti_sysbios_BIOS_getThreadType__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `Osal_delay':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:133: undefined reference to `ti_sysbios_knl_Task_sleep__E'
    collect2.exe: error: ld returned 1 exit status
    gmake[1]: *** [can_baremetal_CortexA.out] Error 1
    gmake: *** [all] Error 2
    makefile:148: recipe for target 'all' failed
    
    **** Build Finished ****
    

    What am I missing now?

  • Alec,

    I am a bit tied up so apologize in advance for the slower responses.

    This is a GCC compiler version compatibility issue. The Processor SDK RTOS release ships with the GCC compiler that was used to build the drivers and the libraries to avoid these kind of issues.

    There are work arounds for these issues but my experience is to stick with compatible version of the tool chain until the SDK environment is migrated to the new toolchain baseline. Could you please go to the CCS General settings and use the GCC compiler version that is provided in the SDK package.

    Regards,
    Rahul
  • Hi Rahul,

    Thanks for the reply. No problem, I understand being busy.

    I went through to determine the correct GCC compiler version for the SDK. It appears to be V6.3.1 based on this folder location:

    C:\ti\gcc-arm-none-eabi-6-2017-q1-update\lib\gcc\arm-none-eabi\6.3.1

    I changed the GNU Complier to this version and rebuilt. I linked in the files properly, and now it is not finding the .aa15fg files.


    I had messed up the pathing to the libraries. Fixed that, and now am getting the same errors at build time:

    4807.new_build_log3.txt
    **** Build of configuration Debug__GNU for project can_baremetal_CortexA ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building target: "can_baremetal_CortexA.out"
    Invoking: GNU Linker
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -Dam5728 -Dcore0 -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -Og -g -gdwarf-3 -gstrict-dwarf -Wall -mcpu=cortex-a15 -Wl,-Map,"can_baremetal_CortexA.map" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/utils/profiling/lib/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/gpio/lib/am572x/a15/release" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"can_baremetal_CortexA.out" "./startup_ARMCA15.o" "./dcan_loopback_app.o" "./dcan_loopback_baremetal_main.o" -Wl,-T"../AM572x.lds"  -Wl,--start-group -lc -l:ti.drv.gpio.profiling.aa15fg -l:ti.drv.i2c.aa15fg -l:ti.drv.uart.aa15fg -l:ti.board.aa15fg -l:ti.csl.aa15fg -l:ti.osal.aa15fg -l:ti.utils.profiling.aa15fg -Wl,--end-group 
    makefile:152: recipe for target 'can_baremetal_CortexA.out' failed
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_lld_init.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_lld_init.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmam572x_pinmux.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmam572x_pinmux.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_clock.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_clock.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_ddr.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_ddr.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_pll.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(evmAM572x_pll.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayDevice.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayDevice.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayInit.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(boardPadDelayInit.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(iodelay_config.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(iodelay_config.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_common.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_common.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(dcan.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(dcan.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_drv.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_drv.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v1.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v1.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_stdio.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_stdio.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_ascii_utils.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_ascii_utils.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_drv.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_drv.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_soc.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_soc.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_v1.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg(UART_v1.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_xbar.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(csl_device_xbar.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(i2c.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(i2c.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(uart.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(uart.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(RegisterIntr_tirtos.oa15fg) uses VFP register arguments, can_baremetal_CortexA.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(RegisterIntr_tirtos.oa15fg)
    ./dcan_loopback_app.o: In function `mainMenu':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:807: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:808: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:809: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:810: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:814: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_app.o:C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:815: more undefined references to `UARTConfigPuts' follow
    ./dcan_loopback_app.o: In function `mainMenu':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:818: undefined reference to `UARTConfigGets'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:828: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_app.o: In function `execTest':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:854: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:903: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_baremetal_main.o: In function `dcanLoopbackTest':
    C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug__GNU/../dcan_loopback_baremetal_main.c:178: undefined reference to `UARTConfigPuts'
    C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug__GNU/../dcan_loopback_baremetal_main.c:292: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_baremetal_main.o:C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug__GNU/../dcan_loopback_baremetal_main.c:151: more undefined references to `UARTConfigPuts' follow
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-exit.o): In function `exit':
    exit.c:(.text.exit+0x1c): undefined reference to `_exit'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x0): undefined reference to `pru_dmem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x4): undefined reference to `pru_imem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x8): undefined reference to `pru_dmem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0xc): undefined reference to `pru_imem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x10): undefined reference to `pru_dmem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x14): undefined reference to `pru_imem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x18): undefined reference to `pru_dmem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x1c): undefined reference to `pru_imem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg): In function `I2C_close_v2':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:832: undefined reference to `PRUICSS_pruDisable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:833: undefined reference to `PRUICSS_pruReset'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:837: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:838: undefined reference to `PRUICSS_pruInitMemory'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg): In function `I2C_v2_pruIcssInit':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:667: undefined reference to `PRUICSS_socGetInitCfg'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:674: undefined reference to `PRUICSS_create'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:678: undefined reference to `PRUICSS_pinMuxConfig'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:680: undefined reference to `PRUICSS_pruDisable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:682: undefined reference to `PRUICSS_pruIntcInit'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:684: undefined reference to `PRUICSS_pruReset'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:686: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:687: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:714: undefined reference to `PRUICSS_getICSSVersion'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:715: undefined reference to `PRUICSS_getICSSVersion'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:776: undefined reference to `PRUICSS_pruEnable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:691: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:695: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:701: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:705: undefined reference to `PRUICSS_pruWriteMemory'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `ti_sysbios_knl_Semaphore_Params_init':
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Semaphore.h:547: undefined reference to `ti_sysbios_knl_Semaphore_Params__init(void) static'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:159: undefined reference to `ti_sysbios_knl_Semaphore_construct'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:147: undefined reference to `ti_sysbios_knl_Semaphore_construct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_delete':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:178: undefined reference to `ti_sysbios_knl_Semaphore_destruct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_pend':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:214: undefined reference to `ti_sysbios_knl_Semaphore_pend__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_post':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:234: undefined reference to `ti_sysbios_knl_Semaphore_post__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_clearInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:107: undefined reference to `ti_sysbios_family_arm_gic_Hwi_clearInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:170: undefined reference to `xdc_runtime_Error_init__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `ti_sysbios_family_arm_gic_Hwi_Params_init':
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/gic/Hwi.h:1165: undefined reference to `ti_sysbios_family_arm_gic_Hwi_Params__init(void) static'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:201: undefined reference to `ti_sysbios_family_arm_gic_Hwi_construct'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:204: undefined reference to `xdc_runtime_Error_check__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:174: undefined reference to `ti_sysbios_family_arm_gic_Hwi_construct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_delete':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:226: undefined reference to `ti_sysbios_family_arm_gic_Hwi_destruct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disableInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:256: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_enableInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:264: undefined reference to `ti_sysbios_family_arm_gic_Hwi_enableInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `_DebugP_assert':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Main_Module__id(void) const'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Main_Module__id(void) const'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Assert_raise(int0_t)'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `Osal_getThreadType':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:101: undefined reference to `ti_sysbios_BIOS_getThreadType__E'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:101: undefined reference to `ti_sysbios_BIOS_getThreadType__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `Osal_delay':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:133: undefined reference to `ti_sysbios_knl_Task_sleep__E'
    collect2.exe: error: ld returned 1 exit status
    gmake[1]: *** [can_baremetal_CortexA.out] Error 1
    gmake: *** [all] Error 2
    makefile:148: recipe for target 'all' failed
    
    **** Build Finished ****
    

  • Still looking into this; found a Stack Overflow thread with a similar issue to what I'm dealing with. Changed some of the build options:

    here is the new build log:

    new_build_log4.txt
    **** Build of configuration Debug__GNU for project can_baremetal_CortexA ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building file: "../startup_ARMCA15.S"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -march=armv7-a -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=neon -Dam5728 -Dcore0 -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/Users/alecphillips/workspace_v8/can_baremetal_CortexA" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"startup_ARMCA15.d" -MT"startup_ARMCA15.o" -x assembler-with-cpp  -o"startup_ARMCA15.o" "../startup_ARMCA15.S"
    Finished building: "../startup_ARMCA15.S"
     
    Building file: "../dcan_loopback_baremetal_main.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -march=armv7-a -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=neon -Dam5728 -Dcore0 -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/Users/alecphillips/workspace_v8/can_baremetal_CortexA" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"dcan_loopback_baremetal_main.d" -MT"dcan_loopback_baremetal_main.o"   -o"dcan_loopback_baremetal_main.o" "../dcan_loopback_baremetal_main.c"
    Finished building: "../dcan_loopback_baremetal_main.c"
     
    Building file: "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -march=armv7-a -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=neon -Dam5728 -Dcore0 -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/Users/alecphillips/workspace_v8/can_baremetal_CortexA" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"dcan_loopback_app.d" -MT"dcan_loopback_app.o"   -o"dcan_loopback_app.o" "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
    Finished building: "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
     
    Building target: "can_baremetal_CortexA.out"
    Invoking: GNU Linker
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -Dam5728 -Dcore0 -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -Og -g -gdwarf-3 -gstrict-dwarf -Wall -mfloat-abi=hard -Wl,-Map,"can_baremetal_CortexA.map" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/utils/profiling/lib/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/gpio/lib/am572x/a15/release" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"can_baremetal_CortexA.out" "./startup_ARMCA15.o" "./dcan_loopback_app.o" "./dcan_loopback_baremetal_main.o" -Wl,-T"../AM572x.lds"  -Wl,--start-group -lc -l:ti.drv.gpio.profiling.aa15fg -l:ti.drv.i2c.aa15fg -l:ti.drv.uart.aa15fg -l:ti.board.aa15fg -l:ti.csl.aa15fg -l:ti.osal.aa15fg -l:ti.utils.profiling.aa15fg -Wl,--end-group 
    makefile:152: recipe for target 'can_baremetal_CortexA.out' failed
    ./dcan_loopback_app.o: In function `mainMenu':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:807: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:808: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:809: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:810: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:814: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_app.o:C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:815: more undefined references to `UARTConfigPuts' follow
    ./dcan_loopback_app.o: In function `mainMenu':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:818: undefined reference to `UARTConfigGets'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:828: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_app.o: In function `execTest':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:854: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:903: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_baremetal_main.o: In function `dcanLoopbackTest':
    C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug__GNU/../dcan_loopback_baremetal_main.c:178: undefined reference to `UARTConfigPuts'
    C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug__GNU/../dcan_loopback_baremetal_main.c:292: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_baremetal_main.o:C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug__GNU/../dcan_loopback_baremetal_main.c:151: more undefined references to `UARTConfigPuts' follow
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libc.a(lib_a-exit.o): In function `exit':
    exit.c:(.text.exit+0x2c): undefined reference to `_exit'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x0): undefined reference to `pru_dmem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x4): undefined reference to `pru_imem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x8): undefined reference to `pru_dmem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0xc): undefined reference to `pru_imem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x10): undefined reference to `pru_dmem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x14): undefined reference to `pru_imem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x18): undefined reference to `pru_dmem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x1c): undefined reference to `pru_imem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg): In function `I2C_close_v2':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:832: undefined reference to `PRUICSS_pruDisable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:833: undefined reference to `PRUICSS_pruReset'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:837: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:838: undefined reference to `PRUICSS_pruInitMemory'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg): In function `I2C_v2_pruIcssInit':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:667: undefined reference to `PRUICSS_socGetInitCfg'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:674: undefined reference to `PRUICSS_create'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:678: undefined reference to `PRUICSS_pinMuxConfig'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:680: undefined reference to `PRUICSS_pruDisable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:682: undefined reference to `PRUICSS_pruIntcInit'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:684: undefined reference to `PRUICSS_pruReset'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:686: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:687: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:714: undefined reference to `PRUICSS_getICSSVersion'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:715: undefined reference to `PRUICSS_getICSSVersion'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:776: undefined reference to `PRUICSS_pruEnable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:691: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:695: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:701: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:705: undefined reference to `PRUICSS_pruWriteMemory'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `ti_sysbios_knl_Semaphore_Params_init':
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Semaphore.h:547: undefined reference to `ti_sysbios_knl_Semaphore_Params__init(void) static'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:159: undefined reference to `ti_sysbios_knl_Semaphore_construct'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:147: undefined reference to `ti_sysbios_knl_Semaphore_construct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_delete':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:178: undefined reference to `ti_sysbios_knl_Semaphore_destruct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_pend':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:214: undefined reference to `ti_sysbios_knl_Semaphore_pend__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(SemaphoreP_tirtos.oa15fg): In function `SemaphoreP_post':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/SemaphoreP_tirtos.c:234: undefined reference to `ti_sysbios_knl_Semaphore_post__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_clearInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:107: undefined reference to `ti_sysbios_family_arm_gic_Hwi_clearInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:170: undefined reference to `xdc_runtime_Error_init__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `ti_sysbios_family_arm_gic_Hwi_Params_init':
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/gic/Hwi.h:1165: undefined reference to `ti_sysbios_family_arm_gic_Hwi_Params__init(void) static'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:201: undefined reference to `ti_sysbios_family_arm_gic_Hwi_construct'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:204: undefined reference to `xdc_runtime_Error_check__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_create':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:174: undefined reference to `ti_sysbios_family_arm_gic_Hwi_construct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_delete':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:226: undefined reference to `ti_sysbios_family_arm_gic_Hwi_destruct'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disable':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:246: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_disableInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:256: undefined reference to `ti_sysbios_family_arm_gic_Hwi_disableInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_enableInterrupt':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:264: undefined reference to `ti_sysbios_family_arm_gic_Hwi_enableInterrupt__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(HwiP_tirtos.oa15fg): In function `HwiP_restore':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/HwiP_tirtos.c:300: undefined reference to `ti_sysbios_family_arm_gic_Hwi_restoreFxn__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `_DebugP_assert':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Main_Module__id(void) const'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Main_Module__id(void) const'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:94: undefined reference to `xdc_runtime_Assert_raise(int0_t)'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `Osal_getThreadType':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:101: undefined reference to `ti_sysbios_BIOS_getThreadType__E'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:101: undefined reference to `ti_sysbios_BIOS_getThreadType__E'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/tirtos/am572x/a15/release/ti.osal.aa15fg(Utils_tirtos.oa15fg): In function `Osal_delay':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/src/tirtos/Utils_tirtos.c:133: undefined reference to `ti_sysbios_knl_Task_sleep__E'
    collect2.exe: error: ld returned 1 exit status
    gmake[1]: *** [can_baremetal_CortexA.out] Error 1
    gmake: *** [all] Error 2
    makefile:148: recipe for target 'all' failed
    
    **** Build Finished ****
    

  • I realized I was still using a library reference to the tirtos folder, so I revised it to ${PDK_INSTALL_PATH}\ti\osal\lib\nonos\am572x\a15\release

    Here is the updated build log:

    new_build_log5.txt
    **** Build of configuration Debug__GNU for project can_baremetal_CortexA ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building target: "can_baremetal_CortexA.out"
    Invoking: GNU Linker
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -Dam5728 -Dcore0 -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -Og -g -gdwarf-3 -gstrict-dwarf -Wall -mfloat-abi=hard -Wl,-Map,"can_baremetal_CortexA.map" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/utils/profiling/lib/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/nonos/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/gpio/lib/am572x/a15/release" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"can_baremetal_CortexA.out" "./startup_ARMCA15.o" "./dcan_loopback_app.o" "./dcan_loopback_baremetal_main.o" -Wl,-T"../AM572x.lds"  -Wl,--start-group -lc -l:ti.drv.gpio.profiling.aa15fg -l:ti.drv.i2c.aa15fg -l:ti.drv.uart.aa15fg -l:ti.board.aa15fg -l:ti.csl.aa15fg -l:ti.osal.aa15fg -l:ti.utils.profiling.aa15fg -Wl,--end-group 
    makefile:152: recipe for target 'can_baremetal_CortexA.out' failed
    ./dcan_loopback_app.o: In function `mainMenu':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:807: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:808: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:809: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:810: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:814: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_app.o:C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:815: more undefined references to `UARTConfigPuts' follow
    ./dcan_loopback_app.o: In function `mainMenu':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:818: undefined reference to `UARTConfigGets'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:828: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_app.o: In function `execTest':
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:854: undefined reference to `UARTConfigPuts'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c:903: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_baremetal_main.o: In function `dcanLoopbackTest':
    C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug__GNU/../dcan_loopback_baremetal_main.c:178: undefined reference to `UARTConfigPuts'
    C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug__GNU/../dcan_loopback_baremetal_main.c:292: undefined reference to `UARTConfigPuts'
    ./dcan_loopback_baremetal_main.o:C:\Users\alecphillips\workspace_v8\can_baremetal_CortexA\Debug__GNU/../dcan_loopback_baremetal_main.c:151: more undefined references to `UARTConfigPuts' follow
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libc.a(lib_a-exit.o): In function `exit':
    exit.c:(.text.exit+0x2c): undefined reference to `_exit'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x0): undefined reference to `pru_dmem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x4): undefined reference to `pru_imem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x8): undefined reference to `pru_dmem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0xc): undefined reference to `pru_imem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x10): undefined reference to `pru_dmem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x14): undefined reference to `pru_imem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x18): undefined reference to `pru_dmem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x1c): undefined reference to `pru_imem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg): In function `I2C_close_v2':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:832: undefined reference to `PRUICSS_pruDisable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:833: undefined reference to `PRUICSS_pruReset'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:837: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:838: undefined reference to `PRUICSS_pruInitMemory'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg(I2C_v2.oa15fg): In function `I2C_v2_pruIcssInit':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:667: undefined reference to `PRUICSS_socGetInitCfg'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:674: undefined reference to `PRUICSS_create'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:678: undefined reference to `PRUICSS_pinMuxConfig'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:680: undefined reference to `PRUICSS_pruDisable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:682: undefined reference to `PRUICSS_pruIntcInit'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:684: undefined reference to `PRUICSS_pruReset'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:686: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:687: undefined reference to `PRUICSS_pruInitMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:714: undefined reference to `PRUICSS_getICSSVersion'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:715: undefined reference to `PRUICSS_getICSSVersion'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:776: undefined reference to `PRUICSS_pruEnable'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:691: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:695: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:701: undefined reference to `PRUICSS_pruWriteMemory'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\i2c/src/v2/I2C_v2.c:705: undefined reference to `PRUICSS_pruWriteMemory'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/nonos/am572x/a15/release/ti.osal.aa15fg(Arch_util.oa15fg): In function `OsalArch_gicInit':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/arch/core/a15/Arch_util.c:79: undefined reference to `CSL_armGicIsInitialized'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/arch/core/a15/Arch_util.c:99: undefined reference to `CSL_armGicGetCpuIfHandler'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/arch/core/a15/Arch_util.c:88: undefined reference to `CSL_armGicGetCpuIfHandler'
    C:\ti\pdk_am57xx_1_0_11\packages\ti\osal/arch/core/a15/Arch_util.c:89: undefined reference to `CSL_armGicGetDistHandler'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg(interrupt.oa15fg): In function `Intc_Init':
    C:\ti\pdk_am57xx_1_0_11\packages\ti\csl/./arch/a15/src/interrupt.c:130: undefined reference to `CSL_A15_INIT_copyVectorTable'
    collect2.exe: error: ld returned 1 exit status
    gmake[1]: *** [can_baremetal_CortexA.out] Error 1
    gmake: *** [all] Error 2
    makefile:148: recipe for target 'all' failed
    
    **** Build Finished ****
    

  • Still in the same spot I was in before. Undefined references to "UARTConfigPuts" and "UARTConfigGets".
  • Alec,

    The UARTConfigPuts and UARTConfgiGets are APIs that are part of the uart_console library which is a common utils that all the CSL examples utilize. If you look at the make file in the bare metal folder, you will see that the examples also links to csl_uart_console library other than the ones that you have linked in the CCS project.

    To generate this library, you need to invoke the build :

    cd pdk_am57xx_<version>\packages

    pdksetupenv.bat

    cd ti\csl

    gmake examples

    this will build the examples and the csl_uart_console library . The CSL_UART_CONSOLE library will be located in the folder:

    pdk_am57xx_1_0_11\packages\ti\csl\example\utils\uart_console\lib\am572x\a15\release

    I have provide pre-built version of this library that you can link to your CCS project :

    csl_uart_console.zip

    Regards,

    Rahul

  • Rahul,
    I had that file already so I linked to it like the other libraries and added the directory. This cleared up the " UARTConfigPuts and UARTConfgiGets" specific errors but I still have undefined references to other APIs. How can I determine which libraries I am missing? I cannot wait on TI responses for each item, yet I do not know enough about the libraries to determine this on my own.
    Thank you.
  • I determined the missing libraries based off the missing API names and added the associated library. I.E. I was missing "PRUICSS_socGetInitCfg" and others with PRUICSS in the name. So I went to C:\ti\pdk_am57xx_1_0_11\packages\ti\drv and navigated through the pruss folder to get the library ti.drv.pruss.aa15fg added in. I repeated the process with the others. This has cleared up most of my errors.

    Now when building, it's just saying the recipe failed. And the undefined references are no longer errors but are in the build log.

    new_build_log6.txt
    **** Build of configuration Debug__GNU for project can_baremetal_CortexA ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all 
     
    Building file: "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -march=armv7-a -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8/can_baremetal_CortexA" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"dcan_loopback_app.d" -MT"dcan_loopback_app.o"   -o"dcan_loopback_app.o" "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
    Finished building: "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
     
    Building file: "../dcan_loopback_baremetal_main.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -march=armv7-a -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8/can_baremetal_CortexA" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"dcan_loopback_baremetal_main.d" -MT"dcan_loopback_baremetal_main.o"   -o"dcan_loopback_baremetal_main.o" "../dcan_loopback_baremetal_main.c"
    Finished building: "../dcan_loopback_baremetal_main.c"
     
    Building file: "../startup_ARMCA15.S"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -march=armv7-a -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8/can_baremetal_CortexA" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"startup_ARMCA15.d" -MT"startup_ARMCA15.o" -x assembler-with-cpp  -o"startup_ARMCA15.o" "../startup_ARMCA15.S"
    Finished building: "../startup_ARMCA15.S"
     
    Building target: "can_baremetal_CortexA.out"
    Invoking: GNU Linker
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -Og -g -gdwarf-3 -gstrict-dwarf -Wall -mfloat-abi=hard -Wl,-Map,"can_baremetal_CortexA.map" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/utils/profiling/lib/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/pruss/lib/am572x/a15/release/" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/gpio/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/nonos/am572x/a15/release" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"can_baremetal_CortexA.out" "./startup_ARMCA15.o" "./dcan_loopback_baremetal_main.o" "./dcan_loopback_app.o" -Wl,-T"../AM572x.lds"  -Wl,--start-group -l:ti.drv.gpio.profiling.aa15fg -l:ti.drv.pruss.profiling.aa15fg -l:ti.drv.i2c.aa15fg -l:csl_uart_console.aa15fg -lc -l:ti.drv.i2c.aa15fg -l:ti.drv.uart.aa15fg -l:ti.board.aa15fg -l:ti.csl.aa15fg -l:ti.csl.init.aa15fg -l:ti.osal.aa15fg -l:ti.utils.profiling.aa15fg -Wl,--end-group 
    makefile:155: recipe for target 'can_baremetal_CortexA.out' failed
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libc.a(lib_a-exit.o): In function `exit':
    exit.c:(.text.exit+0x2c): undefined reference to `_exit'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x0): undefined reference to `pru_dmem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x4): undefined reference to `pru_imem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x8): undefined reference to `pru_dmem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0xc): undefined reference to `pru_imem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x10): undefined reference to `pru_dmem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x14): undefined reference to `pru_imem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x18): undefined reference to `pru_dmem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x1c): undefined reference to `pru_imem1_rev2_end'
    collect2.exe: error: ld returned 1 exit status
    gmake: *** [can_baremetal_CortexA.out] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x0): undefined reference to `pru_dmem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x4): undefined reference to `pru_imem0_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x8): undefined reference to `pru_dmem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0xc): undefined reference to `pru_imem0_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x10): undefined reference to `pru_dmem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x14): undefined reference to `pru_imem1_rev2_start'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x18): undefined reference to `pru_dmem1_rev2_end'
    C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg(I2C_soc.oa15fg):(.rodata.i2cFwMemPtr+0x1c): undefined reference to `pru_imem1_rev2_end'
    collect2.exe: error: ld returned 1 exit status

    I've tried changing the library path to the  ti.board.aa15fg library file. I've tried:

    ${PDK_INSTALL_PATH}\ti\board\lib\idkAM572x\a15\release

    ${PDK_INSTALL_PATH}\ti\board\lib\evmAM572x\a15\release

    and

    ${PDK_INSTALL_PATH}\ti\board\lib

    Please advise what is wrong with my libraries. Thank you.

  • Alec,

    The easiest way to locate missing symbols is using a workspace search using an editor or using Windows search (works after indexing is complete).  I use Notepad++ to search for text withing files. There are plenty of free editor with this functionality. I believe CCS editor also does a search for text.

    Your board library seems to be statically linked to an I2C driver that was build using PRU_ICSS_FW symbol defined.  This includes the symbols that you are missing.

    Can you check if you can remove unused symbols and functions using the following GCC flags:

    Regards,

    Rahul 

  • I added the three options as suggested. I'm now getting an error referencing to _exit in lib_a-exit.o.

    I use Sublime Text v3 for my text editor, but Notepadd++ is good too.

    new_build_log7.txt
    **** Build of configuration Debug__GNU for project can_baremetal_CortexA ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all 
     
    Building file: "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -march=armv7-a -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8/can_baremetal_CortexA" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8" -Og -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"dcan_loopback_app.d" -MT"dcan_loopback_app.o"   -o"dcan_loopback_app.o" "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
    Finished building: "C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/dcan_loopback_app.c"
     
    Building file: "../dcan_loopback_baremetal_main.c"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -march=armv7-a -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8/can_baremetal_CortexA" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8" -Og -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"dcan_loopback_baremetal_main.d" -MT"dcan_loopback_baremetal_main.o"   -o"dcan_loopback_baremetal_main.o" "../dcan_loopback_baremetal_main.c"
    Finished building: "../dcan_loopback_baremetal_main.c"
     
    Building file: "../startup_ARMCA15.S"
    Invoking: GNU Compiler
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -march=armv7-a -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8/can_baremetal_CortexA" -I"C:/ti/pdk_am57xx_1_0_11/packages" -I"C:/Users/alecphillips/workspace_v8" -Og -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"startup_ARMCA15.d" -MT"startup_ARMCA15.o" -x assembler-with-cpp  -o"startup_ARMCA15.o" "../startup_ARMCA15.S"
    Finished building: "../startup_ARMCA15.S"
     
    Building target: "can_baremetal_CortexA.out"
    Invoking: GNU Linker
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -DSOC_AM572x -DAM572x_BUILD -DevmAM572x -Og -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -mfloat-abi=hard -Wl,-Map,"can_baremetal_CortexA.map" -Wl,--gc-sections -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/evmAM572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/board/board/obj/idkAM572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/utils/profiling/lib/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/pruss/lib/am572x/a15/release/" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/gpio/lib/am572x/a15/release" -L"C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/nonos/am572x/a15/release" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"can_baremetal_CortexA.out" "./startup_ARMCA15.o" "./dcan_loopback_baremetal_main.o" "./dcan_loopback_app.o" -Wl,-T"../AM572x.lds"  -Wl,--start-group -lc -l:I2C_soc.oa15fg -l:ti.drv.i2c.aa15fg -l:ti.drv.i2c.profiling.aa15fg -l:ti.drv.uart.aa15fg -l:csl_uart_console.aa15fg -l:ti.board.aa15fg -l:ti.csl.aa15fg -l:ti.csl.init.aa15fg -l:ti.drv.pruss.aa15fg -l:ti.drv.pruss.profiling.aa15fg -l:ti.osal.aa15fg -l:ti.utils.profiling.aa15fg -l:ti.drv.gpio.profiling.aa15fg -Wl,--end-group 
    makefile:157: recipe for target 'can_baremetal_CortexA.out' failed
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libc.a(lib_a-exit.o): In function `exit':
    exit.c:(.text.exit+0x2c): undefined reference to `_exit'
    collect2.exe: error: ld returned 1 exit status
    gmake: *** [can_baremetal_CortexA.out] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • These symbols are not from TI drivers package but seem to be part of GCC compiler libraries :
    stackoverflow.com/.../exit-c-text0x18-undefined-reference-to-exit-when-using-arm-none-eabi-gcc

    Regard,
    Rahul
  • Excellent, it builds the .out file now.
    However, I am not getting any activity when I load the .out file while running my Target Config file. The GEL files all load fine with the board. Then I load the .out, it loads the main(), and it runs but nothing happens on my board or on my PuTTY output. I have not made any alterations to the application .c or .h files.
  • This probably would need you to debug and single step through the code. I would start by confirming the output from the example built using makefile and see if there are any defines missing in your CCS project.

    Again, I emphasize that the only way to get parity when converting a makefile based example to CCS project is to confirm that the build log appears the same in windows command line using gmake and CCS build console.

    Regards,
    Rahul

  • When you say 'makefile' do you refer to the one that came with the loopback_app.c file; or the makefile generated by CCS when Debugging?

    Also, can you please clarify what you mean by "the only way to get parity when converting a makefile based example to CCS project is to confirm that the build log appears the same in windows command line using gmake and CCS build console." Is that the PuTTY Terminal or are you referring to cmd.exe?
  • Alec,

    The CSL examples can be built using makefile provided in the folder: pdk_am57xx_1_0_11\packages\ti\csl using the command:

    gmake examples.

    This will build all the examples so if you want to just build the dcan example, you can comment out other examples in the file csl_component.mk file in that directory.

    To make your life easier, I have made the modification and captured the log for you to refer:

    dcan_example_build_log.txt
    C:\ti\AM57XX~1\pdk_am57xx_1_0_11\packages\ti\csl>gmake examples
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal/
    gmake[1]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    C:/ti/AM57XX~1/xdctools_3_50_03_33_core/bin/mkdir -p C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release
    C:/ti/AM57XX~1/xdctools_3_50_03_33_core/bin/mkdir -p C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x
    C:/ti/AM57XX~1/xdctools_3_50_03_33_core/bin/mkdir -p C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps
    C:/ti/AM57XX~1/xdctools_3_50_03_33_core/bin/mkdir -p C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release
    C:/ti/AM57XX~1/xdctools_3_50_03_33_core/bin/mkdir -p C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps
    C:/ti/AM57XX~1/xdctools_3_50_03_33_core/bin/mkdir -p C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/configuro
    gmake  board i2c uart osal_nonos csl csl_utils_common csl_uart_console csl_init 
    gmake[2]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/board -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/board'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/board'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/i2c -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/i2c'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/i2c'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/uart -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/uart'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/uart'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/osal -f build/makefile_nonos.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/osal'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/osal'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl -fmakefile.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/arch -fmakefile_init.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/arch'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/arch'
    gmake[2]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake  C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg
    gmake[2]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    # Compiling idkAM572x:am572x:a15_0:release:csl_dcan_loopback_app: dcan_loopback_baremetal_main.c
    C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps/dcan_loopback_baremetal_main.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -DidkAM572x -IC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -IC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_baremetal_main.oa15fg dcan_loopback_baremetal_main.c
    # Compiling idkAM572x:am572x:a15_0:release:csl_dcan_loopback_app: ../dcan_loopback_app.c
    C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps/dcan_loopback_app.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -DidkAM572x -IC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -IC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_app.oa15fg ../dcan_loopback_app.c
    # Linking into C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg...
    #
    C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -Werror -Wl,-static -Wl,--gc-sections -nostartfiles -mfloat-abi=hard --specs=rdimon.specs --specs=nano.specs    --entry Entry   C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_baremetal_main.oa15fg  C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_app.oa15fg  -Wl,-T,C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/lnk_a15.cmd  -Wl,-Map=C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg.map -o C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg  -Wl,--start-group C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/osal/lib/nonos/am572x/a15/release/ti.osal.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common/lib/am572x/a15/release/csl_utils_common.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/csl_uart_console.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.init.aa15fg    C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/hard/libgcc.a C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libc_nano.a C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libm.a  C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/librdimon_nano.a C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libg_nano.a    -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/hard -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/osal/lib/nonos/am572x/a15/release/ti.osal.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common/lib/am572x/a15/release/csl_utils_common.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/csl_uart_console.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.init.aa15fg -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/hard/libgcc.a -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libc_nano.a -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libm.a -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/librdimon_nano.a -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libg_nano.a  -lstdc++ -lgcc -lm -lgcc -lc -lrdimon -Wl,--end-group
    #
    # C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg created.
    #
    gmake[2]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake[1]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    Nothing to be done for am572x csl_mcan_unit_test_app

    Modified CSL_component.mk to reproduce.

    csl_component.mk

    Prebuilt binary for dcan loopback that is created using makefiles at location:

    pdk_am57xx_1_0_11\packages\ti\binary\csl_dcan_loopback_app\bin\idkAM572x

    idkAM572x_dcan_loopback_binary.zip

    Please load and run the csl_dcan_loopback_app_a15_0_release.xa15fg on the IDK platform and let me know if this works for you.

    Regards,

    Rahul

  • Thanks for providing the modified CSL file. I checked my folders for the binaries you provided and they did not exist prior to running the gmake examples. However, I did not get the same output in my console as you. See my DCAN build log:

    dcan_build_log.txt
    Microsoft Windows [Version 10.0.17134.191]
    (c) 2018 Microsoft Corporation. All rights reserved.
    
    C:\Users\alecphillips>cd C:\ti\pdk_am57xx_1_0_11\packages
    
    C:\ti\pdk_am57xx_1_0_11\packages>pdksetupenv.bat
    
    C:\ti\pdk_am57xx_1_0_11\packages>cd C:\ti\pdk_am57xx_1_0_11\packages\ti\csl
    
    C:\ti\pdk_am57xx_1_0_11\packages\ti\csl>gmake examples
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal/
    gmake[1]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    C:/ti/xdctools_3_50_03_33_core/bin/mkdir -p C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release
    C:/ti/xdctools_3_50_03_33_core/bin/mkdir -p C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps
    C:/ti/xdctools_3_50_03_33_core/bin/mkdir -p C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/configuro
    gmake  board i2c uart osal_nonos csl csl_utils_common csl_uart_console csl_init
    gmake[2]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/board -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/board'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/board'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart'
    # Compiling am572x:a15_0:release:uart: src/v1/UART_v1.c
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/.deps/UART_v1.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -I. -Isrc -Isrc/v1 -Isrc/v0 -Isoc -IC:/ti/pdk_am57xx_1_0_11/packages -IC:/ti/edma3_lld_2_12_05_30C/packages -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_v1.oa15fg src/v1/UART_v1.c
    #
    # Archiving am572x:a15_0:release:uart into C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg ...
    #
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-ar cr C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg   C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_drv.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_v1.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_v0.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_stdio.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_ascii_utils.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_status.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_soc.oa15fg
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/osal -f build/makefile_nonos.mk
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/osal'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/osal'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/csl -fmakefile.mk
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl'
    # Compiling am572x:a15_0:release:csl: src/ip/uart/V1/priv/uart.c
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/.deps/uart.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -I. -I./soc/am572x/src -I./arch/a15 -I./arch/a15/V0 -Isrc/ip/dcan/V0 -I. -Isrc/ip/dcan/V0/V0_0 -I. -Isrc/ip/edma/V1 -I. -Isrc/ip/edma/V0 -I. -Isrc/ip/elm/V0 -Isrc/ip/epwm/V0 -I. -Isrc/ip/gpio/V1 -I. -Isrc/ip/gpmc/V1 -I. -Isrc/ip/i2c/V2 -Isrc/ip/l3fw/V0 -I. -Isrc/ip/mailbox/V0 -Isrc/ip/mailbox/V0/V0_0 -I. -Isrc/ip/mcasp/V0 -I. -Isrc/ip/mcspi/V0 -I. -Isrc/ip/mmc/V0 -I. -Isrc/ip/mmu/dsp/V0 -I. -Isrc/ip/pcie/V1 -I. -Isrc/ip/qspi/V1 -I. -Isrc/ip/spinlock/V0 -I. -Isrc/ip/timer/V1 -I. -Isrc/ip/uart/V1 -I. -Isrc/ip/wd_timer/V0 -Isrc/ip/tsc/V0 -Isrc/ip/chip/V0 -Isrc/ip/ecap/V0 -I. -Isrc/ip/ecap/V0 -Isrc/ip/arm_gic/V0 -IC:/ti/pdk_am57xx_1_0_11/packages -IC:/ti/pdk_am57xx_1_0_11/packages/ti/csl -IC:/ti/pdk_am57xx_1_0_11/packages/ti/csl -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/uart.oa15fg src/ip/uart/V1/priv/uart.c
    #
    # Archiving am572x:a15_0:release:csl into C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg ...
    #
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-ar cr C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_a15Asm.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_a15_intr.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_device_xbar.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_version.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_device_common.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mpu_wugen.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/interrupt.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_a15.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/dcan.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/edma.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3Init.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3Open.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3Close.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3HwSetup.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3HwControl.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3GetHwStatus.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3GetHwSetup.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3ChannelOpen.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3ChannelClose.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3HwChannelSetup.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3HwChannelControl.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3GetHwChannelStatus.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3GetHwChannelSetup.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3Param.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/elm.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_epwm.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/gpio_v2.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/gpmc.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/i2c.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/l3fw.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mailbox.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mcasp.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mcspi.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mmcsd.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mmu.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/qspi.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/spinlock.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/timer.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/uart.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/wd_timer.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/ecap.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/pcie.oa15fg
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console'
    # Compiling am572x:a15_0:release:csl_uart_console: ./src/uartConfig.c
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/example/utils/uart_console/obj/am572x/a15/release/.deps/uartConfig.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -I. -I./inc -IC:/ti/pdk_am57xx_1_0_11/packages -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/example/utils/uart_console/obj/am572x/a15/release/uartConfig.oa15fg ./src/uartConfig.c
    #
    # Archiving am572x:a15_0:release:csl_uart_console into C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/csl_uart_console.aa15fg ...
    #
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-ar cr C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/csl_uart_console.aa15fg   C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/example/utils/uart_console/obj/am572x/a15/release/uartConfig.oa15fg
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/arch -fmakefile_init.mk
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/arch'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/arch'
    gmake[2]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg
    gmake[2]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    # Compiling idkAM572x:am572x:a15_0:release:csl_dcan_loopback_app: dcan_loopback_baremetal_main.c
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps/dcan_loopback_baremetal_main.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -DidkAM572x -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -IC:/ti/pdk_am57xx_1_0_11/packages -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_baremetal_main.oa15fg dcan_loopback_baremetal_main.c
    # Compiling idkAM572x:am572x:a15_0:release:csl_dcan_loopback_app: ../dcan_loopback_app.c
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps/dcan_loopback_app.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -DidkAM572x -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -IC:/ti/pdk_am57xx_1_0_11/packages -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_app.oa15fg ../dcan_loopback_app.c
    # Linking into C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg...
    #
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -Werror -Wl,-static -Wl,--gc-sections -nostartfiles -mfloat-abi=hard --specs=rdimon.specs --specs=nano.specs    --entry Entry   C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_baremetal_main.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_app.oa15fg  -Wl,-T,C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/lnk_a15.cmd  -Wl,-Map=C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg.map -o C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg  -Wl,--start-group C:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg C:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/nonos/am572x/a15/release/ti.osal.aa15fg C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common/lib/am572x/a15/release/csl_utils_common.aa15fg C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/csl_uart_console.aa15fg C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.init.aa15fg    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/hard/libgcc.a C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libc_nano.a C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libm.a  C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/librdimon_nano.a C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libg_nano.a    -LC:/ti/gcc-arm-none-eabi-6-2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/hard -LC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard -LC:/ti/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg -LC:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg -LC:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg -LC:/ti/pdk_am57xx_1_0_11/packages/ti/osal/lib/nonos/am572x/a15/release/ti.osal.aa15fg -LC:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg -LC:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common/lib/am572x/a15/release/csl_utils_common.aa15fg -LC:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/csl_uart_console.aa15fg -LC:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.init.aa15fg -LC:/ti/gcc-arm-none-eabi-6-2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/hard/libgcc.a -LC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libc_nano.a -LC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libm.a -LC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/librdimon_nano.a -LC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libg_nano.a  -lstdc++ -lgcc -lm -lgcc -lc -lrdimon -Wl,--end-group
    #
    # C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg created.
    #
    gmake[2]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake[1]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    Nothing to be done for am572x csl_mcan_unit_test_app
    
    C:\ti\pdk_am57xx_1_0_11\packages\ti\csl>

    I am also uncertain how to "load and run the csl_dcan_loopback_app_a15_0_release.xa15fg on the IDK platform" This is literally the question I asked in my first post on September 5th: How do I load the binary files? Do you mean add them to the GCC Libraries/Linker? Or have I missed how to run a binary file in CCS? (I have unzipped the files, but don't know what to do next)

  • Alec,

    The .out file can be run by loading the binaries over an emulator using the setup here:
    processors.wiki.ti.com/.../TMDXIDK5728_Hardware_Setup

    I need to check internally what the HW setup for this example is as I was not able to find this in the REadMe.txt found in the example. There is some documentation that I found of this example which indicates that there is internal and external loopback supported in the code:

    External loopback:
    This application tests DCAN external loopback test mode. DCAN external loopback test mode tests the internal feedback from Tx output to Rx input with external transceiver. Transmitted messages are treated as received messages and can be stored into message objects if they pass acceptance filtering. This example needs two EVM setup.

    Internal Loopback:
    This application tests DCAN internal loopback test mode. DCAN internal loopback test mode tests the internal feedback from Tx output to Rx input without external transceiver. Transmitted messages are treated as received messages and can be stored into message objects if they pass acceptance filtering.

    I will need to contact the subject matter expert to get a full description of the example setup.

    Regards,
    Rahul
  • Rahul,

    You asked me to load "csl_dcan_loopback_app_a15_0_release.xa15fg on the IDK platform"; so I'm not sure why you're linking me to a page with instructions on how to load .out files externally. I am unclear on the terms you are using. One post says binaries and .xa15fg files; now you say .out file when none have been provided, but you don't reference the .out file I created with my project, so it makes no sense to me.

    So I followed your guide anyways. I had a bootable SD card, with nothing on it. I put it in the EVM. Then made a new Target Config file for IDK. I connected to the A15_0 core. I loaded the "csl_dcan_loopback_app_a15_0_release.xa15fg" from pdk_am57xx_1_0_11\packages\ti\binary\csl_dcan_loopback_app\bin\idkAM572x (Run -> Load-> Load Program).

    It ran the DCAN application. Woohoo!

    **** DCAN APPLICATION TEST ****
    Menu:
    1. DCAN External Loopback test - DCAN1 Instance
    2. DCAN Internal Loopback test - DCAN2 Instance
    x. Exit
    Select DCAN APPLICATION TEST : 1
    1
    DCAN External Loopback Test App: DCAN1 MSG OBJ 1 (TX) to DCAN1 MSG OBJ 2 (RX)
    
    DCAN -- External Loopback Testmode test Passed!!
    
    
    **** DCAN APPLICATION TEST ****
    Menu:
    1. DCAN External Loopback test - DCAN1 Instance
    2. DCAN Internal Loopback test - DCAN2 Instance
    x. Exit
    Select DCAN APPLICATION TEST :
    Enter Valid option
    
    
    **** DCAN APPLICATION TEST ****
    Menu:
    1. DCAN External Loopback test - DCAN1 Instance
    2. DCAN Internal Loopback test - DCAN2 Instance
    x. Exit
    Select DCAN APPLICATION TEST : 1
    1
    DCAN External Loopback Test App: DCAN1 MSG OBJ 1 (TX) to DCAN1 MSG OBJ 2 (RX)
    
    DCAN -- External Loopback Testmode test Passed!!
    
    
    **** DCAN APPLICATION TEST ****
    Menu:
    1. DCAN External Loopback test - DCAN1 Instance
    2. DCAN Internal Loopback test - DCAN2 Instance
    x. Exit
    Select DCAN APPLICATION TEST :
    Enter Valid option
    
    
    **** DCAN APPLICATION TEST ****
    Menu:
    1. DCAN External Loopback test - DCAN1 Instance
    2. DCAN Internal Loopback test - DCAN2 Instance
    x. Exit
    Select DCAN APPLICATION TEST : 2
    2
    DCAN Internal Loopback Test App: DCAN2 MSG OBJ 1 (TX) to DCAN2 MSG OBJ 2 (RX)
    
    DCAN -- Internal Loopback Testmode test Passed!!
    
    
    **** DCAN APPLICATION TEST ****
    Menu:
    1. DCAN External Loopback test - DCAN1 Instance
    2. DCAN Internal Loopback test - DCAN2 Instance
    x. Exit
    Select DCAN APPLICATION TEST :
    Enter Valid option
    
    
    **** DCAN APPLICATION TEST ****
    Menu:
    1. DCAN External Loopback test - DCAN1 Instance
    2. DCAN Internal Loopback test - DCAN2 Instance
    x. Exit
    Select DCAN APPLICATION TEST : x
    x
    DCAN Application Test exiting...

    Now what?

  • Alec,

    Sorry for the confusion. .xa15fg and .out are both ELF binaries just the extension used by CCS and the makefiles is different. What you did is exactly what I wanted you to try. this indicates that the DCAN test built using makefiles runs fine on your platform.

    Now the task is to compare your build log in CCS with what is provided using the makefile (in .txt file that I attached). There is some difference due to which your binary doesn`t run correctly and that is exactly we need to track down.

    Regards,
    Rahul

  • Rahul,

    Great explanation, thank you very much. Going through the .txt logs and notice something right away, my xdc_tools folder is only loading the obj folder, and not the associated bin folder too. 

    Yours looks like this:

    /csl_dcan_loopback_app/obj/idkAM572x/a15_0/release
    /csl_dcan_loopback_app/bin/idkAM572x
    /csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps
    /csl_dcan_loopback_app/obj/idkAM572x/a15_0/release
    /csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps
    /csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/configuro

    Mine looks like this:

    /csl_dcan_loopback_app/obj/idkAM572x/a15_0/release
    /csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps
    /csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/configuro

    Then in the next section when it starts loading the libraries, there's another difference:

    Yours:

    gmake[2]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/board -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/board'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/board'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/i2c -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/i2c'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/i2c'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/uart -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/uart'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/uart'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/osal -f build/makefile_nonos.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/osal'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/osal'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl -fmakefile.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl'

    Mine:

    gmake[2]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/board -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/board'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/board'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c -f build/makefile.mk
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/i2c'

    And yours does something else:

    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console'
    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/arch -fmakefile_init.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/arch'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/arch'
    gmake[2]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg
    gmake[2]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    # Compiling idkAM572x:am572x:a15_0:release:csl_dcan_loopback_app: dcan_loopback_baremetal_main.c

    Mine starts doing something very different all of a sudden:

    # Compiling am572x:a15_0:release:uart: src/v1/UART_v1.c
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/.deps/UART_v1.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -I. -Isrc -Isrc/v1 -Isrc/v0 -Isoc -IC:/ti/pdk_am57xx_1_0_11/packages -IC:/ti/edma3_lld_2_12_05_30C/packages -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_v1.oa15fg src/v1/UART_v1.c
    #
    # Archiving am572x:a15_0:release:uart into C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg ...
    #
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-ar cr C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg   C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_drv.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_v1.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_v0.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_stdio.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_ascii_utils.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_status.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/drv/uart/uart/obj/am572x/a15/release/UART_soc.oa15fg
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/drv/uart'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/osal -f build/makefile_nonos.mk
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/osal'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/osal'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/csl -fmakefile.mk
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl'
    # Compiling am572x:a15_0:release:csl: src/ip/uart/V1/priv/uart.c
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/.deps/uart.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -I. -I./soc/am572x/src -I./arch/a15 -I./arch/a15/V0 -Isrc/ip/dcan/V0 -I. -Isrc/ip/dcan/V0/V0_0 -I. -Isrc/ip/edma/V1 -I. -Isrc/ip/edma/V0 -I. -Isrc/ip/elm/V0 -Isrc/ip/epwm/V0 -I. -Isrc/ip/gpio/V1 -I. -Isrc/ip/gpmc/V1 -I. -Isrc/ip/i2c/V2 -Isrc/ip/l3fw/V0 -I. -Isrc/ip/mailbox/V0 -Isrc/ip/mailbox/V0/V0_0 -I. -Isrc/ip/mcasp/V0 -I. -Isrc/ip/mcspi/V0 -I. -Isrc/ip/mmc/V0 -I. -Isrc/ip/mmu/dsp/V0 -I. -Isrc/ip/pcie/V1 -I. -Isrc/ip/qspi/V1 -I. -Isrc/ip/spinlock/V0 -I. -Isrc/ip/timer/V1 -I. -Isrc/ip/uart/V1 -I. -Isrc/ip/wd_timer/V0 -Isrc/ip/tsc/V0 -Isrc/ip/chip/V0 -Isrc/ip/ecap/V0 -I. -Isrc/ip/ecap/V0 -Isrc/ip/arm_gic/V0 -IC:/ti/pdk_am57xx_1_0_11/packages -IC:/ti/pdk_am57xx_1_0_11/packages/ti/csl -IC:/ti/pdk_am57xx_1_0_11/packages/ti/csl -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/uart.oa15fg src/ip/uart/V1/priv/uart.c
    #
    # Archiving am572x:a15_0:release:csl into C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg ...
    #
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-ar cr C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_a15Asm.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_a15_intr.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_device_xbar.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_version.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_device_common.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mpu_wugen.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/interrupt.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_a15.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/dcan.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/edma.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3Init.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3Open.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3Close.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3HwSetup.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3HwControl.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3GetHwStatus.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3GetHwSetup.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3ChannelOpen.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3ChannelClose.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3HwChannelSetup.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3HwChannelControl.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3GetHwChannelStatus.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3GetHwChannelSetup.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_edma3Param.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/elm.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/csl_epwm.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/gpio_v2.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/gpmc.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/i2c.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/l3fw.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mailbox.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mcasp.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mcspi.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mmcsd.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/mmu.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/qspi.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/spinlock.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/timer.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/uart.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/wd_timer.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/ecap.oa15fg  C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/obj/am572x/a15/release/pcie.oa15fg
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common'
    gmake -C C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console
    gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console'
    # Compiling am572x:a15_0:release:csl_uart_console: ./src/uartConfig.c
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/example/utils/uart_console/obj/am572x/a15/release/.deps/uartConfig.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -I. -I./inc -IC:/ti/pdk_am57xx_1_0_11/packages -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/example/utils/uart_console/obj/am572x/a15/release/uartConfig.oa15fg ./src/uartConfig.c
    #
    # Archiving am572x:a15_0:release:csl_uart_console into C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/csl_uart_console.aa15fg ...
    #
    C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-ar cr C:/ti/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/csl_uart_console.aa15fg   C:/ti/pdk_am57xx_1_0_11/packages/ti/binary/ti/csl/example/utils/uart_console/obj/am572x/a15/release/uartConfig.oa15fg

  • So I was reading through the end of the text files, and comparing them, and they are identical after this point:

    gmake -C C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/arch -fmakefile_init.mk
    gmake[3]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/arch'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/arch'
    gmake[2]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake  C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg
    gmake[2]: Entering directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    # Compiling idkAM572x:am572x:a15_0:release:csl_dcan_loopback_app: dcan_loopback_baremetal_main.c
    C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps/dcan_loopback_baremetal_main.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -DidkAM572x -IC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -IC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_baremetal_main.oa15fg dcan_loopback_baremetal_main.c
    # Compiling idkAM572x:am572x:a15_0:release:csl_dcan_loopback_app: ../dcan_loopback_app.c
    C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/.deps/dcan_loopback_app.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG  -DBUILD_A15_0    -DSOC_AM572x -DidkAM572x -IC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -IC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages -I/apps/apps_nonbam/inc -I/ -I/common  -o C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_app.oa15fg ../dcan_loopback_app.c
    # Linking into C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg...
    #
    C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -Werror -Wl,-static -Wl,--gc-sections -nostartfiles -mfloat-abi=hard --specs=rdimon.specs --specs=nano.specs    --entry Entry   C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_baremetal_main.oa15fg  C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/obj/idkAM572x/a15_0/release/dcan_loopback_app.oa15fg  -Wl,-T,C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/lnk_a15.cmd  -Wl,-Map=C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg.map -o C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg  -Wl,--start-group C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/osal/lib/nonos/am572x/a15/release/ti.osal.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common/lib/am572x/a15/release/csl_utils_common.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/csl_uart_console.aa15fg C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.init.aa15fg    C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/hard/libgcc.a C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libc_nano.a C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libm.a  C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/librdimon_nano.a C:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libg_nano.a    -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/hard -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/i2c/lib/am572x/a15/release/ti.drv.i2c.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/drv/uart/lib/am572x/a15/release/ti.drv.uart.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/osal/lib/nonos/am572x/a15/release/ti.osal.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/common/lib/am572x/a15/release/csl_utils_common.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/utils/uart_console/lib/am572x/a15/release/csl_uart_console.aa15fg -LC:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/lib/am572x/a15/release/ti.csl.init.aa15fg -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/hard/libgcc.a -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libc_nano.a -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libm.a -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/librdimon_nano.a -LC:/ti/AM57XX~1/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/hard/libg_nano.a  -lstdc++ -lgcc -lm -lgcc -lc -lrdimon -Wl,--end-group
    #
    # C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/binary/csl_dcan_loopback_app/bin/idkAM572x/csl_dcan_loopback_app_a15_0_release.xa15fg created.
    #
    gmake[2]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    gmake[1]: Leaving directory `C:/ti/AM57XX~1/pdk_am57xx_1_0_11/packages/ti/csl/example/dcan/dcanLoopback/baremetal'
    Nothing to be done for am572x csl_mcan_unit_test_app

  • TI Support,
    I really need a response today for building this application successfully. My group is deciding if we want to even bother using bare metal at this point. Lack of support has been a driving factor in our consideration. One day of helpful responses over a 3 week period is unacceptable. The documentation for the TI-RTOS is significantly more robust than bare metal, which is another important consideration for our use-case. The TI Forum support is vital for Bare Metal development; there is no documentation! The poor response time from these forums forces your customers into using your proprietary RTOS for projects which cannot handle Linux. For users who want more low-level control over their projects, this is disappointing.
    I look forward to a response today.
    Thank you,
    Alec Phillips
  • Alec,

    Thanks for the candid feedback here. The issue reported here is caused not due to the fact that we don`t have bare-metal development support in Processor SDK RTOS but due to the fact that you have been having issue translating an example application that we provide in the SDK using makefile based approach as the out of box experience. As you can see from my post yesterday, these example build correctly from command line as designed and can be loaded and run on the TI evaluation platform without any issues.

    When a user chooses to opt for a different build environment, we do anticipate these kind of issues as you need to setup the paths and the build include all the files that are part of the example and also replicate the compiler flags and build settings exactly in CCS. This is non-trivial as you have seen from this effort and not something that we usually would even support. While we are here to support you and provide guidance through your development, it is difficult for us to take control of your build environment when you diverge from the intended use.

    I acknowledge that there is room for our bare-metal development documentation to improve but it is disappointing to hear these comments about our support especially when we provided a response to your post over the weekend to keep you going and also acknowledged requests from you over private messages.


    Regards,
    Rahul
  • Rahul,

    I understand what you're saying. I appreciate your efforts in this thread, and thank you for supporting me personally on this forum. I agree that the weekend replies you gave were helpful and gave me something to run with Monday morning. That was above my expectations, so I definitely do give you credit for that. However, that was more than 2 weeks after my posting, and I had to wade through unhelpful responses for those 2 weeks (your first post was 9/18, 13 days after my first posting). The fact I had to private message you to get help should be a red flag.

    This was not a custom application that I created for your chip; this bare metal loopback application was provided with the SDK. I simply want to implement it. I'm glad we have determined that my board works fine, and I learned about the different binaries, but the software implementation is still an issue for me and I just do not have time to be spending on this any longer. I again appreciate your personal efforts, but there needs to be better information available for customers to look at for bare metal if you want customers to have an option to implement it on larger designed projects. I understand that in general that a bigger projects may need a more robust system, like RTOS or Linux, but we should not feel obligated to choose between those as our only choices.

    As a user who is newer to embedded programming, it has taken time for me to get an understanding of the TI libraries and the CCS program in general. Having tutorials geared towards bare metal would be incredibly helpful for anyone interested in trying bare metal, and would ultimately ease your burden on the Forums. Another suggestion would to have dedicated support team to Skype or video chat session with customers directly, then addressing the issues immediately, rather than the slower forum process. The simple "hello world" examples are too small scale for anyone with larger design ideas to use. (This thread for example: )

    I do not want to leave this thread on a sour feeling, so please know we still are very interested in the AM5728 chip, and will be using it for our development, but I think we are headed towards using the RTOS at this point.

    Are we able to determine what the problem I'm having with the comparison of the log files? I spent a few hours going through them this morning and would love to figure this out today, if at all possible. 

    Best Regards,

    Alec

  • Please clarify for me Rahul.

    The way to build the example DCAN bare metal application is simply through the command line makefile approach; and then load the binary for the specific core in CCS and launch to target.

    Is that the full process for DCAN bare metal application?


    Thank you,
    Alec
  • Alec Phillips said:
    Please clarify for me Rahul.

    The way to build the example DCAN bare metal application is simply through the command line makefile approach; and then load the binary for the specific core in CCS and launch to target.

    Is that the full process for DCAN bare metal application?


    Thank you,
    Alec

  • Alec,

    Lets keep the conversation on the actual running of the example at that other thread e2e.ti.com/.../735941.

    I'm actually looking into it and will post back on there.

    Lali
  • Okay, I have marked this thread as resolved. Thank you Lali.