Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: ccs6 beta 4 unable to access Tiva Launchpad on CentOS 6.5

$
0
0

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:[quote][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]$ [/quote]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:[quote]yum install libusb1.i686
ln -s /usr/lib/libusb-1.0.so.0 /usr/lib/libusb-1.0.so[/quote]
2) On the CentOS 6.5 32-bit system as root:[quote]ln -s /usr/lib/libusb-1.0.so.0 /usr/lib/libusb-1.0.so[/quote]

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?


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>