<?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>Lallafa's Blog &#187; DTV64</title>
	<atom:link href="http://lallafa.de/blog/category/commodore-64/dtv64/feed/" rel="self" type="application/rss+xml" />
	<link>http://lallafa.de/blog</link>
	<description>Personal Musings about the Commodore64, Macs and my other Hobby Projects</description>
	<lastBuildDate>Fri, 06 Apr 2012 12:50:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>dtv2ser 0.5 released</title>
		<link>http://lallafa.de/blog/2010/12/dtv2ser-0-5-released/</link>
		<comments>http://lallafa.de/blog/2010/12/dtv2ser-0-5-released/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 21:20:25 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[DTV64]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/?p=200</guid>
		<description><![CDATA[<p>From time to time I get requests of users who want to buy or build their own dtv2ser device from the schematics I published in previous dtv2ser versions. Unfortunately, I only ordered a small number of prototype boards and those boards are already all sold out. For most users the schematic is too difficult to <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2010/12/dtv2ser-0-5-released/">dtv2ser 0.5 released</a></span>]]></description>
			<content:encoded><![CDATA[<p>From time to time I get requests of users who want to buy or build their own dtv2ser device from the schematics I published in previous dtv2ser versions. Unfortunately, I only ordered a small number of prototype boards and those boards are already all sold out. For most users the schematic is too difficult to build from scratch and so they couldn&#8217;t use dtv2ser at all <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>With the growing popularity of the Arduino platform I soon had the idea to &#8220;port&#8221; the dtv2ser firmware to this common and easy available boards. I managed to get the firmware running in about a day and the good thing is: only three tiny HW modifications are required to transform a Arduino 2009 board into a fully functional dtv2ser device&#8230; So time to pack all the new stuff together and make a new release&#8230;</p>
<p>..here it is: <a title="dtv2ser" href="http://lallafa.de/blog/dtv2ser/">dtv2ser 0.5 with Arduino 2009 support</a> is available. The release mainly contains the new board support and some minor bug fixes.<a href="http://lallafa.de/blog/wp-content/uploads/2010/12/dtv2ardu-side.jpg"><img class="aligncenter size-medium wp-image-193" title="dtv2ardu-side" src="http://lallafa.de/blog/wp-content/uploads/2010/12/dtv2ardu-side-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p>Enjoy and have fun building your own dtv2ser <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2010/12/dtv2ser-0-5-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dtv2ser 0.4 released!</title>
		<link>http://lallafa.de/blog/2008/09/dtv2ser-04-released/</link>
		<comments>http://lallafa.de/blog/2008/09/dtv2ser-04-released/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 16:58:41 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[DTV64]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/?p=88</guid>
		<description><![CDATA[<p>LTNS! Yes, indeed&#8230; it took quite a while to finish this new version, but its really worth the wait!</p> <p>dtv2ser 0.4 now supports all new features of dtvtrans 1.0 including init after reset, BASIC loading, saving and RUN. Furthermore, full flash support was added!</p> <p>If you are impatient then just head over to the dtv2ser <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2008/09/dtv2ser-04-released/">dtv2ser 0.4 released!</a></span>]]></description>
			<content:encoded><![CDATA[<p>LTNS! Yes, indeed&#8230; it took quite a while to finish this new version, but its really worth the wait!</p>
<p>dtv2ser 0.4 now supports all new features of <b>dtvtrans 1.0</b> including init after reset, BASIC loading, saving and RUN. Furthermore, full <b>flash</b> support was added!</p>
<p>If you are impatient then just head over to the <a href="http://www.lallafa.de/blog/dtv2ser">dtv2ser homepage</a> and download your copy.</p>
<p><span id="more-88"></span></p>
<p>What&#8217;s new in this version? Let me explain it with a short walk through:</p>
<h3>Basics</h3>
<p>After flashing the new 0.4 firmware, you launch the dtv2sertrans client as usual. On Macs you can see some kind of auto-detection of the serial port:</p>
<pre>
> dtv2sertrans
dtv2sertrans version 0.4, dtv2ser device version 0.4
dtvtrans server NOT responding!!
</pre>
<p>Ah&#8230; no dtvtrans server is running on my DTV. So let&#8217;s reset the DTV (and enter dtvtrans via dtvboot):</p>
<pre>
> dtv2sertrans reset
dtv2sertrans version 0.4, dtv2ser device version 0.4
  resetting dtv... enter dtvtrans
  initializing full BASIC
</pre>
<p>That&#8217;s new: BASIC and KERNAL is fully initialized after a reset, so BASIC commands like load, save, run will work. Querying dtv2sertrans again:</p>
<pre>
> dtv2sertrans
dtv2sertrans version 0.4, dtv2ser device version 0.4
dtvtrans server version 1.0 (DTVBOOT 1.2 via joy2 in ROM)
</pre>
<p>Now the server is detected and reports the version, the port and if it resides in RAM or ROM.<br />
You can query more info with:</p>
<pre>
> dtv2sertrans server info
  dtvtrans revision: 1.0
    implementation:  DTVBOOT 1.2
    port:            joy2
    mode:            ROM
    range:           0x1f8000-0x1fb3db
</pre>
<h3>dtvtrans 1.0 Features</h3>
<p>Let&#8217;s check out the new dtvtrans 1.0 features that support BASIC commands and simplify loading, running programs:</p>
<pre>
> dtv2sertrans reset + load mygame.prg + run
</pre>
<p>Reset + init BASIC, load a program via dtv2ser and run it&#8230; That&#8217;s easy!</p>
<pre>
> dtv2sertrans save myprog.prg
</pre>
<p>This call saves the current program like the BASIC SAVE does only via dtv2ser&#8230;</p>
<p>Whats quite handy is a fill commando to simple write a value (e.g. 0) to a range of memory:</p>
<pre>
> dtv2sertrans fill 0x18000-0x20000 0
</pre>
<h3>Flash Commands</h3>
<p>And now flashing! But first a <b>Warning:</b> Flashing operation can destroy your DTV. So you have to be sure what you are doing. In this guide I&#8217;ll warn you, if something dangerous will happen. So you can decide if you dare it <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>First let&#8217;s see if your dtv2ser device can handle sys calls:</p>
<pre>
> dtv2sertrans diag sys
dtv2sertrans version 0.4, dtv2ser device version 0.4
  loading servlet '/Users/chris/Projects/svn/dtv2ser/servlet/diag_srv.prg'
  testing 25 sys calls with wait and return value fetch
  * 0/25: testing sys call with 84 frames duration
  duration: 00:01.823
...
  * 24/25: testing sys call with 51 frames duration
  duration: 00:01.219
  * 25/25: all calls passed OK!
</pre>
<p>Ok, sys call test passed without errors&#8230; So the flash commands that are called via sys should work.<br />
Now let&#8217;s ensure that the dtvtrans server program is runnning from RAM and not from ROM!</p>
<pre>
> dtv2sertrans server ram
dtv2sertrans version 0.4, dtv2ser device version 0.4
  resetting...
  is alive?
  initializing BASIC
  query dtvtrans server
  dtvtrans running in ROM. loading RAM version
  loading prg file '/Users/chris/Projects/svn/dtv2ser/contrib/dtvtrans_joy2.prg': 2548/0x0009f4 bytes, start: 0x0801
  sending program to DTV
    speed:  client=16.48 server=16.59 (kbyte/s)
    time:   00:00.191 for 2548/0x0009f4 bytes
  run program
  query dtvtrans server
  dtvtrans is now in RAM. Good!
    implementation: DTVTRANS 1.0
</pre>
<p>Fine, server now running from RAM&#8230; We are ready for flashing!<br />
Let&#8217;s check the type of the flash ROM found in the DTV:</p>
<pre>
> dtv2sertrans flash id
dtv2sertrans version 0.4, dtv2ser device version 0.4
  flash type: SST39VF1681
</pre>
<p>Now let&#8217;s have a look a the flash usage:</p>
<pre>
> dtv2sertrans flash map
dtv2sertrans version 0.4, dtv2ser device version 0.4
  generating flash map on DTV
  duration: 00:04.731
          flash ROM map ('.'=empty '*'=filled)
          0xxx 1xxx 2xxx 3xxx 4xxx 5xxx 6xxx 7xxx 8xxx 9xxx Axxx Bxxx Cxxx Dxxx Exxx Fxxx
  000000: .... **** .... .... .... .... .... .... .... **** **** **** .... **** **** ****
  010000: **** ***. .... .... **** **** **** **** **** **** **** **** **** **** **** ****
  020000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  030000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  040000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  050000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  060000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  070000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  080000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  090000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  0a0000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  0b0000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  0c0000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  0d0000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  0e0000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  0f0000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  100000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  110000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  120000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  130000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  140000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  150000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  160000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  170000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  180000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  190000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  1a0000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  1b0000: **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
  1c0000: **** **** **** **** **** **** **** **** **** **** **** **** **** **.. .... ....
  1d0000: .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... ....
  1e0000: .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... ....
  1f0000: .... .... .... .... .... .... .... .... **** **** **** **** **** **** **** ****
</pre>
<p>The first step in flashing is to store the current contents of the flash ROM in a file:</p>
<pre>
> dtv2sertrans flash dump orig_rom.bin
dtv2sertrans version 0.4, dtv2ser device version 0.4
  dumping flash ROM to file 'orig_rom.bin'
    speed:  client=17.95 server=17.96 (kbyte/s)
    time:   01:54.116 for 2097152/0x200000 bytes
  saving raw file 'orig_rom.bin': 2097152/0x200000 bytes
</pre>
<p>Now, create or alter the ROM file (e.g. use tools like <a href="http://picobay.com/dtv_wiki/index.php?title=DTVFSEdit">DTVFSEdit</a>).<br />
If the new ROM is ready, you can flash it back to your DTV with (first in dummy mode w/o flashing):</p>
<pre>
> dtv2sertrans flash sync new_rom.bin
dtv2sertrans version 0.4, dtv2ser device version 0.4
  loading raw file 'new_rom.bin': 2097152/0x200000 bytes
  syncing flash ROM
          flash ROM map ('*'=flash '#'=erase+flash)
          0xxx 1xxx 2xxx 3xxx 4xxx 5xxx 6xxx 7xxx 8xxx 9xxx Axxx Bxxx Cxxx Dxxx Exxx Fxxx
  010000: #... ..#. .... .... .... .... .... .... .... .... .... .... .... .... .... ....
  020000: .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... ....
...
</pre>
<p>If you add the -f switch then a real flash operation is performed. This will alter your DTV! So make sure the image is correct:</p>
<pre>
> dtv2sertrans flash sync -f new_rom.img
...
</pre>
<p>Ok, that&#8217;s it! This was a short walk through for all the new dtv2ser 0.4 features. But there are many more things to discover. Just run dtv2sertrans -h to see more options&#8230;</p>
<p>Have Fun,<br />
-chris</p>
]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2008/09/dtv2ser-04-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Finished my DIY 1541U Cartridge Case</title>
		<link>http://lallafa.de/blog/2008/06/finished-my-diy-1541u-cartridge-case/</link>
		<comments>http://lallafa.de/blog/2008/06/finished-my-diy-1541u-cartridge-case/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 10:34:23 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[DTV64]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/index.php/2008/06/01/finished-my-diy-1541u-cartridge-case/</guid>
		<description><![CDATA[ <p>Puh, finally my 1541U cartridge has a decent case! I created one myself starting with a generic case at the price of about one EUR&#8230;</p> <p>Have a look at my Lallafa&#8217;s 1541U DIY Cartridge Case Page for more details!</p> ]]></description>
			<content:encoded><![CDATA[
<a href="http://lallafa.de/blog/wp-content/gallery/u1541cart/1541UCart1.jpg" title="" class="shutterset_singlepic14" >
	<img class="ngg-singlepic" src="http://lallafa.de/blog/wp-content/gallery/cache/14__320x240_1541UCart1.jpg" alt="1541UCart1" title="1541UCart1" />
</a>

<p>Puh, finally my 1541U cartridge has a decent case!<br />
I created one myself starting with a generic case at the price of about one EUR&#8230;</p>
<p>Have a look at my <a href="http://lallafa.de/blog/index.php/u1541-diy-cartridge-case">Lallafa&#8217;s 1541U DIY Cartridge Case Page</a> for more details!</p>
]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2008/06/finished-my-diy-1541u-cartridge-case/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>sd2iec in DTV Joystick</title>
		<link>http://lallafa.de/blog/2008/04/sd2iec-in-dtv-joystick/</link>
		<comments>http://lallafa.de/blog/2008/04/sd2iec-in-dtv-joystick/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 13:25:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DTV64]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/index.php/2008/04/06/sd2iec-in-dtv-joystick/</guid>
		<description><![CDATA[ <p>I just built my sd2iec device board from Shadowolf. Its really small and compact so I thought why not integrate it into my modded DTV with the original joystick case. I don&#8217;t wanted to sacrificy the battery case so I knew there is not much place left&#8230;</p> <p>With a lot of cramming and fiddling <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2008/04/sd2iec-in-dtv-joystick/">sd2iec in DTV Joystick</a></span>]]></description>
			<content:encoded><![CDATA[
<a href="http://lallafa.de/blog/wp-content/gallery/dtvmod/dtvmod02.jpg" title="" class="shutterset_singlepic9" >
	<img class="ngg-singlepic" src="http://lallafa.de/blog/wp-content/gallery/cache/9__320x240_dtvmod02.jpg" alt="dtvmod02" title="dtvmod02" />
</a>

<p>I just built my <a href="http://http://www.forum64.de/wbb3/index.php?page=Board&amp;boardID=194">sd2iec device</a> board from Shadowolf. Its really small and compact so I thought why not integrate it into my modded DTV with the original joystick case. I don&#8217;t wanted to sacrificy the battery case so I knew there is not much place left&#8230;</p>
<p>With a lot of cramming and fiddling around I finally managed to insert the sd2iec inside my DTV Mod. Phew! Now the case is filled up to the limit &#8211; but its cool to have a sd2iec right inside the joystick;)</p>

<a href="http://lallafa.de/blog/wp-content/gallery/dtvjoy/dtvjoy07.jpg" title="" class="shutterset_singlepic7" >
	<img class="ngg-singlepic" src="http://lallafa.de/blog/wp-content/gallery/cache/7__320x240_dtvjoy07.jpg" alt="dtvjoy07" title="dtvjoy07" />
</a>

<p>Have a look here at <a href="http://lallafa.de/blog/index.php/modded-dtv-joystick-gallery/">my gallery</a> for more pictures!</p>
]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2008/04/sd2iec-in-dtv-joystick/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>dtv2ser 0.3 released</title>
		<link>http://lallafa.de/blog/2008/03/dtv2ser-03-released/</link>
		<comments>http://lallafa.de/blog/2008/03/dtv2ser-03-released/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 20:15:26 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[DTV64]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/index.php/2008/03/03/dtv2ser-03-released/</guid>
		<description><![CDATA[<p>Finally dtv2ser 0.3 is ready for prime time!</p> <p>Grab your copy here: dtv2ser Homepage </p> <p>The new version introduces a fully automatic bootstrap command that brings an unmodified DTV (with only a DB9 joystick connector attached) into dtvtrans mode in a few minutes without manual intervention. A normal mode types in TLR&#8217;s boot.txt basic booter <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2008/03/dtv2ser-03-released/">dtv2ser 0.3 released</a></span>]]></description>
			<content:encoded><![CDATA[<p>Finally dtv2ser 0.3 is ready for prime time!</p>
<p>Grab your copy here: <a href="http://lallafa.de/blog/index.php/dtv2ser/">dtv2ser Homepage</a> </p>
<p>The new version introduces a fully automatic bootstrap command that brings an unmodified DTV (with only a DB9 joystick connector attached) into dtvtrans mode in a few minutes without manual intervention. A normal mode types in TLR&#8217;s boot.txt basic booter on the virtual keyboard and fetches mlboot.prg and dtvtrans.prg afterwards. A new improved fast bootstrap method does some pre POKEs to speed up typing and boots in half the time. Additionally, a screen code compiler allows to type in mlboot.prg directly to screen space and run it there without the need to execute boot.txt first.</p>
<p>Additionally, the JoyStream is introduced to describe and execute sequences of joystick input via a special string language syntax. AutoType allows to type in arbitrary files or strings via the virtual keyboard of DTV&#8217;s basic prompt. A Screen Code compiler encodes an assembler program and directly types in the corresponding character codes on the screen to run it there.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2008/03/dtv2ser-03-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatic DTV bootstrapping with mini-mod and dtv2ser</title>
		<link>http://lallafa.de/blog/2008/02/automatic-dtv-bootstrapping-with-mini-mod-and-dtv2ser/</link>
		<comments>http://lallafa.de/blog/2008/02/automatic-dtv-bootstrapping-with-mini-mod-and-dtv2ser/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 20:02:48 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[DTV64]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/index.php/2008/02/10/automatic-dtv-bootstrapping-with-mini-mod-and-dtv2ser/</guid>
		<description><![CDATA[<p>The upcoming version dtv2ser 0.3 will contain a bootstrapping command.</p> <p>What&#8217;s this all about? Bootstrapping means to initially load some software or tools on a system. </p> <p>Unfortunately, a fresh and unmodified DTV joystick device has no easy way of adding software. Only by wiggling the joystick left and right during boot you can enter <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2008/02/automatic-dtv-bootstrapping-with-mini-mod-and-dtv2ser/">Automatic DTV bootstrapping with mini-mod and dtv2ser</a></span>]]></description>
			<content:encoded><![CDATA[<p>The upcoming version dtv2ser 0.3 will contain a bootstrapping command.</p>
<p>What&#8217;s this all about?<br />
<span id="more-57"></span><br />
Bootstrapping means to initially load some software or tools on a system. </p>
<p>Unfortunately, a fresh and unmodified DTV joystick device has no easy way of adding software. Only by wiggling the joystick left and right during boot you can enter the basic command prompt. There the C64 blue screen is available and allows to enter basic code. There is no keyboard available so a virtual keyboard is used by pressing the joystick and moving around until the desired key is highlighted.</p>
<p>The idea of <strong>DTV bootstrapping</strong> is now to enter a short boot basic program that then receives more tools transmitted via the joystick port. For this to work, you will need a <strong>mini-joy-mod</strong>. This mod of the DTV only adds a DB9 connector for the joystick port 2 and requires to solder 6 lines&#8230;<br />
With this mod you can bootstrap with a <a href="http://lallafa.de/blog/index.php/dtv2ser/">dtv2ser</a> device and run <a href="http://www.kahlin.net/daniel/dtv/cable.php">dtvtrans</a> on the device! With dtvtrans you can upload any tool to the memory of the DTV and run it. With TLR&#8217;s <a href="http://www.kahlin.net/daniel/dtv/flash.php">flash tool</a> you can then alter the flash file system and add new programs or games&#8230;</p>
<p><em>Automatic</em> in the title now means to take the burden of manual typing in the initial basic boot code. This is done by simulating the input via the virtual keyboard with the dtv2ser device connected to the new DB9 joystick connector. This technique is called <strong>AutoType</strong> and was invented by <a href="http://symlink.dk/nostalgia/dtv/">Spaceman Spiff</a> and is already implemented in <a href="http://picobay.com/dtv_wiki/index.php?title=DTVTrans">dtvtrans+</a>.</p>
<p>Here is the first version that uses dtv2ser 0.3 and a DTV with the umodified virtual keyboard and its slow timing to enter the boot code (My first capture attempt with a web cam positioned directly in front of the monitor <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> :</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/n4RWqxqy9t4&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/n4RWqxqy9t4&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p>Boot Time is <strong>480</strong> seconds</p>
<p>This one is a more advanced version that uses some pre-pokes (thanks to TLR!) to speed up the virtual keyboard first. Entering the boot code is then much faster (Second capture with frame grabber):</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/Ol4AysOHYL0&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/Ol4AysOHYL0&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p><strong>FAST</strong> Boot time now is <strong>270</strong> seconds&#8230;</p>
<p>There is still room for improvement there, as the basic code is not in minimal syntax yet.</p>
<p>Now I am busy finishing dtv2ser 0.3 and preparing it for release. Stay tuned and be ready for your own DTV bootstrapping experience&#8230; and maybe some new and more optimized fast boot code <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2008/02/automatic-dtv-bootstrapping-with-mini-mod-and-dtv2ser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dtv2ser 0.2 released</title>
		<link>http://lallafa.de/blog/2007/11/dtv2ser-02-released/</link>
		<comments>http://lallafa.de/blog/2007/11/dtv2ser-02-released/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 20:49:34 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[DTV64]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/index.php/2007/11/29/dtv2ser-02-released/</guid>
		<description><![CDATA[<p>A new release of dtv2ser is available now.</p> <p>Just head over to my dtv2ser Homepage and grab your copy!</p> <p>New Features are:</p> New dtv2ser+usb schematic+board with a neat USB Stick like device for dtv2ser Booloader support for AVR to update the firmware directly via serial Added &#8216;boot&#8217; dtvtrans command ]]></description>
			<content:encoded><![CDATA[<p>A new release of dtv2ser is available now.</p>
<p>Just head over to my <a href="http://lallafa.de/blog/index.php/dtv2ser/">dtv2ser Homepage</a> and grab your copy!</p>
<p>New Features are:</p>
<ul>
<li>New dtv2ser+usb schematic+board with a neat USB Stick like device for dtv2ser</li>
<li>Booloader support for AVR to update the firmware directly via serial</li>
<li>Added &#8216;boot&#8217; dtvtrans command</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2007/11/dtv2ser-02-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More dtv2ser+usb PCBs and a new KeyboardTwister</title>
		<link>http://lallafa.de/blog/2007/11/more-dtv2serusb-pcbs-and-a-new-keyboardtwister/</link>
		<comments>http://lallafa.de/blog/2007/11/more-dtv2serusb-pcbs-and-a-new-keyboardtwister/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 20:29:20 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[DTV64]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/index.php/2007/11/27/more-dtv2serusb-pcbs-and-a-new-keyboardtwister/</guid>
		<description><![CDATA[<p>Finally I got all parts for the dtv2ser+usb boards including the missing USB connector. Actually a type A female connector was placed on the layout but it is less common. By mounting a type A male connector on the lower side of the PCB upside down I was able to replace the female connector with <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2007/11/more-dtv2serusb-pcbs-and-a-new-keyboardtwister/">More dtv2ser+usb PCBs and a new KeyboardTwister</a></span>]]></description>
			<content:encoded><![CDATA[<p>Finally I got all parts for the dtv2ser+usb boards including the missing USB connector. Actually a type A female connector was placed on the layout but it is less common. By mounting a type A male connector on the lower side of the PCB upside down I was able to replace the female connector with the more common version. Now the board really looks like a USB stick:</p>
<p><a href="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb_prod.jpg"><img src="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb_prod-thumb.jpg"/><br />
</a><br />
<span id="more-55"></span><br />
As you can see three of the nine boards are already finished and tested, but unfortunately they are already assigned: bottom is mine, the middle and top ones are for my fellow <a href="http://viceplus.wiki.sourceforge.net/">VICEplus</a> developers nojoopa and TLR. So only six boards left of the prototype run&#8230;</p>
<p>For pcollins from <a href="http://www.forum64.de/">Forum64</a> I also built a new KeyboardTwister variant for his DTV:</p>
<p><a href="http://www.lallafa.de/images/keytwist/new_twister1.jpg"><img src="http://www.lallafa.de/images/keytwist/new_twister1-thumb.jpg"/></a></p>
<p><a href="http://www.lallafa.de/images/keytwist/new_twister2.jpg"><img src="http://www.lallafa.de/images/keytwist/new_twister2-thumb.jpg"/></a></p>
<p>So, enough hardware building for now&#8230; Now I&#8217;ll focus on the software part again and finish dtv2ser 0.2 &#8211; the new release with dtv2ser+usb support&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2007/11/more-dtv2serusb-pcbs-and-a-new-keyboardtwister/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First dtv2ser+usb PCB</title>
		<link>http://lallafa.de/blog/2007/11/first-dtv2serusb-pcb/</link>
		<comments>http://lallafa.de/blog/2007/11/first-dtv2serusb-pcb/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 09:53:40 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[DTV64]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/index.php/2007/11/18/first-dtv2serusb-pcb/</guid>
		<description><![CDATA[<p>It took quite a while until I had the first prototypes of dtv2ser+usb here on my desk&#8230; Now they are here: I got nine boards from PCB-Pool and they really look great:</p>
<p></p>
<p>Fortunately, I already ordered all essential parts for one board and started with soldering right now&#8230;</p>
<p></p>
<p>A quick look at the PCB showed me that one part does not match: the USB connector. I did a mistake and placed a type A USB connector on the board, but a type B connector was the one I intended to use&#8230;   </p>
<p>Hmm, for now I stick to a type B one I have here and solder it with some wires, but for the other prototypes I&#8217;ll use a type A USB connector. First, I thought to use a type A plug, but a type A connector is more common&#8230; Then the board really will look like a USB stick  </p>
<p>All other parts have the correct placement and size and after finishing the soldering the first tests began. I hooked up the ISP and voilą the ATmega8 came to life and successfully received the bootloader firmware. Then the board was directly connected to my Mac and voilą  again: It was registered as a new virtual serial port. Now the real dtv2ser firmware was transferred via the virtual serial port and the bootloader. Finally, I did run the dtv2sertrans testsuite with my DTV connected and everything passed without any errors. Phew! It seems that the PCB really works!!!  </p>
<p></p>
<p>On the left of the board is the DB-9 joystick connector for the DTV connection and on the right is the USB connection. On the front right you can see two LEDs (green, yellow) that show the serial traffic running through USB. On the back left you can see the three dtv2ser LEDs (green, yellow, red) for Ready, Transmit and Error.</p>
<p>The large pin header is for connecting the ISP to initially flash the ATmega8 and can be later on used to place the bootloader jumper and  an optional reset button. The other pin header is used to determine the power supply of the board: either from ISP (for flashing) or via USB (normal operation).</p>
<p>I am currently waiting for my next part order from Reichelt. It contains the missing parts for this board and also five complete part sets for new boards.</p>
<p>Since I do not need nine boards, I am willing to give away the other boards to you for the price of the parts. I will prepare complete soldered boards and also empty ones if you want to order the parts yourself. Just drop me a mail or a PM on Forum 64 or PETSCII  if you are interested&#8230;</p>
]]></description>
			<content:encoded><![CDATA[<p>It took quite a while until I had the first prototypes of dtv2ser+usb here on my desk&#8230; Now they are here: I got nine boards from <a href="http://www.pcb-pool.de">PCB-Pool</a> and they really look great:</p>
<p><a href="http://www.lallafa.de/images/dtv2ser%2Busb/dtv2ser%2Busb_pcb2.jpg"><img src="http://www.lallafa.de/images/dtv2ser%2Busb/dtv2ser%2Busb_pcb2-thumb.jpg"></a></p>
<p>Fortunately, I already ordered all essential parts for one board and started with soldering right now&#8230;</p>
<p><span id="more-54"></span></p>
<p>A quick look at the PCB showed me that one part does not match: the USB connector. I did a mistake and placed a type A USB connector on the board, but a type B connector was the one I intended to use&#8230; <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  </p>
<p>Hmm, for now I stick to a type B one I have here and solder it with some wires, but for the other prototypes I&#8217;ll use a type A USB connector. First, I thought to use a type A plug, but a type A connector is more common&#8230; Then the board really will look like a USB stick <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>All other parts have the correct placement and size and after finishing the soldering the first tests began. I hooked up the ISP and voilą the ATmega8 came to life and successfully received the bootloader firmware. Then the board was directly connected to my Mac and voilą  again: It was registered as a new virtual serial port. Now the real dtv2ser firmware was transferred via the virtual serial port and the bootloader. Finally, I did run the dtv2sertrans testsuite with my DTV connected and everything passed without any errors. Phew! It seems that the PCB really works!!! <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><a href="http://www.lallafa.de/images/dtv2ser%2Busb/dtv2ser%2Busb_pcb1.jpg"><img src="http://www.lallafa.de/images/dtv2ser%2Busb/dtv2ser%2Busb_pcb1-thumb.jpg"></a></p>
<p>On the left of the board is the DB-9 joystick connector for the DTV connection and on the right is the USB connection. On the front right you can see two LEDs (green, yellow) that show the serial traffic running through USB. On the back left you can see the three dtv2ser LEDs (green, yellow, red) for Ready, Transmit and Error.</p>
<p>The large pin header is for connecting the ISP to initially flash the ATmega8 and can be later on used to place the bootloader jumper and  an optional reset button. The other pin header is used to determine the power supply of the board: either from ISP (for flashing) or via USB (normal operation).</p>
<p>I am currently waiting for my next part order from <a href="http://www.reichelt.de">Reichelt</a>. It contains the missing parts for this board and also five complete part sets for new boards.</p>
<p>Since I do not need nine boards, I am willing to give away the other boards to you for the price of the parts. I will prepare complete soldered boards and also empty ones if you want to order the parts yourself. Just drop me a mail or a PM on <a href="http://www.forum64.de">Forum 64</a> or <a href="http://jledger.proboards19.com/index.cgi?board=dtvhacking">PETSCII </a> if you are interested&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2007/11/first-dtv2serusb-pcb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dtv2ser+usb Prototype</title>
		<link>http://lallafa.de/blog/2007/11/dtv2serusb-prototype/</link>
		<comments>http://lallafa.de/blog/2007/11/dtv2serusb-prototype/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 19:54:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DTV64]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/index.php/2007/11/02/dtv2serusb-prototype/</guid>
		<description><![CDATA[<p>Currently, the dtv2ser device provides a RS232 interface and you need an external usb2serial converter to connect it to a modern host computer. So why not directly include the usb2serial conversion on the dtv2ser board. I found the FT232R chip that fullfills that task and is not too expensive (and also Reichelt my local parts <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2007/11/dtv2serusb-prototype/">dtv2ser+usb Prototype</a></span>]]></description>
			<content:encoded><![CDATA[<p>Currently, the <a href="http://lallafa.de/blog/index.php/dtv2ser/">dtv2ser device</a> provides a RS232 interface and you need an external usb2serial converter to connect it to a modern host computer. So why not directly include the usb2serial conversion on the dtv2ser board. I found the <a href="http://www.ftdichip.com/Products/FT232R.htm">FT232R</a> chip that fullfills that task and is not too expensive (and also Reichelt my local parts dealer has it available <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Have a look at my dtv2ser+usb prototype that will be presented in release 0.2 of dtv2ser&#8230;</p>
<p><a href="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb1.jpg"><img src="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb1-thumb.jpg" /></a></p>
<p><span id="more-52"></span></p>
<p>Here is the setup of the new prototype: I used the old dtv2ser prototype board and made the MAX232 serial converter connectable to the AVR via a small cable with pin connectors. They were now disconnected and the FT232R was connected directly. By reconnecting the MAX you can fully establish the old behavior of the dtv2ser circuit.</p>
<p>In the middle you can see the FT232R chip (only available in a SMD case) I soldered on a small board to have &#8220;normal&#8221; DIL pins for my prototype board. That board mainly provides connectors to the internal serial interface on the left and the USB connector (right). Additionally, two LEDs are available for TxD and RxD activity.</p>
<p><a href="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb2.jpg"><img src="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb2-thumb.jpg" /></a></p>
<p>This is a closeup of the &#8220;old&#8221; dtv2ser board with all connectos labeled. You can see the MAX232 based serial interface on the left.</p>
<p>Note the jumpers that allow to switch the power for the MAX (top left) and the other one (top right) that controls wether the DTV or the USB (via RT232L) powers the circuit. Drawing power from USB for dtv2ser+usb is a good choice since most users don&#8217;t have a 5V power line connected to the joystick port.</p>
<p>On the lower left is a connector field for the three LEDs of dtv2ser, namely Ready (green), Transfer (yellow) and Error (red) LED. On the lower right is a 10 pin connector for the ISP to program the flash of the AVR MCU.</p>
<p><a href="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb3.jpg"><img src="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb3-thumb.jpg" /></a></p>
<p>This is the RT232L module: On the left side is a connector with the serial lines at 5V level. They are connected to the dtv2ser as a replacemenet for the MAX based serial I/O. Additionally, this connector provides GND and the 5V power supply taken from the USB bus.</p>
<p>On the right there is the USB connection and an extra pin for Reset and Power signals. The top header provides the TxD and RxD acitivity signals for two LEDs.</p>
<p><a href="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb4.jpg"><img src="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb4-thumb.jpg" /></a></p>
<p>Unfortunately, the old case is too small for dtv2ser and the RT232L board. So I bought a new one with enough space. Now both boards fit in and I labeled all connectors.</p>
<p>Note the new Reset button. Pressing this button allows you to reset the MCU and it was added to the dtv2ser schematic as it was missing in release 0.1. Additionally, a bootloader switch was introduced.</p>
<p>The new firmware comes with a bootloader that allows to directly flash a new firmware via the serial interface. You do not need an ISP anymore to flash your updates. Toggling the switch allows the device to enter the bootmode after a reset. You then flash the new firmware from your host computer and toggle the switch again and after a reset you are back in dtv2ser mode. In dtv2ser mode the green Ready LED is lighted and in bootloader mode the orange LED stays on.</p>
<p><a href="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb5.jpg"><img src="http://www.lallafa.de/images/dtv2ser+usb/dtv2ser+usb5-thumb.jpg" /></a></p>
<p>Have a look inside the new case&#8230; the dtv2ser board is on the left side and the usb board on the right. There is still room left for further extensions (currently filled simply with cardboard) <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Next Prototype</h3>
<p>My first prototype works really well and so I started the next stage of development: design a small (i.e. SMD based) board that integrates the AVR MCU and the USB controller.<br />
<a href="http://www.lallafa.de/images/dtv2ser+usb/dtv2usb-sch.png"><img src="http://www.lallafa.de/images/dtv2ser+usb/dtv2usb-sch-thumb.png" /></a></p>
<p>Here is the schematic drawn with the Free edition of  <a href="http://www.cadsoft.de">Eagle</a>. The both connectors on the board are the DB9 female connector to directly connect to the DTV joystick port and on the other side the USB connector. The other on board components are five LEDs: 3 for dtv2ser and 2 for the RT232L TxD and RxD activity.</p>
<p>The two pin heads are for the ISP to program the flash initially and the other one selects the power source of the circuit. The ISP connector has additional functionality: one pin pair can be jumpered to enable the bootloader mode. Another pin pair can be used to add a reset button. Finally, a pin pair can be used to feed in external power if desired.</p>
<p><img src="http://www.lallafa.de/images/dtv2ser+usb/dtv2usb-brd.png" /></p>
<p>After a lot trial and error, here it is: my first board design done with Eagle. And yes, I started with a SMD one <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  The board is 42&#215;24 mm in size and really very small (see the connectors for a size comparison). It should fit in a small case and really look nice&#8230;</p>
<p>Yesterday I ordered a small amount of prototype boards that will be manufactured in the next week(s). Now I am wating to get my hands on my first real dtv2ser+usb board to see if my schematics is correct and if all works as I expected. So stay tuned&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2007/11/dtv2serusb-prototype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

