<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=UsingJtagTools&amp;feed=atom&amp;action=history</id>
		<title>UsingJtagTools - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=UsingJtagTools&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=UsingJtagTools&amp;action=history"/>
		<updated>2013-05-21T19:16:44Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=UsingJtagTools&amp;diff=5651&amp;oldid=prev</id>
		<title>Glenn: +cat</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=UsingJtagTools&amp;diff=5651&amp;oldid=prev"/>
				<updated>2008-02-10T21:52:26Z</updated>
		
		<summary type="html">&lt;p&gt;+cat&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:52, 10 February 2008&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;peek 0x00590000&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;peek 0x00590000&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Development Tools]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:1906:newid:5651 --&gt;
&lt;/table&gt;</summary>
		<author><name>Glenn</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=UsingJtagTools&amp;diff=1906&amp;oldid=prev</id>
		<title>Wmat: Legacy Content Conversion</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=UsingJtagTools&amp;diff=1906&amp;oldid=prev"/>
				<updated>2007-03-01T03:40:39Z</updated>
		
		<summary type="html">&lt;p&gt;Legacy Content Conversion&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Note''': This assumes that you use the default locations for the jtag tools 0.6 install (HEAD from cvs).  Please adjust your paths accordingly&lt;br /&gt;
&lt;br /&gt;
== Add Support for the Juicebox ==&lt;br /&gt;
=== 0.5.1 ===&lt;br /&gt;
here is a [attachment:jtag-jb.diff patch] against the 0.5.1 release. it would be nice if someone made the changes against the cvs repo head and submit it to the openwince folks.  There's been some version slippage, and you'll need v0.3.2 of the OpenWinCE Includes to compile jtag 0.5.1.&lt;br /&gt;
&lt;br /&gt;
=== 0.6 ===&lt;br /&gt;
here is an [attachment:jtag-jb-cvs-alpha.diff alpha patch] against version 0.6 (cvs head).  please try this out and post/fix issues you see with it.&lt;br /&gt;
&lt;br /&gt;
 * Install OpenWinCE Includes&lt;br /&gt;
 * Get the latest code from cvs&lt;br /&gt;
 * Apply the patch&lt;br /&gt;
 * Run &amp;quot;autogen.sh&amp;quot;&lt;br /&gt;
 * make &amp;amp;&amp;amp; make install&lt;br /&gt;
Get the latest Jtag Tools from the OpenWinCE project CVS Repo - http://openwince.sourceforge.net/jtag/&lt;br /&gt;
&lt;br /&gt;
=== Manually Add Support ===&lt;br /&gt;
'''Note:''' This is by far the least desirable method&lt;br /&gt;
&lt;br /&gt;
Using the attached BSDL on [&amp;quot;JuiceBoxJTAG&amp;quot;] file you can create the necessary files for jtag tools using the included '''bsdl2jtag'''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#Convert the BSDL file by piping in the&lt;br /&gt;
#bsdl file and piping the stdout to a file&lt;br /&gt;
bsdl2jtag &amp;lt; s3c44b0x.bsdl &amp;gt; 0001&lt;br /&gt;
#Modify the MANUFACTURERS file&lt;br /&gt;
echo 11110000111 juicebox juicebox &amp;gt;&amp;gt; /usr/local/share/jtag/MANUFACTURERS&lt;br /&gt;
#Create the juicebox device&lt;br /&gt;
mkdir -p /usr/local/share/jtag/juicebox/s3c44b0x&lt;br /&gt;
mv 0001 /usr/local/share/jtag/juicebox/s3c44b0x/&lt;br /&gt;
echo 1111000011110000 s3c44b0x S3C44B0X &amp;gt; /usr/local/share/jtag/juicebox/PARTS&lt;br /&gt;
echo 0001 0001 0001 &amp;gt; /usr/local/share/jtag/juicebox/s3c44b0x/STEPPINGS&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I am having issues doing anything useful since I do not have the correct bus driver, or don't know which to use.  If you are using jtag tools with the juicebox please post some details on the bus driver.&lt;br /&gt;
&lt;br /&gt;
== Using Jtag Tools ==&lt;br /&gt;
You can now start jtag tools (/usr/local/bin/jtag) and detect the device&lt;br /&gt;
&lt;br /&gt;
This example uses a Xilinx Parallel Cable III (Model DLC5)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jtag&amp;gt; cable parallel 0x378 DLC5&lt;br /&gt;
jtag&amp;gt; detect&lt;br /&gt;
jtag&amp;gt; print chain&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Print out the current pin values&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jtag&amp;gt; instruction SAMPLE/PRELOAD&lt;br /&gt;
jtag&amp;gt; shift ir&lt;br /&gt;
jtag&amp;gt; shift dr&lt;br /&gt;
jtag&amp;gt; dr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Initialize the Bus (to peek/poke/copy memory and the other good stuff) and ID the cart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jtag&amp;gt; initbus s3c44b0x&lt;br /&gt;
*no cart*&lt;br /&gt;
jtag&amp;gt; peek 0x00590000&lt;br /&gt;
bus_read(0x00590000) = 0x0000CE0C (52748)&lt;br /&gt;
*video cart*&lt;br /&gt;
jtag&amp;gt; peek 0x00590000&lt;br /&gt;
bus_read(0x00590000) = 0x00001880 (6272)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' Here I am assuming that the cart id is only 32 bits but I don't know that to be the case&lt;br /&gt;
&lt;br /&gt;
== Useful Scripts for Jtag Tools ==&lt;br /&gt;
This script will set up a Xilinx Parallel Cable III (DLC5), detect the juicebox, print out the jtag chain, and initialize the juicebox jtag driver.  The help screen is just to show you  what other commands are available.&lt;br /&gt;
&lt;br /&gt;
'''init'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cable parallel 0x378 DLC5&lt;br /&gt;
detect&lt;br /&gt;
print&lt;br /&gt;
initbus s3c44b0x&lt;br /&gt;
help&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This script is kinda useless but I wanted to show that you can call one script from another.  This probably can be done with &amp;quot;include&amp;quot; as well but I haven't that command yet. '''id_cart'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
script /home/antics/jb/init&lt;br /&gt;
peek 0x00590000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wmat</name></author>	</entry>

	</feed>