{"id":35,"date":"2007-06-24T19:09:57","date_gmt":"2007-06-24T17:09:57","guid":{"rendered":"http:\/\/lallafa.de\/blog\/??p=35"},"modified":"2007-06-24T19:09:57","modified_gmt":"2007-06-24T17:09:57","slug":"finally-flashed-my-sst-dtv","status":"publish","type":"post","link":"https:\/\/lallafa.de\/blog\/2007\/06\/finally-flashed-my-sst-dtv\/","title":{"rendered":"Finally flashed my SST-DTV"},"content":{"rendered":"<p>For a long time only the DTV versions with an Atmel Flash ROM can be flashed (You need this to store your own games or custom software). For the newer DTVs with SST Flash there was no software solution known to flash this ROM, too. Actually, a software only solution will never work&#8230; You need a small hardware fix &#8211; discovered by <b>tixiv<\/b> from <a href=\"http:\/\/www.forum-64.de\">Forum64<\/a> &#8211; to make everything work&#8230;<br \/>\n<!--more-->\n<\/p>\n<h3>Hardware fault<\/h3>\n<p>\nThe SST Flash compared to the Atmel one is very modern and fast. This results in some kind of pickiness concerning signals that drive it. The DTV has a quite bogus Flash ROM write sequence with two write bursts instead of one (I think the first one is derived from the SDRAM sequence).\n<\/p>\n<pre>\nSRAM\/Flash Write\n---------------------------------------\nClock Cycle 0  1  2  3  4  5  6  7\nCPUAddrEn  \/----------------------_\nnROMCS     ---------_____________\/-\nnIORD      -------------------------\nnWrite     ------_\/---_______\/----\nDataOut           XXXXXXXXXXXXXXXXX\nAddress      Row\/Col<-Flat Static->\n<\/pre>\n<p>\n(The diagram is from the DTV Programming Manual)\n<\/p>\n<p>\nWhen sending a Magic sequence to the ROM to enter flash mode, the ROM actually did get two writes for each command and not only one as expected. So the sequence was never detected by the flash and you are unable to ever write anything to it&#8230;\n<\/p>\n<h3>&#8230; and fix<\/h3>\n<p>\nTixiv&#8217;s idea was now to simply delay the chip enable (\/CE) signal to ensure the the flash only registers the second write burst as a valid one. The first one then is silently ignored. The delay can be applied by loading a small capacitor with the \/CE line. This is a very easy to install and elegant method to delay some timing&#8230;\n<\/p>\n<p>\nYou need a <b>48pF<\/b> capacitor that is soldered between the \/CE line to the flash and ground or power&#8230; I did the following wiring: (Note that this one is not the simplest solution &#8211; but it fit well in my current wiring)\n<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.lallafa.de\/blog\/wp-content\/uploads\/2007\/06\/tixivs_dtv2_sst_flash_fix.jpg?w=584&#038;ssl=1\">\n<\/p>\n<p>\nHave a look at <a href=\"http:\/\/www.kahlin.net\/daniel\/dtv\/sstfix.php\">Tixiv&#8217;s SST Fix<\/a> if you want to fix your own DTV&#8230;<\/p>\n<h3>Check it out&#8230;<\/h3>\n<p>\nNow it was time to check out if it really works&#8230; Just download TLR&#8217;s <a href=\"http:\/\/www.kahlin.net\/daniel\/dtv\/flash\/flash_id-20060524.zip\">flash_id-20060524.zip<\/a> and run the <b>flash_id.prg<\/b> on your DTV. If everything works well then you get a response from the flash:\n<\/p>\n<p>\n<img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.lallafa.de\/blog\/wp-content\/uploads\/2007\/06\/SSTlebt.jpg?w=584&#038;ssl=1\">\n<\/p>\n<h3>&#8230; and flash<\/h3>\n<p>\nUnfortunately, TLR&#8217;s flash tool did not work out of the box. Tixiv told me that a new version is currently in development and I asked TLR if I might have a look at it&#8230; He send me the fresh beta of the 1.0 and it really worked great&#8230; I was able to flash the <a href=\"http:\/\/www.kahlin.net\/daniel\/dtv\/dtvmon.php\">DTVMon<\/a>, a new custom <a href=\"http:\/\/noname.c64.org\/csdb\/release\/?id=43524\">DTV kernel by Peiselulli<\/a> and finally I was brave enough to even replace the original kernal with a patched one using <a href=\"http:\/\/www.kahlin.net\/daniel\/dtv\/flash\/kernalpatcher-0.8.prg\">TLR&#8217;s kernal patcher<\/a>!\n<\/p>\n<p>\nSo stay tuned&#8230; TLR will release his final <a href=\"http:\/\/www.kahlin.net\/daniel\/dtv\/flash.php\">1.0 flash tool<\/a> soon and you can start flashing your SST DTV! So keep checking his page&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a long time only the DTV versions with an Atmel Flash ROM can be flashed (You need this to store your own games or custom software). For the newer DTVs with SST Flash there was no software solution known &hellip; <a href=\"https:\/\/lallafa.de\/blog\/2007\/06\/finally-flashed-my-sst-dtv\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-commodore-64"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/piBMF-z","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":0,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"wp:attachment":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}