RobertHeller 0 Posted February 11, 2018 Share Posted February 11, 2018 I am use Energia 1.6.10E18 to build a simple application to run on a TivaC Launchpad board on a CentOS 6 64bit Linux system. CentOS 6 uses older library versions, so I needed to download and install an older GCC compiler and I got that working. Now my problem is DSLite. The version shipped with the TivaC package (dslite-7.2.0.2096-i386-x86_64-pc-linux-gnu.tar.bz2) was built with newer libraries than are installed on CentOS 6, so DSLite crashes: /home/heller/.energia15/packages/energia/tools/dslite/7.2.0.2096/DebugServer/bin/DSLite load -c /home/heller/.energia15/packages/energia/tools/dslite/7.2.0.2096/EK-TM4C123GXL.ccxml -f /tmp/builde044e2b1aa3269f9f8ac6ca0fed90cf0.tmp/DCCTiva.ino.elf /home/heller/.energia15/packages/energia/tools/dslite/7.2.0.2096/DebugServer/bin/DSLite: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory An error occurred while uploading the sketch What I would like to do is either use an older version of DSLite (will that work?) or re-compile DSLite 7.2.0 on my CentOS 6 system (is that possible?). I cannot seem to find the source code for DSLite (is it even available?). What options are available to me? (And no, don't tell me to upgrade my system to some "bleeding edge" version of Linux -- I have too many things that would need rebuilding and/or reconfiguring that need to be working.) Things work up to not finding the serial port on a Ubuntu 14.04 virtual machine. I am not sure that really helps, since I am not sure if I can get a physical USB device to show up in the Ubuntu VM. I don't have a TivaC board in hand at present. Quote Link to post Share on other sites
Rei Vilo 695 Posted February 11, 2018 Share Posted February 11, 2018 To upload to the TivaC, use OpenOCD instead. It supports the TM4C123 very well. You can also use OpenOCD to debug with GDB. Quote Link to post Share on other sites
RobertHeller 0 Posted February 11, 2018 Author Share Posted February 11, 2018 OK, there is a version of OpenOCD in the CentOS 6 Epel repo! I've installed it. Question do I use this completely outside of Energia or can it be integrated into the Energia IDE? Quote Link to post Share on other sites
Rei Vilo 695 Posted February 12, 2018 Share Posted February 12, 2018 The easiest way is to use OpenOCD outside Energia. Just check for the complete path of the .elf file on the Energia console. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.