{"id":1608,"date":"2015-08-08T02:52:50","date_gmt":"2015-08-08T02:52:50","guid":{"rendered":"http:\/\/blog.system11.org\/?p=1608"},"modified":"2021-07-26T09:15:07","modified_gmt":"2021-07-26T09:15:07","slug":"repair-battle-garegga-boot-faults","status":"publish","type":"post","link":"https:\/\/blog.system11.org\/?p=1608","title":{"rendered":"Repair &#8211; Battle Garegga boot faults"},"content":{"rendered":"<p>I&#8217;ve had a Japanese Battle Garegga for a while, but one thing which had always bothered me is that it was fussy about which cabs it would work on and which it wouldn&#8217;t.\u00a0 I found that quickly toggling the power would make it boot every time, but recently picked up one sold as faulty because even with this trick the owner was unable to make it work.\u00a0 I&#8217;ve also seen this problem referenced on the Arcade Otaku forums (in one instance affecting the sound CPU) and people were stumped, blaming power supplies.<\/p>\n<p>You can fix this, and you&#8217;ll wonder how this ever happened in the first place:<\/p>\n<p><a href=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1609 size-full\" src=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix1.jpg\" alt=\"garegga_fix1\" width=\"800\" height=\"1080\" srcset=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix1.jpg 800w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix1-222x300.jpg 222w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix1-759x1024.jpg 759w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix1-768x1037.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>That&#8217;s how they look when it happens, it varies a bit but it&#8217;s a common theme of square blocks of corruption or the game may boot with sound errors.\u00a0 It looks pretty dramatic, in fact I thought my PCB was broken the day I received mine having not seen the fault before.\u00a0 I checked the 5v and it was perfect, and eventually I checked on another cab and the game came to life with no drama at all.\u00a0 Here&#8217;s the problem:<\/p>\n<p><a href=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1610 size-full\" src=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix2.jpg\" alt=\"garegga_fix2\" width=\"800\" height=\"736\" srcset=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix2.jpg 800w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix2-300x276.jpg 300w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix2-768x707.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>Now before I show you how to fix this, lets explain why the above part is a problem.\u00a0 The small 8 pin chip MB3771 is a voltage monitor, it&#8217;s the job of the voltage monitor to release the RESET line when the power supply has come up to operating voltage.\u00a0 Here&#8217;s the Fujitsu datasheet for the part in case you&#8217;re curious.<\/p>\n<p><a href=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/MB3771.pdf\">MB3771<\/a><\/p>\n<p>There are three important pieces of information in there, one is the voltage at which the 3771 will reset the game, 4.2v.\u00a0 The second is the function explanation variable Tpo, and the third important part is their example reset circuit:<\/p>\n<p><a href=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1611\" src=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix3.png\" alt=\"garegga_fix3\" width=\"869\" height=\"380\" srcset=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix3.png 869w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix3-300x131.png 300w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix3-768x336.png 768w\" sizes=\"(max-width: 869px) 100vw, 869px\" \/><\/a>See that Ct?\u00a0 That&#8217;s the small capacitor I highlighted in red.\u00a0 In every game I&#8217;ve seen with a 3771 based reset, it&#8217;s generally a capacitor in the 10uf range.\u00a0 What this does is cause a small hold delay between when the 3771 sees 4.2v and when it actually releases the reset line, which <strong>allows the power supply to come up to voltage properly<\/strong> before the game tries to boot.\u00a0 This matters because without a delay the 3771 is happy to trigger a reset and boot at 4.2v, less than the 5v required for reliable operation of half the logic chips on the PCB.<\/p>\n<p>Unfortunately, Raizing chose to stick a standard 0.1uf decoupling capacitor in there just like all the others on the board.\u00a0 That is 100th of the required value, providing zero delay at all and causing the game to try to boot at 4.2v.\u00a0 Now if you have a power supply that comes up to speed very quickly, you don&#8217;t have a problem.\u00a0 If the power comes up a little more slowly you do have a problem, and you end up with a crashed CPU.\u00a0 The reason switch flicking sometimes works is that the PSU caps haven&#8217;t completely drained and it appears to fire up more quickly.<\/p>\n<p>So basically, its either a design flaw or a factory assembly mistake &#8211; but the end result is the same and all you need to do to fix it, is put a proper cap in there &#8211; I used tantalum 10uf\/16v beads.\u00a0 Sorry for the picture focus, but here&#8217;s the Japanese Garegga with the new cap fitted:<\/p>\n<p><a href=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1612\" src=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix4.jpg\" alt=\"garegga_fix4\" width=\"800\" height=\"754\" srcset=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix4.jpg 800w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix4-300x283.jpg 300w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix4-768x724.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>Note that all the small caps actually look like resistors on this type.\u00a0 Personally I hate them.\u00a0 Make sure you fit the tantalum the right way around &#8211; the positive pin goes to pin 1 on the MB3771, the negative goes to ground.\u00a0 Other variants of the board use more traditional 104 caps, here&#8217;s the fixed Chinese board:<\/p>\n<p><a href=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1613\" src=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix5.jpg\" alt=\"garegga_fix5\" width=\"800\" height=\"694\" srcset=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix5.jpg 800w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix5-300x260.jpg 300w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix5-768x666.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>As an aside, the games made after Garegga use proper capacitors in the reset circuit, it only appears to affect this one game, and potentially Sorcer Striker too.\u00a0 Additionally it&#8217;s very likely that there&#8217;s some variance even within identical boards, sometimes you get lucky or unlucky with components being more or less sensitive to running under voltage.\u00a0 With the cap correction the boot problems will be gone, and this is what you&#8217;ll always end up with (unless something else breaks):<\/p>\n<p><a href=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1614\" src=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix6.jpg\" alt=\"garegga_fix6\" width=\"800\" height=\"1232\" srcset=\"https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix6.jpg 800w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix6-195x300.jpg 195w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix6-665x1024.jpg 665w, https:\/\/blog.system11.org\/wp-content\/uploads\/2015\/08\/garegga_fix6-768x1183.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve had a Japanese Battle Garegga for a while, but one thing which had always bothered me is that it was fussy about which cabs it would work on and which it wouldn&#8217;t.\u00a0 I found that quickly toggling the power would make it boot every time, but recently picked up one sold as faulty because [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":50,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,13],"tags":[],"class_list":["post-1608","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arcade","category-tech"],"_links":{"self":[{"href":"https:\/\/blog.system11.org\/index.php?rest_route=\/wp\/v2\/posts\/1608"}],"collection":[{"href":"https:\/\/blog.system11.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.system11.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.system11.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.system11.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1608"}],"version-history":[{"count":9,"href":"https:\/\/blog.system11.org\/index.php?rest_route=\/wp\/v2\/posts\/1608\/revisions"}],"predecessor-version":[{"id":3257,"href":"https:\/\/blog.system11.org\/index.php?rest_route=\/wp\/v2\/posts\/1608\/revisions\/3257"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.system11.org\/index.php?rest_route=\/wp\/v2\/media\/50"}],"wp:attachment":[{"href":"https:\/\/blog.system11.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.system11.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.system11.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}