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?
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
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.
Gerry Belanger