<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Matt Merry &#187; 2009 &#187; February &#187; 01</title>
	<atom:link href="http://www.mattmerry.com/blog/2009/02/01/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mattmerry.com/blog</link>
	<description>MattMerry.com</description>
	<pubDate>Thu, 19 Feb 2009 01:19:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>matt@mattmerry.com ()</managingEditor>
		<webMaster>matt@mattmerry.com()</webMaster>
		<category></category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>MattMerry.com</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>matt@mattmerry.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.mattmerry.com/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.mattmerry.com/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>Matt Merry</title>
			<link>http://www.mattmerry.com/blog</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Update to Parsebin and sections.txt</title>
		<link>http://www.mattmerry.com/blog/2009/02/01/update-to-parsebin-and-sectionstxt</link>
		<comments>http://www.mattmerry.com/blog/2009/02/01/update-to-parsebin-and-sectionstxt#comments</comments>
		<pubDate>Sun, 01 Feb 2009 20:30:46 +0000</pubDate>
		<dc:creator>Matt Merry</dc:creator>
		
		<category><![CDATA[SD14 Firmware Hacking]]></category>

		<category><![CDATA[parsebin.pl]]></category>

		<guid isPermaLink="false">http://www.mattmerry.com/blog/?p=59</guid>
		<description><![CDATA[With the three new sections decoded and a change I&#8217;ve made to the sections.txt file, I figure its time to share the code with whomever wants it. The updates in this version are:

Parses CMbP Sections
Parses CMbH Sections
Parses CMbT Sections
Adds support for identifying section by unique ID in secitons.txt
Drops support for counting section occurrences in sections.txt
Lots [...]]]></description>
			<content:encoded><![CDATA[<p>With the three new sections decoded and a change I&#8217;ve made to the sections.txt file, I figure its time to share the code with whomever wants it. The updates in this version are:</p>
<ul>
<li>Parses CMbP Sections</li>
<li>Parses CMbH Sections</li>
<li>Parses CMbT Sections</li>
<li>Adds support for identifying section by unique ID in secitons.txt</li>
<li>Drops support for counting section occurrences in sections.txt</li>
<li>Lots of ugly unformatted output</li>
</ul>
<p>To specify the identifier for a section, add the integer representation for the identifier after the section name in sections.txt. If you look at the sections.txt file included below, you&#8217;ll see a ID specified for the FBIN secton. This is to help the script identify sections for now, untill all the sections are IDed and parseable. The string &#8220;FBIN &#8220;occurs in several places in the file though there is only one occurace of FBIN that represents a section identifier. Hence, the support for including a section identifier (which is the 4 bytes following the section name)</p>
<p>You can download the new script <a title="Parsebin.pl version 2" href="http://www.mattmerry.org/parsebin2.tar.bz2">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattmerry.com/blog/2009/02/01/update-to-parsebin-and-sectionstxt/feed</wfw:commentRss>
		</item>
		<item>
		<title>CMbT Sections</title>
		<link>http://www.mattmerry.com/blog/2009/02/01/cmbt-sections</link>
		<comments>http://www.mattmerry.com/blog/2009/02/01/cmbt-sections#comments</comments>
		<pubDate>Sun, 01 Feb 2009 19:40:23 +0000</pubDate>
		<dc:creator>Matt Merry</dc:creator>
		
		<category><![CDATA[SD14 Firmware Hacking]]></category>

		<category><![CDATA[CMbT]]></category>

		<category><![CDATA[FBIN]]></category>

		<guid isPermaLink="false">http://www.mattmerry.com/blog/?p=56</guid>
		<description><![CDATA[So, the CMbT section is pretty easy as well. The section is basically comprised of a Title or variable name string and then the value. It appears that these are all some sort of test stings. There is one interesting lesson learned from CMbT sections. If you recall, in my post about FBIN section, it [...]]]></description>
			<content:encoded><![CDATA[<p>So, the CMbT section is pretty easy as well. The section is basically comprised of a Title or variable name string and then the value. It appears that these are all some sort of test stings. There is one interesting lesson learned from CMbT sections. If you recall, in my post about FBIN section, it looked like FBIN was part of a CMbT section. We&#8217;ll look a little closer, but first the layout for the CMbT section:</p>
<blockquote><p>CMbT Section:<br />
The following is given in order of occurance<br />
Length    Description<br />
0&#215;04        Section Identifier (= CMbT)<br />
0&#215;04        Unknown (Section Version? =0&#215;00 01 00 00 could be minor/major)<br />
0&#215;04        Section Length<br />
0&#215;04         Unknown<br />
0&#215;04        Unknown (possibly related to overall string length? its close)<br />
Variable    Title String.<br />
0&#215;04        The string length<br />
Variable    the string</p></blockquote>
<p>The title string appears to represent the name of a variable and the string appears to be the value of that variable. There are very few of these CMbT sections, and the text in each indicates that these are some sort of test strings. Here is a list of the variable/value pairs:</p>
<p><strong>CamsettingsInfo</strong>: Camsettings-F13-SD14-PP<br />
<strong>CalibrationInfo</strong>: This is a sample calibration camfile, used for debugging SD7 cameras. In production cameras (and ones which have really been calibrated), it will contain more interesting data specific to each camera.<br />
<strong>ColorspaceTestText</strong>:      Colorspace is sRGB!<br />
<strong>ContentSummary</strong>:  Sample Calibration for 3rdES SD7<br />
<strong>ColorspaceTestText</strong>:      Colorspace is sRGB-Enhanced!<br />
<strong>ColorspaceTestText</strong>:      Colorspace is AdobeRGB!</p>
<p>Now, lets take a closer look at one CMbT section, again this is in the s14v101.bin file. The section begins at 0&#215;048c30:</p>
<pre>0004:8C30 | 43 4D 62 54  00 00 01 00  <span style="color: #ff0000;">4C 00 00 00</span>  14 00 00 00 | CMbT....L.......</pre>
<pre>0004:8C40 | 28 00 00 00  43 6F 6C 6F  72 73 70 61  63 65 54 65 | (...ColorspaceTe</pre>
<pre>0004:8C50 | 73 74 54 65  78 74 00 00  1C 00 00 00  43 6F 6C 6F | stText......Colo</pre>
<pre>0004:8C60 | 72 73 70 61  63 65 20 69  73 20 73 52  47 42 2D 45 | rspace is sRGB-E</pre>
<pre>0004:8C70 | 6E 68 61 6E  63 65 64 21  00 00 00 00  <span style="color: #000080;">46 42 49 4E</span> | nhanced!....<span style="color: #000080;">FBIN</span></pre>
<pre>0004:8C80 | <span style="color: #000080;">02 00 01 00  18 00 00 00  2E 4F AE B1  0E 00 00 00</span> | <span style="color: #000080;">.........OÂ®Â±....</span></pre>
<p>In red is the <span style="color: #ff0000;">section length</span> = <span style="color: #ff0000;">0&#215;4c</span>. Adding this to the position of the start of the section 0&#215;048C30 + 0&#215;4C = 0&#215;47C7C. This means the values in <span style="color: #000080;">blue</span> are <strong>not</strong> part of the CMbT section! FBIN is its own section, we can add this to the sections.txt file.</p>
<p>So, it appears that these are test texts, but we did learn that FBIN is its own section. As we saw before, the FBIN section contains the Xilinx bit file that describes the programming of the FPGA.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattmerry.com/blog/2009/02/01/cmbt-sections/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
