<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dangerous Prototypes &#187; Bus Pirate commands</title>
	<atom:link href="http://dangerousprototypes.com/tag/bus-pirate-commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://dangerousprototypes.com</link>
	<description>A new open source hardware project every month</description>
	<lastBuildDate>Fri, 10 Sep 2010 16:34:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bus Pirate: Repeat command</title>
		<link>http://dangerousprototypes.com/2009/09/03/bus-pirate-repeat-command/</link>
		<comments>http://dangerousprototypes.com/2009/09/03/bus-pirate-repeat-command/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 00:00:23 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Bus Pirate]]></category>
		<category><![CDATA[Bus Pirate commands]]></category>

		<guid isPermaLink="false">http://dangerousprototypes.com/?p=770</guid>
		<description><![CDATA[See the latest version in the documentation wiki.
RAW3WIRE&#62;r:5&#60;&#60;&#60;read 5 bytes (DEC)
READ 0&#215;05 BYTES:
0&#215;00 0&#215;00 0&#215;00 0&#215;00 0&#215;00
RAW3WIRE&#62;r:0&#215;05&#60;&#60;&#60;read 5 bytes (HEX)
READ 0&#215;05 BYTES:
0&#215;00 0&#215;00 0&#215;00 0&#215;00 0&#215;00
RAW3WIRE&#62;r:0b101&#60;&#60;&#60;read 5 bytes (BIN)
READ 0&#215;05 BYTES:
0&#215;00 0&#215;00 0&#215;00 0&#215;00 0&#215;00
RAW3WIRE&#62;
Many Bus Pirate commands can be repeated by adding &#8216;: &#8216; to a command, followed by the number of times to [...]]]></description>
			<content:encoded><![CDATA[<p style="padding-left: 30px;"><em>See the <a href="http://dangerousprototypes.com/docs/Repeat_command">latest version</a> in the documentation wiki.</em></p>
<p style="padding-left: 30px;">RAW3WIRE&gt;r:5<span style="text-decoration: underline;"><strong>&lt;&lt;&lt;read 5 bytes (DEC)</strong></span><br />
READ 0&#215;05 BYTES:<br />
0&#215;00 0&#215;00 0&#215;00 0&#215;00 0&#215;00<br />
RAW3WIRE&gt;r:0&#215;05<span style="text-decoration: underline;"><strong>&lt;&lt;&lt;read 5 bytes (HEX)</strong></span><br />
READ 0&#215;05 BYTES:<br />
0&#215;00 0&#215;00 0&#215;00 0&#215;00 0&#215;00<br />
RAW3WIRE&gt;r:0b101<span style="text-decoration: underline;"><strong>&lt;&lt;&lt;read 5 bytes (BIN)</strong></span><br />
READ 0&#215;05 BYTES:<br />
0&#215;00 0&#215;00 0&#215;00 0&#215;00 0&#215;00<br />
RAW3WIRE&gt;</p>
<p>Many Bus Pirate commands can be repeated by adding &#8216;: &#8216; to a command, followed by the number of times to repeat the command. To read five byte, enter r:5, etc. The repeat values can be <a href="http://dangerousprototypes.com/2009/09/01/bus-pirate-number-formats/">HEX/DEC/BIN</a>. In the example above we read five bytes each time using a different number format.</p>
<p style="padding-left: 30px;">RAW3WIRE&gt;0&#215;40:5<span style="text-decoration: underline;"><strong>&lt;&lt;&lt;write 0&#215;40, repeat 5 times</strong></span><br />
WRITE: 0&#215;40 , 0&#215;05 TIMES<br />
RAW3WIRE&gt;^:5<span style="text-decoration: underline;"><strong>&lt;&lt;&lt;send 5 clock ticks</strong></span><br />
0&#215;05 CLOCK TICKS<br />
RAW3WIRE&gt;&amp;:5<span style="text-decoration: underline;"><strong>&lt;&lt;&lt;delay 1uS, repeat 5 times</strong></span><br />
DELAY 0&#215;05uS<br />
RAW3WIRE&gt;</p>
<p>Depending on the bus mode, you can repeat reads, writes, macros, clock ticks, delays, and more. Refer to the <a href="http://dangerousprototypes.com/bus-pirate-manual/">Bus Pirate manual</a> for detailed command tables for each mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://dangerousprototypes.com/2009/09/03/bus-pirate-repeat-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
