TI E2E Community
Sitara Processors Forum
In system USB JTAG for BeagleBone.
Can the In system USB jtag on the beaglebone be used to debug no OS based simple C programs. What is the minimum setup required?
I use StarterWare (http://www.ti.com/tool/starterware-sitara) with the beaglebone's usb jtag for loading code and debugging. In the userguide for starterware, there are some fairly good instructions. Good Luck!
The short answer is yes. But it is not trivial.
I am doing it with the USB on the BeagleBone connected to my development PC which has CCSv5.1 and the necessary drivers to talk to the 'Bone.
The code I am testing is based on the StarterWare examples - no OS. I recommend getting one of those running, then modify to suit.
I started with the gpio led example, then added uart io, then my test code. Later I added cache control.
The first StarterWare example took me 2 days to get compiled and running. With notes as to what I had to do to make it work, the second took 2 hours.
Here is an excerpt from my notes as to how I start up a compiled project:
Since StarterWare applications are compiled to run from ram, and there is no boot loader, some initial chip setup has to be done to get the code into memory. The CCS5.1 debugger has to run some startup scripts.
There are probably some xml and/or GEL files which can be modified to automate some of this, but what I have is good enough for my purposes.
Hope this helps.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.