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.

ccs6 beta 4 unable to access Tiva Launchpad on CentOS 6.5

Other Parts Discussed in Thread: TM4C123GH6PM

Attempts to use a Tiva Launchpad with CCSv6 beta 4 running on CentOS 6.5 fails with the following error reported in the CCS console when attempt to start a debug session:

CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete
CORTEX_M4_0: Error connecting to the target: Frequency is out of range.
The same error has been seen on a CentOS 6.5 32-bit and CentOS 6.5 64-bit installation.

The Tiva Launchpad works OK with CCSv6 beta 4 running on Windows XP, so suspect a problem with the CCS Linux setup.

  • Attempted to use load_ti to load a program into the Tvia Launchpad, rather than starting a debug session in the CCS GUI. This results in the following being reported on the CentOS 6.5 64-bit system:

    [Mr_Halfword@CentOS-Desktop loadti]$ LD_LIBRARY_PATH=/home/Mr_Halfword/ti_ccs6_0/ccsv6/eclipse/jre/lib/i386/
    [Mr_Halfword@CentOS-Desktop loadti]$ export LD_LIBRARY_PATH
    [Mr_Halfword@CentOS-Desktop loadti]$ ./loadti.sh -c=/home/Mr_Halfword/workspace_v6_0/ARM_TI_hello_world/targetConfigs/Tiva_TM4C123GH6PM.ccxml /home/Mr_Halfword/workspace_v6_0/ARM_TI_hello_world/Debug/ARM_TI_hello_world.out

    ***** DSS Generic Loader *****

    START: 16:02:50 GMT-0000 (GMT)

    Configuring Debug Server for specified target...
    Done
    TARGET: Stellaris In-Circuit Debug Interface
    Connecting to target...
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    OSALDebugEnum: Error dynamically loading libusb (rc = -1)
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    ASSERT FAILED (find_lmicdi:122): (rc == TRUE) == 0
    WARNING: pfn 'libusb_get_device_list' is NULL.  Skipping call.
    WARNING: pfn 'libusb_free_device_list' is NULL.  Skipping call.
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    OSALDebugEnum: Error dynamically loading libusb (rc = -1)
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    ASSERT FAILED (find_lmicdi:122): (rc == TRUE) == 0
    WARNING: pfn 'libusb_get_device_list' is NULL.  Skipping call.
    WARNING: pfn 'libusb_free_device_list' is NULL.  Skipping call.
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    OSALDebugEnum: Error dynamically loading libusb (rc = -1)
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    ASSERT FAILED (find_lmicdi:122): (rc == TRUE) == 0
    WARNING: pfn 'libusb_get_device_list' is NULL.  Skipping call.
    WARNING: pfn 'libusb_free_device_list' is NULL.  Skipping call.
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    OSALDebugEnum: Error dynamically loading libusb (rc = -1)
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    ASSERT FAILED (find_lmicdi:122): (rc == TRUE) == 0
    WARNING: pfn 'libusb_get_device_list' is NULL.  Skipping call.
    WARNING: pfn 'libusb_free_device_list' is NULL.  Skipping call.
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    OSALDebugEnum: Error dynamically loading libusb (rc = -1)
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    ASSERT FAILED (find_lmicdi:122): (rc == TRUE) == 0
    WARNING: pfn 'libusb_get_device_list' is NULL.  Skipping call.
    WARNING: pfn 'libusb_free_device_list' is NULL.  Skipping call.
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    OSALDebugEnum: Error dynamically loading libusb (rc = -1)
    Failed to load dynamic library: 'libusb-1.0.so' (libusb-1.0.so: cannot open shared object file: No such file or directory)
    ASSERT FAILED (find_lmicdi:122): (rc == TRUE) == 0
    WARNING: pfn 'libusb_get_device_list' is NULL.  Skipping call.
    WARNING: pfn 'libusb_free_device_list' is NULL.  Skipping call.
    SEVERE: CORTEX_M4_0: Error connecting to the target: Frequency is out of range.

    SEVERE: emulation failure occurred
    SEVERE: Error connecting to the target: emulation failure occurred
    Error code #4001, could not connect to target!
    Aborting!

    END: 16:03:02 GMT-0000 (GMT)
    [Mr_Halfword@CentOS-Desktop loadti]$
    The dynamic library libusb-1.0.so which failed to load doesn't exist on either the CentOS 6.5 32-bit or 64-bit systems.

    I was able to get the CCS6 beta 4 debugger to work with the Tiva Launchpad by:

    1) On the CentOS 6.5 64-bit system as root:

    yum install libusb1.i686
    ln -s /usr/lib/libusb-1.0.so.0 /usr/lib/libusb-1.0.so

    2) On the CentOS 6.5 32-bit system as root:
    ln -s /usr/lib/libusb-1.0.so.0 /usr/lib/libusb-1.0.so

    The issues are:

    a) Why did the ccsv6 beta 4 installer dependency checker not report that the libusb-1.0.so was missing?

    [On the CentOS 6.5 64-bit system numerous 32-bit libraries were initially reported as missing by the CCS6 installer, which were installed before installing CCS]

    b) Why did the ccsv6 beta 4 debugger fail to report that the libusb-1.0.so dynamic library couldn't be loaded?

  • Chester,

    I managed to get CentOS 6.5 setup on one of my netbooks.  Took a while to get a LiveCD image that would install.

    I installed the 64bit version.

    Here is what I have done so far:

    yum upgrade (updates a large number of packges)

    yum install redhat-lsb:i686 (had to do this to get the CCS installer to run as it needs a bunch of 32bit libs)

    I then ran the CCSv6 GA installer as user.  It seems to find the libusb dependency ok now.  There were a number of improvements made to the checker during beta.  Below is what it finds missing for me.  I apologize for the terrible picture but the screen capture program on my install just was not working.

    I will now try to resolve those and then proceed with the install.

    John

  • ok even after installing the dependencies I ran into the same issue as you where I had to run the following commands to be able to connect to the Tiva LaunchPad.

    sudo yum install libusb1.i686

    sudo ln -s /usr/lib/libusb-1.0.so.0 /usr/lib/libusb-1.0.so

     

    I will update the linux install instructions wiki topic and I will also follow up with the install team to see why the dependency check passes after installing libusb.i686 as it should not.

     

    john

  • JohnS said:
    I will update the linux install instructions wiki topic and I will also follow up with the install team to see why the dependency check passes after installing libusb.i686 as it should not.

    Thanks for checking if the problem stilled occurred with the CCSv6 GA installer.