<?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>ejs &#187; programming</title>
	<atom:link href="http://ejs.seniejitrakai.net/category/blogroll/my-little-pleasures/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://ejs.seniejitrakai.net</link>
	<description>a snaphot of time</description>
	<lastBuildDate>Tue, 15 Jun 2010 23:06:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Weekend project &#8211; USBasp</title>
		<link>http://ejs.seniejitrakai.net/2008/09/21/weekend-project-usbasp/</link>
		<comments>http://ejs.seniejitrakai.net/2008/09/21/weekend-project-usbasp/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 18:26:50 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[Hobbies]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=89</guid>
		<description><![CDATA[I had some ideas to go out before, but as i got terrible cold last Friday, I had to postpone all of them. I feel a bit better today, so decided to build USBasp &#8211; an USB port ISP programmer for Atmel product family. I used STK 200/300 dongle before, but it works from parallel [...]]]></description>
			<content:encoded><![CDATA[<p>I had some ideas to go out before, but as i got terrible cold last Friday, I had to postpone all of them.</p>
<p>I feel a bit better today, so decided to build USBasp &#8211; an USB port ISP programmer for Atmel product family. I used STK 200/300 dongle before, but it works from parallel port only.<br />
<a href='http://ejs.seniejitrakai.net/USBasp/USBasp_stage1.jpg'><img class="right" src="http://ejs.seniejitrakai.net/USBasp/usbasp_stage1-300x105.jpg" alt="USBasp: fresh PCB" title="usbasp_stage1" width="300" height="105"/></a><br />
Lets start: the schematics is from <a href="http://www.fischl.de/usbasp/"> http://www.fischl.de/usbasp/ </a>. You can find some schematics and pre-routed PCB&#8217;s there. </p>
<p>What I need is USB B type or MiniUSB connector, SMD parts, small footprint, single &#8211; sided PCB. The one I liked is by Thomas Pfeifer, <a href="http://thomaspfeifer.net/atmel_usb_programmer.htm"> http://thomaspfeifer.net/atmel_usb_programmer.htm</a>. The problem is I found no files for Eagle there and had to re-create the PCB. </p>
<p>Additional features are:</p>
<ul>
<li>RC filters on MOSI, MISO and SCK lines to suppress ringing, as suggested in <a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&#038;file=viewtopic&#038;t=33265">AVR Freaks forum</a>;</li>
<li>Signal from oscillator (XTAL1) is routed to the pin 3 on IDC connector via jumper &#8211; a handy feature to debrick the MCU if you accidentally fused external oscillator;</li>
<li>Inductor on the power line.</li>
</ul>
<p>The PDF files with the layout are <a href="http://ejs.seniejitrakai.net/USBasp/USBasp_single_sided_board.pdf">here</a>, an A6 &#8211; size mirrored image for direct printing on OHP is <a href="http://ejs.seniejitrakai.net/USBasp/USBasp_bottom_mirrored_multi.pdf">here</a>. </p>
<p>Added on 2008-10-01:<br />
<a href='http://ejs.seniejitrakai.net/USBasp/usbasp-top-populated_.jpg'><img src="http://ejs.seniejitrakai.net/USBasp/usbasp-top-populated_-300x122.jpg" alt="USBasp top side, populated" title="USBasp top side, populated" width="300" height="122" class="right" /></a><br />
<a href='http://ejs.seniejitrakai.net/USBasp/usbasp-bottom-populated.jpg'><img src="http://ejs.seniejitrakai.net/USBasp/usbasp-bottom-populated-300x114.jpg" alt="USBasp bottom side, populated" title="USBasp bottom side, populated" width="300" height="114" class="right" /></a><br />
First, it works. Both connected directly or via USB hub.<br />
Second: don&#8217;t create anything while you are ill. Actually, pin number 5 on miniUSB connector MUST be grounded, while pin number 4 can be grounded or left floating. I&#8217;ve used i jumper wire to solve the issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2008/09/21/weekend-project-usbasp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Colorization</title>
		<link>http://ejs.seniejitrakai.net/2005/10/19/colorization/</link>
		<comments>http://ejs.seniejitrakai.net/2005/10/19/colorization/#comments</comments>
		<pubDate>Wed, 19 Oct 2005 18:57:50 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[MatLAB]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=10</guid>
		<description><![CDATA[505510 Quite interesting article on image processing. The MatLAB source, presented on the site, need some minor enhancments. Authors may contact me, if they want . Attention: the program is really slow. I used &#8216;direct solver&#8217;, and it took almost 10 minutes to proceed the image.]]></description>
			<content:encoded><![CDATA[<div class="g2image_float_right"><wpg2id>505</wpg2id><wpg2id>510</wpg2id></div>
<p>Quite interesting <a href="http://www.cs.huji.ac.il/~yweiss/Colorization/">article</a> on image processing. The MatLAB source, presented on the site, need some minor enhancments. Authors may contact me, if they want <img src='http://ejs.seniejitrakai.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .<br />
<strong>Attention:</strong> the program is really slow. I used &#8216;direct solver&#8217;, and it took almost 10 minutes to proceed the image.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2005/10/19/colorization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JPEG-2000 in MatLAB</title>
		<link>http://ejs.seniejitrakai.net/2005/04/16/jpeg-2000-in-matlab/</link>
		<comments>http://ejs.seniejitrakai.net/2005/04/16/jpeg-2000-in-matlab/#comments</comments>
		<pubDate>Fri, 15 Apr 2005 22:07:45 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[Hobbies]]></category>
		<category><![CDATA[MatLAB]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=4</guid>
		<description><![CDATA[Any idea how to produce and read the <a href="http://www.jpeg.org/jpeg2000/">JP2</a> file in MatLAB?]]></description>
			<content:encoded><![CDATA[<p>Any idea how to produce and read the <a href="http://www.jpeg.org/jpeg2000/">JP2</a> file in MatLAB?<br />
The easiest way should be writing middleware in Java to specific library. The things are complicated, as i need to get and modify data from every stage of encoding/decoding, like color space transformations, quantization, EBCOT (including bit-plane decomposition, bit-plane processing, encoding) and rate-encoders.<span id="more-4"></span></p>
<ul>
<li>There is <a href="http://www.ece.uvic.ca/~mdadams/jasper/">JasPer</a>, written in C. Not all functions of Jpeg-2000 basic specification is implemented now;</li>
<li><a href="http://jj2000.epfl.ch/">Jj2000</a>, written in Java; only basic functionality is provided;</li>
<li><a href="http://www.kakadusoftware.com/welcome.html">Kakadu</a>, written in C++ and has JNI bindings. Almost perfect inplementation of the Jpeg2000 image compression standart; data-on-demand, progressive transmision, even video encoding/decoding is supported.</li>
</ul>
<p>As i tried to reproduce kdu_encoder in Java, no image is appearing in the output file, while original C++ file works well.</p>
<p>Need more timeto research.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2005/04/16/jpeg-2000-in-matlab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
