• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » ARM® Processors » Sitara™ ARM® » AM3x Sitara ARM Processors Forum » In system USB JTAG for BeagleBone.
Share
Sitara™ ARM®
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

In system USB JTAG for BeagleBone.

This question is not answered
Mughees Chohan
Posted by Mughees Chohan
on Apr 17 2012 08:16 AM
Prodigy120 points

Hi,

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?

BeagleBone AM335x AM3359 DDR2
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Jay Larson
    Posted by Jay Larson
    on Apr 17 2012 11:53 AM
    Prodigy220 points

    Hi,

    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!

    -Jay

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerard Belanger
    Posted by Gerard Belanger
    on Apr 17 2012 12:12 PM
    Intellectual765 points

    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. 

    • The target must be plugged in.
    • Select the AM335x..ccxml  debug configuration .  Wait for it’s sub list to appear.  A load failed dialog box may appear which can be dismissed.
    • Select the USB Emulator Cortex-A8 configuration
    • Connect to the target: Run -> Connect Target
    • Configure memory: Scripts -> AM335x DDR Configuration -> DDR2_EMIF_Config
    • Load the program: Run -> Load -> Load Program and select the program to run.  The program will then be ready to run.

    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.

    Gerry Belanger

     

    AM335x BeagleBone starterware
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

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.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use