<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio</title><link>/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio</link><description>How to develop a Linux binary for the BeagleBone (any colour) on Windows in CCS, auto-deploy it to the BB and remotely debug.No hardware debugger needed - all runs over TCP/IP The great PRU blog from Fred27 inspired me to pick up the BeagleBone Green</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio</link><pubDate>Thu, 12 Nov 2020 21:02:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c5cbd237-5dc1-4955-80e9-c3081a4debc8</guid><dc:creator>fabriciovalerio</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I followed the steps and tried to build the project, but the following error ocurred in both &amp;quot;Internal Builder&amp;quot; and adding the CCS_UTILS_DIR:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x349/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-c5cbd237-5dc1-4955-80e9-c3081a4debc8/0143.contentimage_5F00_191956.png:620:349]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7100&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio</link><pubDate>Thu, 25 Jun 2020 02:42:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c5cbd237-5dc1-4955-80e9-c3081a4debc8</guid><dc:creator>akrece</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Thanks Jan, &lt;/p&gt;&lt;p&gt;Able to debug C++ in code composer 10 &lt;/p&gt;&lt;p&gt;using &amp;quot;gcc-linaro-5.3-2016.02-i686-mingw32_arm-linux-gnueabihf&amp;quot; distribution on &amp;quot;Linux version 4.14.71-ti-r80 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0&amp;nbsp; 20170516 (Debian 6.3.0-18+deb9u1))&amp;quot;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7100&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio</link><pubDate>Sun, 26 May 2019 08:42:37 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c5cbd237-5dc1-4955-80e9-c3081a4debc8</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I simplified the build section, removed the MinGW dependency.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7100&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio</link><pubDate>Sun, 19 May 2019 18:40:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c5cbd237-5dc1-4955-80e9-c3081a4debc8</guid><dc:creator>Fred27</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Great stuff. I ran through this guide with minimal issues. I didn&amp;#39;t need MinGW even for &amp;quot;External builder&amp;quot;, so I&amp;#39;ll leave that out of the mix for now.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The only things I found was that I got &amp;quot;Could not start gdbserver on the remote host&amp;quot; when debugging. This was easily solved by installing gdbserver on the BB (apt get install gdbserver). It&amp;#39;s not installed by default but I assume you&amp;#39;ve used it for previous work.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;(There was something else - but that turned out to be me not reading things properly. &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-c5cbd237-5dc1-4955-80e9-c3081a4debc8/contentimage_5F00_734.png:16:16]&lt;/span&gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;These are the sort of things you only find when someone new runs through your steps, as you&amp;#39;ll have done them without thinking as you sort the process out. (I&amp;#39;m sure there are similar missing pieces in my own PRU guides.)&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7100&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio</link><pubDate>Sun, 19 May 2019 05:27:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c5cbd237-5dc1-4955-80e9-c3081a4debc8</guid><dc:creator>balearicdynamics</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Jan it&amp;#39;s a great and valuable post with a lot of information and references. The scenario is complete, so I bookmarked for the first time I should put my hands on the BB. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Enrico&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7100&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio</link><pubDate>Sat, 18 May 2019 23:44:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c5cbd237-5dc1-4955-80e9-c3081a4debc8</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Jan,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Excellent work. It&amp;#39;s great to see the work and synergy between your and &lt;span&gt;[mention:87db22544d8844169f5ec3635dfac969:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; efforts, bouncing off ideas to get PRU capabilities moved forward for everyone!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7100&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio</link><pubDate>Sat, 18 May 2019 18:56:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c5cbd237-5dc1-4955-80e9-c3081a4debc8</guid><dc:creator>Fred27</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Really useful - I&amp;#39;ll have to give that a try. I wonder if the WSL (Windows Subsystem for Linux) on Windows 10 will work in place of MinGW.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7100&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio</link><pubDate>Sat, 18 May 2019 18:53:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c5cbd237-5dc1-4955-80e9-c3081a4debc8</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice update Jan.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am amazed things worked out this well on a cross platform issue.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7100&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>