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.

What CCS version works for BeagleBone



Hello TI employee,

I contacted TI tech support and they recommend to use this forum for a solution even I found some USB problems were NOT solved for at least 3 years!

I'm running into so many problem with CCS-5.5 with Compiler TI v5.1.8 on Windows 7 32-bit Ultimate in evaluating BeagleBone AM335x as a potential candidate MCU for future product. using its OTG as USB host for Bluetooth USB dongle for a serial comm between Host and Target in place of regulater Serial Cable

The most serious problem is frequent very scary BLUESCREEN, crahs and PC recycle power by itself, so LOSS of most recent work!!!

I recalled I was NOT able to compile runtime library on 32-bit Windows 7 and I had to copy from Windows XP.

But the problem is I cannot keep using Windows XP any longer!!!

My question is what is the whole tool set "CSS + Compiler" known working for BeagleBone AM335x ?

Thanks,,

  • Hi,

    I suggest you also post this on the CCS forum: e2e.ti.com/.../81 Their experts will be able to answer your questions better.
  • Hi,

    I am sorry to hear you are having such problems. One thing it is not clear to me is exactly when the BSODs happen: do they happen when CCSv5.5 is open, a debug session is running or something else? Check the threads below where the issue is discussed and several possible root causes are shown. 

    https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/74398/270728#270728

    https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/217732/767181#767181

    https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/100298/352083#352083

    user4327245 said:
    My question is what is the whole tool set "CSS + Compiler" known working for BeagleBone AM335x ?

    AM335x devices and their development boards (including BeagleBone) have been successfully used since early releases of CCSv5 (5.1, 5.2) and, despite some bugs here and there, I could not find a single case of severe instability as you are experiencing. Therefore the release you are using is absolutely fine to work with Beaglebone.

    Hope this helps,

    Rafael

  • Hello,

     I could work fine with old CCS-5.1 on old Windows XP

    I'm NOT able to run it on Windows 7 32-bit Ultimate as it failed to compile and generate run-time library

    But Windows XP has no such problem.

    So I have to copy the library from 32-bit WP to 32-bit Win7 in order to run it

    You have any idea ?

    You have any idea

  • Hi,

    user4327245 said:
    I'm NOT able to run it on Windows 7 32-bit Ultimate as it failed to compile and generate run-time library

    Can you send the error message that is displayed?

    One common error is shown in the thread below:

    https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/402115/1423895#1423895

    Regards,

    Rafael

  • Below is the capture when CCS fails to build run-time lib for beaglebone am335s

    **** Build of configuration Debug for project Usb_BT_D ****

    "C:\\TI\\5_5\\ccsv5\\utils\\bin\\gmake" -k -j 4 -s all

    'Building file: ../_g_data.c'

    'Building file: ../_usb_host_BT_2.c'

    'Building file: ../UsbH/_usbh_BT_3.c'

    'Building file: ../UsbH/_usbhostenum_10.c'

    'Invoking: ARM Compiler'

    'Invoking: ARM Compiler'

    'Invoking: ARM Compiler'

    'Invoking: ARM Compiler'

    "..\UsbH\_usbh_io_5b.h", line 267: warning #179-D: variable "id" was declared but never referenced

    'Finished building: ../_g_data.c'

    'Finished building: ../UsbH/_usbh_BT_3.c'

    ' '

    ' '

    'Building file: ../UsbH/usb.c'

    'Building file: ../UsbH/usbdata.c'

    'Invoking: ARM Compiler'

    'Invoking: ARM Compiler'

    'Finished building: ../_usb_host_BT_2.c'

    ' '

    'Building file: ../UsbH/usbdesc.c'

    'Invoking: ARM Compiler'

    'Finished building: ../UsbH/usbdata.c'

    ' '

    'Building file: ../UsbH/usbphyGS70.c'

    'Invoking: ARM Compiler'

    'Finished building: ../UsbH/_usbhostenum_10.c'

    ' '

    'Finished building: ../UsbH/usbdesc.c'

    'Building file: ../UsbH/usbtick.c'

    ' '

    'Invoking: ARM Compiler'

    'Finished building: ../UsbH/usb.c'

    'Finished building: ../UsbH/usbphyGS70.c'

    ' '

    ' '

    'Finished building: ../UsbH/usbtick.c'

    ' '

    'Building target: Usb_BT_D.out'

    'Invoking: ARM Linker'

    <Linking>

    warning #10366-D: automatic library build: using library

      "C:\TI\5_5\ccsv5\tools\compiler\arm_5.1.8\lib\rtsv7A8_A_le_n_eabi.lib" for

      the first time, so it must be built.  This may take a few minutes.

     -->  error: '*.obj

    ' not found

    gmake.exe[1]: *** [library] Error 1

    >> ERROR: mklib: gmake error during rtsv7A8_A_le_n_eabi.lib build

    warning #10207-D: automatic RTS selection:  resolving index library "libc.a" to

      "C:\TI\5_5\ccsv5\tools\compiler\arm_5.1.8\lib\rtsv7A8_A_le_n_eabi.lib", but

      "C:\TI\5_5\ccsv5\tools\compiler\arm_5.1.8\lib\rtsv7A8_A_le_n_eabi.lib" was

      not found

    "../usb_host_msc.cmd", line 82: warning #10423-D: No placement specified for

    >> Compilation failure

      ".bss"; a default placement will be applied.

    undefined        first referenced                                        

     symbol              in file                                            

    ---------        ----------------                                        

    __STACK_END      ../../../AM335x_LIB/system/Debug/system.lib<init.obj>  

    __TI_auto_init   ../../../AM335x_LIB/system/Debug/system.lib<init.obj>  

    __aeabi_uidivmod ../../../AM335x_LIB/utils/Debug/utils.lib<uartStdio.obj>

    exit             ./_usb_host_BT_2.obj                                    

    memset           ./_usb_host_BT_2.obj                                    

    printf           ./UsbH/_usbhostenum_10.obj                              

    sprintf          ./_usb_host_BT_2.obj                                    

    strcpy           ./_usb_host_BT_2.obj                                    

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "Usb_BT_D.out" not built

    gmake: *** [Usb_BT_D.out] Error 1

    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • Hi,

    Thanks for sending the error. Did you read the reference I sent before? It points to an article that has solved this very same issue for other developers (another example is here).

    Regards,

    Rafael

  • Hi,

    The first article suggests to add compiler path, it doesn't make sense to me as I'm able to compile other files, even library.

    I tried it anyway and as expected, it FAILS with exactly the same error.

    The second article does make sense as it points out the conflict between Cygwin and the tool

    I remove Cygwin path in the CSS properties and it does NOT help.

    It works ONLY after I rename Cygwin.

    All IDE tools I used so far seems NOT rely on system environment as they are big enough to set up their own environment

    That's why it works on my XP , but NOT on Win 7, even both have Cygwin installed

    Thanks,