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.

Unable to build Project 0 .out file CCS6 & TMS570LS

Other Parts Discussed in Thread: HALCOGEN

Hi

I am trying out the TMS570 launchpad. After 2 weeks of trying everything I can think of to get this thing working, I am at the point of giving up. I cannot get the CCS to build the out file all I get is numerous errors but there is no documentation to guide me where to look to fix these errors. I am nearly at the point of shelving this board and going back to Microchip products. Listed below is the build console info. Can anyone please guide me as to what is going wrong?


**** Build of configuration Debug for project Project_0 ****

"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building target: Project_0.out'
'Invoking: ARM Linker'
"c:/ti/ccsv6/tools/compiler/arm_5.1.6/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -g --display_error_number --diag_warning=225 --diag_wrap=off --enum_type=packed -z -m"Project_0.map" --heap_size=0x800 --stack_size=0x800 -i"c:/ti/ccsv6/tools/compiler/arm_5.1.6/lib" -i"c:/ti/ccsv6/tools/compiler/arm_5.1.6/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Project_0_linkInfo.xml" --rom_model --be32 -o "Project_0.out"  "./Project_0/source/dabort.obj" "./Project_0/source/esm.obj" "./Project_0/source/het.obj" "./Project_0/source/notification.obj" "./Project_0/source/pinmux.obj" "./Project_0/source/sys_core.obj" "./Project_0/source/sys_intvecs.obj" "./Project_0/source/sys_main.obj" "./Project_0/source/sys_mpu.obj" "./Project_0/source/sys_pcr.obj" "./Project_0/source/sys_phantom.obj" "./Project_0/source/sys_pmu.obj" "./Project_0/source/sys_selftest.obj" "./Project_0/source/sys_startup.obj" "./Project_0/source/sys_vim.obj" "./Project_0/source/system.obj" "../Project_0/source/sys_link.cmd" -l"libc.a"
<Linking>
warning #10366-D: automatic library build: using library "c:\ti\ccsv6\tools\compiler\arm_5.1.6\lib\rtsv7R4_A_be_eabi.lib" for the first time, so it must be built.  This may take a few minutes.
      0 [main] sh 11728 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
C:/Users/GREGLA~1/AppData/Local/Temp/make3804-1.sh: line 1: 11728 Segmentation fault      (core dumped) c:/ti/ccsv6/tools/compiler/arm_51~1.6/bin/armar -qa c:/users/gregla~1/appdata/local/temp/ti04d7~1/rtsv7r4_a_be_eabi.lib *.obj
gmake.exe[1]: *** [library] Error 139
>> ERROR: mklib: gmake error during rtsv7R4_A_be_eabi.lib build
warning #10207-D: automatic RTS selection:  resolving index library "libc.a" to "c:\ti\ccsv6\tools\compiler\arm_5.1.6\lib\rtsv7R4_A_be_eabi.lib", but "c:\ti\ccsv6\tools\compiler\arm_5.1.6\lib\rtsv7R4_A_be_eabi.lib" was not found

 undefined        first referenced                  
  symbol              in file                       
 ---------        ----------------                  
 __TI_auto_init   ./Project_0/source/sys_startup.obj
 __aeabi_d2uiz    ./Project_0/source/het.obj        
 __aeabi_ddiv     ./Project_0/source/het.obj        
 __aeabi_dmul     ./Project_0/source/het.obj        
 __aeabi_ui2d     ./Project_0/source/het.obj        
 __aeabi_uidivmod ./Project_0/source/het.obj        
 exit             ./Project_0/source/sys_startup.obj
 memcpy           ./Project_0/source/het.obj        

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "Project_0.out" not built

>> Compilation failure
gmake: *** [Project_0.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Someone else posted the same issue.

    as a workaround, someone from TI has placed a zip with all the libraries precompiled in this thread:

    http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/380110.aspx?pi307170=3

  • Hi Jan;

    Thanks for the quick reply. I have followed the link and downloaded / unzipped the library file and placed into the corresponding file location. When I tried to rebuild the .out file I came up with the same errors. I looked at the file and assumed that the "le" in the file name referred to the endianness, so I have now changed the endianness in the properties tab of the project to "little". After doing this the build now worked and I have a . out file.

    The problem that I am now faced with is that when I go to the debug screen, the project doesn't load due to a mis match of the target endianness. I have tried to seach the TI site for the same file but with "be" in the files name but without success.

    I'm nearly at my wits end with this.

     

     

  • Hi Jan:

    Update. I have found the "be" file on the TI website, I've now copied that into the appropriate library and now I finally have some action. This has been quite frustrating. I would expect that for an evaluation kit the software package would be complete ( for the examples posted) so people can at least get started with evaluating the boards.

    Thanks for your guidance here though :-)

     

  • The issue seems to be installation related. I've had no problems on a Linux and on a Windows 8.1 installation. But you and another user have both reported this same error happening when building the libraries for the first time.
  • Greg,

    Will check to see if someone from CCS team would help on this.

    Thanks Jan for helping out.

  • Greg,

    I see the same solution being referred to by CCS team

    http://e2e.ti.com/support/development_tools/compiler/f/343/t/380697.aspx

    If your issue is solved, can we close this thread ?

  • Hi Karthihkeyan;

    Yes you might as well close this thread now. By adding the appropriate files to the libraries the project build and worked with the debugger. I felt that I may have had more luck with this board so I tried the PWM project. This project doesn't build either, it generates 118 errors so I have given up on this board/ system and now shelved it due to too much frustration. Mainly because of no guidance on where to start looking to resolve issues when they arise.

  • Greg,

    Thanks for confirming that.

    If you want to play with PWM, then I would recommend you starting with the example provided along with Halcogen (example_hetPwm.c).

    You can also find the step by step help procedure below,

    <Your Drive>\ti\Hercules\HALCoGen\v04.01.00\help\TMS570LS04x.chm

    Hope this helps. If you have more questions do post on e2e.