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: LCDKOMAP-L138

Other Parts Discussed in Thread: OMAPL138

Tool/software: Code Composer Studio

Hello 

I am working on LCDKOMAPL138 development board.

i have installed starter-ware processor SDK package (processors.wiki.ti.com/.../StarterWare) and I am using CCS studio V.10.1.0

I imported the GPIO_led blink code from location

"..\ti\OMAPL138_StarterWare_1_10_04_01\build\c674x\cgt_ccs\omapl138\lcdkOMAPL138\gpio"

when i build the project i got following warning 

This project was created using a version of compiler that is not currently installed - 7.2.1 [C6000]. Another version of the compiler will be used during build - 8.3.2. See 'Help > Install New Software' and select 'Code Generation Tools Updates' to check if this compiler is available through a CCS update. Visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compiler support. Or <a href="software-dl.ti.com/.../a> and install the compiler, then register it with CCS through 'Preferences > CCS > Build > Compilers'


And on console window i got following message

**** Build of configuration Debug for project gpio_c674x_omapl138_lcdkOMAPL138 ****

/home/zumi/ti/ccs1010/ccs/utils/bin/gmake -k all

gmake: Nothing to be done for 'all'.

**** Build Finished ****

I did not get the .out file and i did not have any error.

 

This process i have also tried on Usb_Serial_Device project and I got following warning message

1.entry-point symbol other than "_c_int00" specified:  "Entry"

2.specific address 0xc3ff7ffc

3.This project was created using a version of compiler that is not currently installed - 4.6.4 [ARM]. Another version of the compiler will be used during build - 15.12.7.LTS. See 'Help > Install New Software' and select 'Code Generation Tools Updates' to check if this compiler is available through a CCS update. Visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compiler support. Or <a href="software-dl.ti.com/.../a> and install the compiler, then register it with CCS through 'Preferences > CCS > Build > Compilers'.

All these warning are from .cmd file which I have attached with this message.

/****************************************************************************/
/* usb_dev_serial.cmd -  v4.5.0 COMMAND FILE FOR LINKING TMS470 32BIS C/C++ PROGRAMS */
/*                                                                          */
/*   Usage:  lnk470 <obj files...>    -o <out file> -m <map file> lnk32.cmd */
/*           cl470 <src files...> -z -o <out file> -m <map file> lnk32.cmd  */
/*                                                                          */
/*   Description: This file is a sample command file that can be used       */
/*                for linking programs built with the TMS470 C/C++          */
/*                Compiler.   Use it as a guideline; you may want to change */
/*                the allocation scheme according to the size of your       */
/*                program and the memory layout of your target system.      */
/*                                                                          */
/*   Notes: (1)   You must specify the directory in which run-time support  */
/*                library is located.  Either add a "-i<directory>" line to */
/*                this file, or use the system environment variable C_DIR   */
/*                to specify a search path for libraries.                   */
/*                                                                          */
/*          (2)   If the run-time support library you are using is not      */
/*                named below, be sure to use the correct name here.        */
/*                                                                          */
/****************************************************************************/
-stack  0x8000                             /* SOFTWARE STACK SIZE           */
-heap   0x2000                             /* HEAP AREA SIZE                */
-e Entry

/* SPECIFY THE SYSTEM MEMORY MAP */

MEMORY
{
		DDR_MEM    	: org = 0xC1080000   len = 0x2F7FFFF     /* RAM */
}

/* SPECIFY THE SECTIONS ALLOCATION INTO MEMORY */

SECTIONS
{
    .init 	 : { 
    			 system_config.lib<init.obj> (.text) 
    		   } load > 0xC1080000
  			
    .text    : load > DDR_MEM              /* CODE                              */
	.data    : load	> DDR_MEM
    .bss     : load > DDR_MEM              /* GLOBAL & STATIC VARS              */
    				RUN_START(bss_start),
					RUN_END(bss_end)
    .const   : load > DDR_MEM              /* SOFTWARE SYSTEM STACK             */
    .cinit   : load > DDR_MEM              /* SOFTWARE SYSTEM STACK             */
    .stack   : load > 0xC3FF7FFC           /* SOFTWARE SYSTEM STACK             */

}


How to resolve this error and get .out file please help me regarding this issue.

Thanks in advance

Best regards

shubham

 

 

 

  • Hello,

    Regarding the compiler versions, go to 'Help -> Install Code Generation Compiler Tools'. Then select the version closest to the one mention in the warning. For example, try installing v7.2.9 for C6000:

    Do the same for the ARM compiler

    Thanks

    ki

  • Hello Ki

    Thank you for your reply

    I followed the procedure and installed v7.2.9 for C6000 and restart the code composer studio and build the the project again and still got the same message on console window


    **** Build of configuration Debug for project gpio_c674x_omapl138_lcdkOMAPL138 ****

    /home/zumi/ti/ccs1010/ccs/utils/bin/gmake -k all 

    gmake: Nothing to be done for 'all'.

    **** Build Finished ****

    ======================================================================================

    And the warning is same as previous one

    This project was created using a version of compiler that is not currently installed - 7.2.1 [C6000]. Another version of the compiler will be used during build - 8.3.2. See 'Help > Install New Software' and select 'Code Generation Tools Updates' to check if this compiler is available through a CCS update. Visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compiler support. Or <a href="software-dl.ti.com/.../a> and install the compiler, then register it with CCS through 'Preferences > CCS > Build > Compilers'.

    Regards

    shubham

  • Not sure why CCS is picking 8.3.2 when you have 7.2.9 installed. Can you explicitly choose 7.2.9 in the project properties? Does it appear in the list?

    Thanks

    ki

  • Hello Ki

    Thank you for your quick reply

    I just checked that compiler version v7.2.9 appear in project window and I selected that but still no changes 

    I just want to know that can this code will be compiled and run on OMAPl138 because I am getting the .out file 

    i have attached screenshot of my project window,I am using CCS v.10.1.0 or shall i go for lower version of ccs

    Regards

    shubham

  • In your screenshot, I can see that you are still configured for compiler version 8.3.2. See if 7.2.9 is available in the dropdown.

    In any case, I tried building the same example with compiler version 8.3.2 with CCS 10.1.0. It builds fine.

    Try 'Project -> Clean' first, then try building the project again.

    Thanks

    ki

  • I had an error in my previous post that I just corrected:

    Try 'Project -> Clean' first, then try building the project again.

  • Hello Ki

    Thank you for your response 

    i have tried the compiler version 7.2.9 

    also tried Project->Clean and the again build the project now i got zero warnings but console window output is same as previous

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    Console Log for Project->Clean

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

    /home/seyed/ti/ccs1011/ccs/utils/bin/gmake -k clean

    rm -rf "gpioLed.hex" "gpioLed.out"
    rm -rf "gpioCardDetect.obj"
    rm -rf "gpioCardDetect.d"
    Finished clean

    **** Build Finished ****

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    =================================================================================================

    Console log after Project->Build


    **** Build of configuration Debug for project gpio_c674x_c6748_lcdkC6748 ****

    /home/seyed/ti/ccs1011/ccs/utils/bin/gmake -k all

    Building file: "/home/seyed/C6748_StarterWare_1_20_04_01/examples/lcdkC6748/gpio/gpioCardDetect.c"
    Invoking: C6000 Compiler
    "/home/seyed/ti/ccs1011/ccs/tools/compiler/c6000_7.2.9/bin/cl6x" -mv6740 -g --define=c6748 --include_path="/home/seyed/ti/ccs1011/ccs/tools/compiler/c6000_7.2.9/include" --include_path="../../../../../../../include" --include_path="../../../../../../../include/hw" --include_path="../../../../../../../include/c674x" --include_path="../../../../../../../include/c674x/c6748" --include_path="../../../../../../../grlib/include" --include_path="../../../../../../../usblib/include" --include_path="../../../../../../../nandlib/include" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="gpioCardDetect.d_raw" "/home/seyed/C6748_StarterWare_1_20_04_01/examples/lcdkC6748/gpio/gpioCardDetect.c"
    Finished building: "/home/seyed/C6748_StarterWare_1_20_04_01/examples/lcdkC6748/gpio/gpioCardDetect.c"

    Building target: "gpioLed.out"
    Invoking: C6000 Linker
    "/home/seyed/ti/ccs1011/ccs/tools/compiler/c6000_7.2.9/bin/cl6x" -mv6740 -g --define=c6748 --diag_warning=225 --abi=eabi -z -m"gpio_c674x_c6748_lcdkC6748.map" --warn_sections -i"/home/seyed/ti/ccs1011/ccs/tools/compiler/c6000_7.2.9/lib" -i"/home/seyed/ti/ccs1011/ccs/tools/compiler/c6000_7.2.9/include" -i"../../../../../../../binary/c674x/cgt_ccs/c6748/drivers/Debug" -i"../../../../../../../binary/c674x/cgt_ccs/c6748/lcdkC6748/platform/Debug" -i"../../../../../../../binary/c674x/cgt_ccs/c6748/system_config/Debug" -i"../../../../../../../binary/c674x/cgt_ccs/c6748/ipclib/Debug" -i"../../../../../../../binary/c674x/cgt_ccs/c6748/usblib/Debug" -i"../../../../../../../binary/c674x/cgt_ccs/utils/Debug" -i"../../../../../../../binary/c674x/cgt_ccs/grlib/Debug" -i"../../../../../../../binary/c674x/cgt_ccs/nandlib/Debug" --reread_libs --xml_link_info="gpioLed_linkInfo.xml" --rom_model -o "gpioLed.out" "./gpioCardDetect.obj" "../gpio.cmd" -llibc.a -ldrivers.lib -lutils.lib -lplatform.lib -lsystem_config.lib
    <Linking>
    Finished building target: "gpioLed.out"

    makefile:166: recipe for target 'post-build' failed
    /bin/sh: 1: copy: not found
    gmake[1]: [post-build] Error 127 (ignored)
    mkdir: cannot create directory ‘..............binaryc674xcgt_ccsc6748lcdkC6748gpioDebug’: File exists

    **** Build Finished ****

    =================================================================================================================

    **** Build of configuration Debug for project gpio_c674x_c6748_lcdkC6748 ****

    /home/seyed/ti/ccs1011/ccs/utils/bin/gmake -k all

    gmake: Nothing to be done for 'all'.

    **** Build Finished ****

    ======================================================================================================================

    We have ordered emulator and we are going to test these driver,so my doubt is are these driver will properly work??till now i just build these driver but now i am going to test these drivers on LCDKOMAPL138 board.as far as i know these are all Pre-Tested driver's,which I imported using CCS studio.

    I will again get back to you once I started De-bugging these drivers on LCDKOMAPL138.

    Thanks In Advance

    Shubham

  • Hello Ki

    Please find the attachment below .

    Regards

    shubham

  • Shivam Khot said:

    We have ordered emulator and we are going to test these driver,so my doubt is are these driver will properly work??till now i just build these driver but now i am going to test these drivers on LCDKOMAPL138 board.as far as i know these are all Pre-Tested driver's,which I imported using CCS studio.

    I will again get back to you once I started De-bugging these drivers on LCDKOMAPL138.

    I will close this thread. As for any issues with the driver project, please start a new thread in the Processors forum. The device experts can guide you further.

    Thansk

    ki