<?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>debugmode</title>
	<atom:link href="http://debugmo.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://debugmo.de</link>
	<description>Projects, hardware fun and everything between it.</description>
	<lastBuildDate>Tue, 27 Jul 2010 13:09:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Scope pr0n</title>
		<link>http://debugmo.de/2010/07/scope-pr0n/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=scope-pr0n</link>
		<comments>http://debugmo.de/2010/07/scope-pr0n/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 01:00:45 +0000</pubDate>
		<dc:creator>tmbinc</dc:creator>
				<category><![CDATA[scope pr0n]]></category>

		<guid isPermaLink="false">http://debugmo.de/?p=175</guid>
		<description><![CDATA[Every now and then, I come across something on my scope that&#8217;s just beautiful. Being ecstatic on weird traces on your scope sure makes you a geek, but hey, don&#8217;t we love being geeks?
 

To make this more interesting, I&#8217;ll won&#8217;t describe this further and leave this to my readers. Can someone figure out what [...]]]></description>
			<content:encoded><![CDATA[<p>Every now and then, I come across something on my <a href="http://debugmo.de/?p=145">scope</a> that&#8217;s just beautiful. Being ecstatic on weird traces on your scope sure makes you a geek, but hey, don&#8217;t we love being geeks?<br />
<a href="http://lh4.ggpht.com/_5AkmcjP1eXU/TDZviNFFUJI/AAAAAAAAHWo/Npq_ME1Ka3M/2010-07-05_183452.jpg"> <img src="http://lh4.ggpht.com/_5AkmcjP1eXU/TDZviNFFUJI/AAAAAAAAHWo/Npq_ME1Ka3M/s288/2010-07-05_183452.jpg" alt="scope pr0n" /></a><br />
<span id="more-175"></span><br />
To make this more interesting, I&#8217;ll won&#8217;t describe this further and leave this to my readers. Can someone figure out what signal you can see here? Bonus points for those who understand what makes this data so unique, and a cookie for everyone who guesses what kind of breakthrough (not mine, unfortunately) you can see here.</p>
<p>If no one guesses, I&#8217;ll give additional hints.</p>
]]></content:encoded>
			<wfw:commentRss>http://debugmo.de/2010/07/scope-pr0n/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>${stupid-syscall-02(*)-joke-here}</title>
		<link>http://debugmo.de/2010/07/stupid-syscall-02-joke-here/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=stupid-syscall-02-joke-here</link>
		<comments>http://debugmo.de/2010/07/stupid-syscall-02-joke-here/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 21:51:50 +0000</pubDate>
		<dc:creator>tmbinc</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Site]]></category>

		<guid isPermaLink="false">http://debugmo.de/?p=168</guid>
		<description><![CDATA[I apologize for the lack of updates. Yeah, I&#8217;m sorry. But this time, I&#8217;ve got a proper excuse!

Her name is Ida Klara, she was born on April 26th, and she&#8217;s awesome(**)!

(*) Yeah, I&#8217;m still on 32bit.
(**) And no, that doesn&#8217;t mean I&#8217;ve stopped hacking. I have some interesting things going on, they are just not [...]]]></description>
			<content:encoded><![CDATA[<p>I apologize for the lack of updates. Yeah, I&#8217;m sorry. But this time, I&#8217;ve got a proper excuse!<br />
<span id="more-168"></span><br />
Her name is Ida Klara, she was born on April 26th, and she&#8217;s awesome(**)!</p>
<p><img src="http://lh6.ggpht.com/_5AkmcjP1eXU/S_-97C7aaJI/AAAAAAAAGYM/MIoNh8bQK78/s800/IMG_1681.JPG" alt="Ida Klara" /></p>
<p>(*) Yeah, I&#8217;m still on 32bit.<br />
(**) And no, that doesn&#8217;t mean I&#8217;ve stopped hacking. I have some interesting things going on, they are just not finalized(****) enough so I can post(***) them.<br />
(***) Sorry for the google analytics plugin.<br />
(****)<br />
<img src="http://lh4.ggpht.com/_5AkmcjP1eXU/TDZOIO-hCNI/AAAAAAAAHLA/QxneFiaHGZM/s400/2010-07-05_183119.jpg" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://debugmo.de/2010/07/stupid-syscall-02-joke-here/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>And the wimp of the year award goes to&#8230;</title>
		<link>http://debugmo.de/2010/03/and-the-wimp-of-the-year-award-goes-to/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=and-the-wimp-of-the-year-award-goes-to</link>
		<comments>http://debugmo.de/2010/03/and-the-wimp-of-the-year-award-goes-to/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 14:58:46 +0000</pubDate>
		<dc:creator>tmbinc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://debugmo.de/?p=166</guid>
		<description><![CDATA[

]]></description>
			<content:encoded><![CDATA[<p><span id="more-166"></span><br />
<img src="http://bayimg.com/image/jalagaacj.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://debugmo.de/2010/03/and-the-wimp-of-the-year-award-goes-to/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Probe Hacking, Part 2</title>
		<link>http://debugmo.de/2010/03/probe-hacking-part-2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=probe-hacking-part-2</link>
		<comments>http://debugmo.de/2010/03/probe-hacking-part-2/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 21:28:20 +0000</pubDate>
		<dc:creator>tmbinc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://debugmo.de/?p=155</guid>
		<description><![CDATA[In this part of my &#8220;probe hacking&#8221; series, I&#8217;ll explain how I connected a P7350 to my scope.

Hell, this sounds like I&#8217;m writing an unboxing post. But don&#8217;t worry. I&#8217;m way too cheap to buy this probe new and unbox it. So what I did was to go to eBay, and buy a broken P7350, [...]]]></description>
			<content:encoded><![CDATA[<p>In this part of my &#8220;probe hacking&#8221; series, I&#8217;ll explain how I connected a <a href="http://www2.tek.com/cmswpt/psdetails.lotr?ct=PS&#038;lc=EN&#038;ci=13503&#038;cs=psu">P7350</a> to my scope.<br />
<span id="more-155"></span><br />
Hell, this sounds like I&#8217;m writing an unboxing post. But don&#8217;t worry. I&#8217;m way too <a href="http://www.valuetronics.com/Details.aspx?ProdID=3948&#038;Model=Tektronix_P7350">cheap</a> to buy this probe new and unbox it. So what I did was to go to eBay, and buy a broken P7350, in the hope I could repair it. Well, <a href="http://www.bunniestudios.com/blog/?p=862">it didn&#8217;t work</a>. The probe was already foobar when I got it, but I&#8217;ve learned important things about probes: First, all the high-frequency work happens directly inside the probe head. The probe box (&#8220;comp box&#8221;) just contains some DC and interface stuff. In this case, it contains an I2C-eeprom and some I2C-controllable DACs. I also learned that there is no point in trying to repair anything regarding the probe head. The way the head is assembled (it&#8217;s basically soldered in a tiny metal box enclosing the probe electronics from 4 sides) makes it impossible to even re-solder wires to the head, not to speak of soldering to the directly-bonded SiGe-based active element.</p>
<p>I ended up in buying another &#8220;broken&#8221; P7350 &#8211; this time verifying that the probe head was never damaged, never opened and never &#8220;repaired&#8221;. In total I&#8217;ve paid $1000 for the whole stuff (TPA-BNC, the active probe, the first, broken P7350 and the second P7350). That&#8217;s a real bargain so far &#8211; except that none of that stuff worked (yet; that was before fixing the TPA-BNC).</p>
<p>The biggest drawback with the P7350 by the way was that it was &#8220;totally incompatible&#8221; with my scope. It uses the TekConnect™ interface, yet another probe interface that&#8217;s used for the high-end probes. It uses a different mechanical interface, and the electrical interface looks similar to the TekProbe BNC (it has discrete supply voltages instead of a single 12V bulk supply) &#8211; a slightly wrong conclusion, as I&#8217;ll show later. Oh, and the new P7350 I&#8217;ve bought really had an undamaged probe head (I had to replace the tips, though), but a broken cable in the probe box &#8211; seems somebody pulled the cable, hard. Good thing that we intended to replace that connection anyway.</p>
<p>Since we couldn&#8217;t get a female TekConnect™ connector, <a href="http://lh3.ggpht.com/_5AkmcjP1eXU/S5k1LW248DI/AAAAAAAAD0c/dTheeZK_r7I/s800/IMG_0963.JPG">therewefixedit</a>. Ahem. It works fine.</p>
<p>Well, except that the scope would crash whenever we plugged in the frankenprobe. The reason for this, as it turned out, was the I2C content of the P7350. </p>
<p>So far, we got 3 different I2C dumpes:</p>
<ol>
<li>The TPA-BNC dump, starting with 05 03 31 3C 05 37 14</li>
<li>The P6245 I2C eeprom, starting with 28 c0 cd cc cc 3d 00 00</li>
<li>The P7350 I2C eeprom, starting with 05 03 31 7f 80 7a 10 02</li>
</ol>
<p>Without understanding any of the actual contents, remarkable is that there are two totally different formats &#8211; let&#8217;s call it &#8220;old&#8221; (P6245) and &#8220;new&#8221; (P7350/TPA-BNC). The bottom line is: The P7350 I2C eeprom is incompatible with the TekProbe BNC interface &#8211; it&#8217;s more like the native (TekVPI) interface. So TekConnect is actually a mix between TekVPI and TekProbe BNC.</p>
<p>My brute-force approach was to just put the P6245 eeprom content on the P7350 eeprom. And voila &#8211; it worked!</p>
<p>See the difference:</p>
<p>USB 2.0 sync with a passive probe</p>
<p><a href="http://lh3.ggpht.com/_5AkmcjP1eXU/S6H5Ih6nERI/AAAAAAAAD9k/zdyK3pbYO9k/s800/2010-03-16_120047.jpg"><img src="http://lh3.ggpht.com/_5AkmcjP1eXU/S6H5Ih6nERI/AAAAAAAAD9k/zdyK3pbYO9k/s400/2010-03-16_120047.jpg" alt="" /><br />
</a></p>
<p>USB 2.0 sync with the P6245<br />
<a href="http://lh4.ggpht.com/_5AkmcjP1eXU/S6H4_XZVjrI/AAAAAAAAD9M/o9ikfX1PtHo/s800/2010-03-16_120133.jpg"><br />
<img src="http://lh4.ggpht.com/_5AkmcjP1eXU/S6H4_XZVjrI/AAAAAAAAD9M/o9ikfX1PtHo/s400/2010-03-16_120133.jpg" alt="" /></a></p>
<p>USB 2.0 sync with the P7350<br />
<a href="http://lh4.ggpht.com/_5AkmcjP1eXU/S6H5DK2aRaI/AAAAAAAAD9c/RYoGxflLzso/s800/2010-03-16_120224.jpg"><br />
<img src="http://lh4.ggpht.com/_5AkmcjP1eXU/S6H5DK2aRaI/AAAAAAAAD9c/RYoGxflLzso/s400/2010-03-16_120224.jpg" alt="" /></a></p>
<p>Some more pics:</p>
<table style="width:194px;">
<tr>
<td align="center" style="height:194px;background:url(http://picasaweb.google.com/s/c/transparent_album_background.gif) no-repeat left"><a href="http://picasaweb.google.com/tmbinc1337/Probehack?authkey=Gv1sRgCKmS56fRhO_IZQ&#038;feat=embedwebsite"><img src="http://lh4.ggpht.com/_5AkmcjP1eXU/S5k1EEfn17E/AAAAAAAAD9s/CJ_puzTLi1o/s160-c/Probehack.jpg" width="160" height="160" style="margin:1px 0 0 4px;"></a></td>
</tr>
<tr>
<td style="text-align:center;font-family:arial,sans-serif;font-size:11px"><a href="http://picasaweb.google.com/tmbinc1337/Probehack?authkey=Gv1sRgCKmS56fRhO_IZQ&#038;feat=embedwebsite" style="color:#4D4D4D;font-weight:bold;text-decoration:none;">Probehack</a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://debugmo.de/2010/03/probe-hacking-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Probe Hacking, Part 1</title>
		<link>http://debugmo.de/2010/03/probe-hacking-part-1/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=probe-hacking-part-1</link>
		<comments>http://debugmo.de/2010/03/probe-hacking-part-1/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 21:28:00 +0000</pubDate>
		<dc:creator>tmbinc</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://debugmo.de/?p=145</guid>
		<description><![CDATA[The What&#8217;s Inside post from January was not an incidental post. It is actually snapshot of a much longer forensic investigation to find the ground truth behind some of the technology behind Tektronix&#8217; scope accessories.

Pun aside &#8211; In October 2009, I&#8217;ve got a new scope, a Tektronix DPO4034. It&#8217;s a scope in the $8k range, [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://debugmo.de/?p=117">What&#8217;s Inside post</a> from January was not an incidental post. It is actually snapshot of a much longer forensic investigation to find the ground truth behind some of the technology behind Tektronix&#8217; scope accessories.<br />
<span id="more-145"></span></p>
<p><a href="http://www.bunniestudios.com/blog/?p=918">Pun aside</a> &#8211; In October 2009, I&#8217;ve got a new scope, a <a href="http://www.tek.com/products/oscilloscopes/mso4000/">Tektronix DPO4034</a>. It&#8217;s a scope in the $8k range, so while not exactly low-cost, you don&#8217;t need a mortgage on your home to buy it. The raw specs are nice, but not awesome &#8211; 2.5GS/s, 350 MHz, 4 Channels, not much more than the $2k-range <a href="http://www.tek.com/products/oscilloscopes/tds1000_tds2000/">TDS2024</a> that I was using before. But while the TDS2024 has a sample depth of 2.5k, the DPO4034 has an awesome sample depth of 10M! That means that you can actually sample once, and then spend time on analyzing this measurement. Or store the measurement, and do proper postprocessing. Suddenly, the scope stops being a multimeter and starts being a universal all-purpose tool. The DPO-series all have a number of software options, delivered as small dongles that you can stick into some slots in the scope, that enable certain software features &#8211; features like UART, SPI, I2C, CAN and even USB protocol decoding. The scope runs ppc44x-Linux, but that&#8217;s really just for the frontend. The backend is a number of Tektronix ASICs, that manage the high-speed data acquisition and <a href="http://www.tek.com/products/oscilloscopes/dpo_technology/">visualization</a>.</p>
<p>Of course, the analog part is as important &#8211; or even more important &#8211; than the digital part. The scope offers a selectable input impedance of 1M&Omega; and 50&Omega;, and can supply power to &#8220;intelligent&#8221; probes like the <a href="http://www2.tek.com/cmswpt/psdetails.lotr?ct=PS&#038;cs=psu&#038;ci=13421&#038;lc=EN">TAP1500</a>. </p>
<p>A low-end scope usually uses passive probes. A passive probe is usually cheap (<$100), and often uses an attenuation circuit (basically a voltage divider) to lower the total input impedance. The advantage of this is that the probed circuit is much less affected, but the disadvantage is that the signal will be attenuated by the same factor, usually "10x". Due to the high impedance to the scope, the signal is susceptible to noise. If you ever used a passive probe in a EMI-poluted area, you know what I'm talking about. Proper ground clips make an incredible difference. My DPO4034 came with 4 <a href="http://www2.tek.com/cmswpt/psdetails.lotr?ct=PS&#038;ci=13513&#038;cs=psu&#038;lc=EN">P6139A</a> probes. They come with 3 different ways of attaching to ground &#8211; and believe me, it makes an awesome difference. Obviously, the ground path is as important as the signal path itself.</p>
<p>You can easily spend more money on probes than on a scope, if you buy active probes. They have an integrated amplifier, usually direct inside the probe tip. See <a href="http://www.bunniestudios.com/blog/?p=862">bunnie&#8217;s NTW post</a> for a picture of such a probe head. There are even some probes in the $25k range! Active probes use a 50&Omega; output impedence to the scope &#8211; thus the signal path from the probe to the scope is much less affected by EMI. Active probes, hence the name, need power. The mid-range and higher scopes usually have support for such probes, and have extended connectors which carry power and control signals (like &#8220;offset&#8221;), next to the signal itself (usually on BNC).</p>
<p>Now, I&#8217;m cheap. I don&#8217;t have the money to buy a >$1k probe, and still I want to have the joy <a href="http://www.bunniestudios.com/blog/?p=197">seeing traces that actually look like the darn SPICE simulations</a>. So I went to eBay, and bought a P6245. The <a href="http://www2.tek.com/cmswpt/psdetails.lotr?ct=PS&#038;cs=psu&#038;ci=13504&#038;lc=EN">P6245</a> implements the TekProbe BNC standard &#8211; a slightly extended BNC plug that carries +/-15V, +/-5V, control and data. This doesn&#8217;t directly fit into the DPO4034, since that one implements the newer <a href="ftp://ftp.testequity.com/pdf/tekvpi.pdf">TekVPI</a> (please read this document if you want to understand the rest of this post) standard. There is an adapter, though, the <a href="http://debugmo.de/?p=117">TPA-BNC</a>. I&#8217;ve bought it used, but working (as far as the description goes) on eBay, for $300, with the seller giving a &#8220;7 days return right&#8221;, since the seller &#8220;take[s] customer satisfaction seriously&#8221;. Well, except that the thing didn&#8217;t work. Whenever plugged into the scope, the LED would light up, then go dark, and the Scope would display a &#8220;Probe Error&#8221; message. At first I&#8217;ve thought that this might be just because I didn&#8217;t had a probe connected (the P6245 arrived much later). I&#8217;ve contacted the seller, and he responded with:</p>
<blockquote><p>Hi,<br />
I have to sell before you tested, TCP-BNC can work, these adapters on the electrostatic demanding, in operations to bring static belt. give you trouble, I&#8217;m terribly sorry, If you do not want this probe, but also back to me, I give you back 200$,How do you think</p></blockquote>
<p>That&#8217;s not what I call &#8220;serious customer satisfaction&#8221;. Unfortunately, the 7 days inspection period was already over. Great, I had a broken device, and paid $300 for it, with the seller claiming that I had destroyed it due to ESD.</p>
<p><b>DISCLAIMER:</b> Don&#8217;t mess with your scope or anything that (directly) attaches to the scope. You will lose all warranty. You might destroy not only your probe/adapter, but also your scope. Is that really worth saving some bucks by doing the repair at home?</p>
<p>Then the probe arrived, and still, I got this probe error. Damn. We opened the TPA-BNC, and tried to understand the reason for the mis-behaving. Fortunately, the <a href="http://lh5.ggpht.com/_5AkmcjP1eXU/S0XXwFkHg8I/AAAAAAAAAPs/1sgucpkRHjQ/s800/PICT0014.JPG">ATmega8</a> was not locked, so we could read out the firmware.</p>
<p>As said, the failure behavior was that the LED on the adapter would quickly light up, go dark again, and then the scope would display the error message. We sniffed the communication between the scope and the adapter (it&#8217;s I2C, btw). It looked like:</p>
<p><code>A0, 00,<br />
A1, 05 03 31 3C 05 37 14 02 54 50 41 2D 42 4E 43 00 42 30 31 33 35 32 36 00 01 03 05 03 10 57 56 02 56 06 57 00 00 20 40 06 10 00 00 80 3F 06 1A 00 00 C8 43 08 85 01 00 01 02 03 04 BB,<br />
7C, 02 02,<br />
7D, 04 04 01 01,<br />
7D, 03 01 01,<br />
7D, 02 00,<br />
7D, 02 00,<br />
</code></p>
<p>First, the adapter responds to A0/A1 reads, like a traditional I2C eeprom. It looks like all of the &#8220;smart&#8221; probes have an eeprom inside, that tell the scope what kind of probe is connected. The probe responds with a config block, including the TPA-BNC serial number. We couldn&#8217;t make much sense out of the rest &#8211; it&#8217;s probably an error message, but it doesn&#8217;t look like a specific error code.</p>
<p>We reversed the hardware connections a bit &#8211; here&#8217;s a block diagram I&#8217;ve built:</p>
<p><a href="http://debugmo.de/wp-content/uploads/2010/03/TPA-BNC.png"><img src="http://debugmo.de/wp-content/uploads/2010/03/TPA-BNC-295x300.png" alt="TPA-BNC block diagram" title="TPA-BNC" width="295" height="300" class="alignnone size-medium wp-image-152" /></a></p>
<p>Noticing that the LED was blinking a single time, we tried finding code paths that lead to this behavior, by looking at references to PB1. The LED is accessed whenever the probe power is enabled &#8211; there is a master switch for the stepup/stepdown converters, connected to PB0. The algorithm basically looked like:</p>
<ul>
<li>enable LED</li>
<li>enable power</li>
<li>measure ADC values until they reach a specific range, or timeout if not</li>
<li>if success: leave LED enabled, read eeprom, configure DAC</li>
<li>otherwise: turn off LED</li>
</ul>
<p>This piece of code apparently checks the power board to work correctly. There is an interesting question: The voltages are symmetrical, and the ATmega8 can only measure between GND and the Vref-pin (which is +5V, here). How can they measure the negative voltages? A hint for this is that they get away with 2 ADCs &#8211; they have a voltage divider between -15V and +15V that will result in a voltage of +2.5V (if both voltages are supplied correctly), and -15V, +15V or 0V if not. The same circuit (just with a different voltage divider) is used for +5V/-5V. The behavior we&#8217;ve been seeing matched more or less what we would expect from the source if the ADC never got into the right range.</p>
<p>We measured the output voltage of the step converters, and they were all in the valid range &#8211; about +/-16V and +/-6V. However, measuring after the linear regulators, we figured out that the +5V were missing. Looking at the linear regulator, in a SOT23 package, it only had a single marking &#8220;PGVI&#8221;. <a href="http://www.google.de/search?q=PGVI+linear+regulator">Google</a> helps &#8211; it&#8217;s a TP73001 adjustable, positive low-dropout linear regulator. Luckily, we had a single one of them in stock (talk about luck&#8230;), so we replaced it. We plugged the adapter back into the scope, and voila &#8211; no more errors!</p>
<p>So, stupid eBay seller: This adapter wasn&#8217;t broken because I touched it without an Anti-ESD-belt, but because someone likely shortcut the +5V supply to the probe. It was DOA, and you probably knew this. You scammed me (at least that&#8217;s how I feel).</p>
<p>We plugged in the active probe, and hell yeah, it worked! The scope automatically switched to 50&Omega; input and 10X attenuation (meaning that the scope could read the probe ID data from the probe&#8217;s I2C eeprom), and the probe was properly displayed in the &#8220;about&#8221; menu.</p>
<p>On this picture, you can see the difference between an ordinary, passive probe (with a normal GND connection), versus the active probe. The signal is a USB 2.0 highspeed <a href="http://www.usbmadesimple.co.uk/">SOF</a>.<br />
<a href="http://lh5.ggpht.com/_5AkmcjP1eXU/S5u8H0mO9NI/AAAAAAAAD6o/lzAWP1COhwk/s800/2010-02-18_170043.jpg"><img src="http://lh5.ggpht.com/_5AkmcjP1eXU/S5u8H0mO9NI/AAAAAAAAD6o/lzAWP1COhwk/s144/2010-02-18_170043.jpg"><br />
</a></p>
<p>Isn&#8217;t it nice?<br />
<a href="http://lh3.ggpht.com/_5AkmcjP1eXU/S5u8GZv2IhI/AAAAAAAAD6g/kaT15aRUiMw/s800/2010-02-18_165656.jpg"><img src="http://lh3.ggpht.com/_5AkmcjP1eXU/S5u8GZv2IhI/AAAAAAAAD6g/kaT15aRUiMw/s144/2010-02-18_165656.jpg" /></a></p>
<p>Next time you&#8217;ll see how we <del>connected</del>hacked a P7350 (no, not <a href="http://www.bunniestudios.com/blog/?p=862">that</a> one&#8230;) to this scope.</p>
]]></content:encoded>
			<wfw:commentRss>http://debugmo.de/2010/03/probe-hacking-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>What&#8217;s Inside: Part IV &#8211; TL-SG210</title>
		<link>http://debugmo.de/2010/01/whats-inside-part-iv-tl-sg210/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=whats-inside-part-iv-tl-sg210</link>
		<comments>http://debugmo.de/2010/01/whats-inside-part-iv-tl-sg210/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 13:43:56 +0000</pubDate>
		<dc:creator>tmbinc</dc:creator>
				<category><![CDATA[What's Inside]]></category>

		<guid isPermaLink="false">http://debugmo.de/?p=138</guid>
		<description><![CDATA[8 ports should be enough for everyone &#8211; but 24 ports are so much cooler. The more, the better. I&#8217;ve decided again for minimum investment &#8211; 68 EUR for 24 bidirectional Gigabit isn&#8217;t that bad. It&#8217;s a TP-Link L-SG1024.
So I&#8217;ve ripped it open (you expected that, right?).

To make a long story short: This switch isn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>8 ports should be enough for everyone &#8211; but 24 ports are so much cooler. The more, the better. I&#8217;ve decided again for minimum investment &#8211; 68 EUR for 24 bidirectional Gigabit isn&#8217;t that bad. It&#8217;s a TP-Link L-SG1024.</p>
<p>So I&#8217;ve ripped it open (you expected that, right?).<br />
<span id="more-138"></span><br />
To make a long story short: This switch isn&#8217;t hackable. It uses a Marvell Prestera-DX switch (with external QPHYs), and this is a strictly unmanaged switch solution. Sorry.</p>
<p>Costs: quite ok (if you&#8217;re not a hacker)</p>
<p>Hackvalue: Lousy.</p>
<p>Pictures:</p>
<table style="width:194px;">
<tr>
<td align="center" style="height:194px;background:url(http://picasaweb.google.com/s/c/transparent_album_background.gif) no-repeat left"><a href="http://picasaweb.google.com/tmbinc1337/TPLink24PortGigESwitch?feat=embedwebsite"><img src="http://lh5.ggpht.com/_5AkmcjP1eXU/S1DI8pSjstE/AAAAAAAAAV8/fclKdDOccTg/s160-c/TPLink24PortGigESwitch.jpg" width="160" height="160" style="margin:1px 0 0 4px;"></a></td>
</tr>
<tr>
<td style="text-align:center;font-family:arial,sans-serif;font-size:11px"><a href="http://picasaweb.google.com/tmbinc1337/TPLink24PortGigESwitch?feat=embedwebsite" style="color:#4D4D4D;font-weight:bold;text-decoration:none;">TP-Link 24 Port GigE Switch</a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://debugmo.de/2010/01/whats-inside-part-iv-tl-sg210/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What&#8217;s Inside, Part III: TP-Link TL-SG1008D</title>
		<link>http://debugmo.de/2010/01/whats-inside-part-3-tp-link-tl-sf1008d/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=whats-inside-part-3-tp-link-tl-sf1008d</link>
		<comments>http://debugmo.de/2010/01/whats-inside-part-3-tp-link-tl-sf1008d/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 13:31:54 +0000</pubDate>
		<dc:creator>tmbinc</dc:creator>
				<category><![CDATA[What's Inside]]></category>

		<guid isPermaLink="false">http://debugmo.de/?p=134</guid>
		<description><![CDATA[I was looking for a successor to my last project. Some time ago I&#8217;ve bought the most cheapest Gigabit-Ethernet switch I could find. It was a TP-Link TL-SG1008D &#8211; 8 ports, GigE on all of them, and in the end, it was much bulkier than I expected it from the photo.
It served well, and I [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for a successor to <a href="http://debugmo.de/?p=113">my last project</a>. Some time ago I&#8217;ve bought the most cheapest Gigabit-Ethernet switch I could find. It was a TP-Link TL-SG1008D &#8211; 8 ports, GigE on all of them, and in the end, it was much bulkier than I expected it from the photo.</p>
<p>It served well, and I finally decided to open it up. <span id="more-134"></span><br />
<img src="http://lh6.ggpht.com/_5AkmcjP1eXU/S1DJ40WysRI/AAAAAAAAAWI/hRiSESqT1tk/s400/PICT0001.JPG" /></p>
<p>Turns out that the heat sink is pretty much damn massively soldered into the PCB. I&#8217;ve <a href="http://debugmo.de/?p=130">fixed that</a>, and found a <a href="http://lh3.ggpht.com/_5AkmcjP1eXU/S1DKOUvlmeI/AAAAAAAAAWY/c0q_9W9xOFU/s400/PICT0004.JPG">BCM5398</a>. The thing is <a href="http://www.broadcom.com/products/Switching/Home-and-Small-Business/BCM5398">pretty cool</a> &#8211; obviously it supports VLANs, but it also supports all kind of statistics (MIBs).</p>
<p>Only disadvantage is that the documentation is only available under NDA &#8211; <a href="http://svn.dd-wrt.com:8000/dd-wrt/browser/src/linux/brcm/linux-2.6.23/brcm/shared/bcmrobo.c">Open Source to the rescue</a>!</p>
<p>Note: I haven&#8217;t done any hacking yet. But it looks doable. It seems that the same pins that connect to the (populated) EEPROM are also being used for doing configuration. However, it seems that a strap pin has to be changed. I&#8217;ll update as soon as I know more.</p>
<p>Hackvalue: High.</p>
<p>Costs: low, very.</p>
<p>Pictures:</p>
<table style="width:194px;">
<tr>
<td align="center" style="height:194px;background:url(http://picasaweb.google.com/s/c/transparent_album_background.gif) no-repeat left"><a href="http://picasaweb.google.com/tmbinc1337/TPLink8PortGigESwitch?feat=embedwebsite"><img src="http://lh4.ggpht.com/_5AkmcjP1eXU/S1DJywzVy6E/AAAAAAAAAW8/HJs1eD61NMM/s160-c/TPLink8PortGigESwitch.jpg" width="160" height="160" style="margin:1px 0 0 4px;"></a></td>
</tr>
<tr>
<td style="text-align:center;font-family:arial,sans-serif;font-size:11px"><a href="http://picasaweb.google.com/tmbinc1337/TPLink8PortGigESwitch?feat=embedwebsite" style="color:#4D4D4D;font-weight:bold;text-decoration:none;">TP-Link 8 Port GigE Switch</a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://debugmo.de/2010/01/whats-inside-part-3-tp-link-tl-sf1008d/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Exit Review: K-Brand Cutting Edge Cable Cutter</title>
		<link>http://debugmo.de/2010/01/exit-review-k-brand-cutting-machine/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=exit-review-k-brand-cutting-machine</link>
		<comments>http://debugmo.de/2010/01/exit-review-k-brand-cutting-machine/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 13:14:27 +0000</pubDate>
		<dc:creator>tmbinc</dc:creator>
				<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://debugmo.de/?p=130</guid>
		<description><![CDATA[


I mean &#8211; it was a really cool thing, until it failed. The low price tag most certainly wasn&#8217;t the reason for the ultimate failure of this gadget, it was me, mis-operating. Raw force is usually a solution &#8211; this time, it wasn&#8217;t.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dealextreme.com/details.dx/sku.19908"><img src="http://lh4.ggpht.com/_5AkmcjP1eXU/S1DIJ-Y0QII/AAAAAAAAAVg/OLOubwuuNlQ/s400/PICT0014.JPG" /><br />
</a><br />
<span id="more-130"></span><br />
I mean &#8211; it was a really cool thing, until it failed. The low price tag most certainly wasn&#8217;t the reason for the ultimate failure of this gadget, it was me, mis-operating. Raw force is usually a solution &#8211; this time, it wasn&#8217;t.</p>
]]></content:encoded>
			<wfw:commentRss>http://debugmo.de/2010/01/exit-review-k-brand-cutting-machine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Culture Shock: Avoided.</title>
		<link>http://debugmo.de/2010/01/culture-shock-avoided/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=culture-shock-avoided</link>
		<comments>http://debugmo.de/2010/01/culture-shock-avoided/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 13:04:55 +0000</pubDate>
		<dc:creator>tmbinc</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://debugmo.de/?p=128</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=mcdonalds+near+hilton,+osaka&#038;sll=34.700342,135.49593&#038;sspn=0.044103,0.06875&#038;ie=UTF8&#038;hq=mcdonalds&#038;hnear=Hilton+Osaka+Japan&#038;filter=0&#038;update=1&#038;ll=34.704999,135.49593&#038;spn=0.044101,0.06875&#038;z=14&#038;iwloc=B"><img src="http://lh4.ggpht.com/_5AkmcjP1eXU/S1b_BLThrNI/AAAAAAAAAYg/8Rdq4MdDLqw/s640/photo.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://debugmo.de/2010/01/culture-shock-avoided/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Site Update</title>
		<link>http://debugmo.de/2010/01/site-update/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=site-update</link>
		<comments>http://debugmo.de/2010/01/site-update/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 21:40:54 +0000</pubDate>
		<dc:creator>tmbinc</dc:creator>
				<category><![CDATA[Site]]></category>

		<guid isPermaLink="false">http://debugmo.de/?p=122</guid>
		<description><![CDATA[I&#8217;ve switched to a more recent wordpress. Please don&#8217;t root me now because I&#8217;m not using a century old version anymore.
And I&#8217;ve switched the theme. I hope you like it.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve switched to a more recent wordpress. Please don&#8217;t root me now because I&#8217;m not using a century old version anymore.</p>
<p>And I&#8217;ve switched the theme. I hope you like it.</p>
]]></content:encoded>
			<wfw:commentRss>http://debugmo.de/2010/01/site-update/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
