{"id":1295,"date":"2009-03-03T22:50:23","date_gmt":"2009-03-04T03:50:23","guid":{"rendered":"http:\/\/nuxx.net\/blog\/?p=1295"},"modified":"2009-03-04T11:11:20","modified_gmt":"2009-03-04T16:11:20","slug":"sdrive-nuxx-is-working","status":"publish","type":"post","link":"https:\/\/nuxx.net\/blog\/2009\/03\/03\/sdrive-nuxx-is-working\/","title":{"rendered":"SDrive NUXX Is Working!"},"content":{"rendered":"<p><center><\/p>\n<table cellpadding=1>\n<tr>\n<td bgcolor=\"black\"><a href=\"https:\/\/nuxx.net\/gallery\/v\/stuffivemade\/sdrive_nuxx\/IMG_3313.jpg.html?g2_imageViewsIndex=2\"><img decoding=\"async\" src=\"https:\/\/nuxx.net\/gallery\/d\/81683-2\/IMG_3313.jpg\" height=426 width=640 border=0 alt=\"The SDrive NUXX up and running, with the SDrive by C.P.U. software running on the television behind via my Atari 800XL.\"><\/a><\/td>\n<\/tr>\n<\/table>\n<p><\/center><\/p>\n<p>Today I learned a little lesson about programming AVRs<sup>\u2020<\/sup>. After sorting that out I was able to properly use the <a href=\"https:\/\/nuxx.net\/wiki\/SDrive_NUXX\">SDrive NUXX<\/a>&#8216;s onboard programmer with no problem. After that I thought it should have been working, but the device wouldn&#8217;t work. Poking around I found the AVR running, but then found that the SD card slot was only getting about 1V, which is far below the 3.3V it requires.<\/p>\n<p>This problem turned out to be caused by the LE33CZ 3.3V LDOs <strike>that I&#8217;d ordered from Digi-Key. As can be seen <a href=\"https:\/\/nuxx.net\/gallery\/v\/stuffivemade\/sdrive_nuxx\/IMG_3310.jpg.html\">here<\/a>, when fed 5V the LDOs were putting out just over 1V<\/strike> whose datasheets I had read wrong. I stupidly missed the &#8220;from bottom&#8221; note on the pinout section and been both fitting and testing the part backwards. (This is another thing to fix in the v1.1 \/ production run.)<\/p>\n<p>For testing last night I worked around this by feeding the SD card 3.3V from a benchtop supply, everything worked great. The following morning I understood my mistake and fitted the parts properly, and now the benchtop supply is no longer needed. The 2GB SD card I&#8217;d picked up for cheap at Micro Center worked great, and I had no problems loading most of the .ATR images which I&#8217;d tried.<\/p>\n<p>There&#8217;s still a couple problems with the PCB, but I&#8217;ll sort those out before the production order. Most notably there is the missing traces in the programmer, then I also screwed up the switch marking silkscreen for the front panel. Whoops!<\/p>\n<p>At least it&#8217;s working. Yay!<\/p>\n<p><!--more--><sup>\u2020<\/sup> On <a href=\"http:\/\/en.wikipedia.org\/wiki\/PIC_microcontroller\">PIC<\/a>s, which I am more familiar with, one just connects the programmer to the programming pins on the chip and the firmware gets loaded, regardless of the clock setting on the chip. Well, on <a href=\"http:\/\/en.wikipedia.org\/wiki\/Atmel_AVR\">AVR<\/a>s it seems that unless one is doing high voltage parallel programming one needs a clock connected to the chip which matches the current clock setting. If this doesn&#8217;t exist, the microcontroller won&#8217;t respond. If you change the chip&#8217;s configuration to something other than the current onboard clock (or internal clock) then the chip will essentially become unresponsive. It was a bit confusing to me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I learned a little lesson about programming AVRs\u2020. After sorting that out I was able to properly use the SDrive NUXX&#8216;s onboard programmer with<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/nuxx.net\/blog\/2009\/03\/03\/sdrive-nuxx-is-working\/\">Continue reading<span class=\"screen-reader-text\">SDrive NUXX Is Working!<\/span><\/a><\/div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,11],"tags":[],"class_list":["post-1295","post","type-post","status-publish","format-standard","hentry","category-electronics","category-making-things","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts\/1295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/comments?post=1295"}],"version-history":[{"count":4,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts\/1295\/revisions"}],"predecessor-version":[{"id":1297,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts\/1295\/revisions\/1297"}],"wp:attachment":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/media?parent=1295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/categories?post=1295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/tags?post=1295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}