<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Melzi SD socket bricked?</title>
        <description> I installed a Panelolu2 and a compatible version of Marlin.  It worked briefly but then began to intermittently not recognize the SD card until it no longer would connect to the SD card.  I removed the Panelolu2 and reverted to my original working version of Marlin but am unable to print via SD card.  When I try I get &quot;SD init fail&quot;.  Printer otherwise works fine; i.e printing over USB works.  Any suggestions on how to diagnose this?

Here is the history:
1. Mendel90 Dibond received last september; all works well.  Print from SD every time but occasional USB disconnects are still irritating because I sometimes print in two colors and when it disconnects I lose ability to pause and change filament.
2. I purchased a Panelolu2 (P2) but did not install it because the disconnect problem had gone away for awhile.
3. This week I noticed disconnects on every print; i.e. at the end of the print Pronterface could not control the printer and had to power cycle printer before connection could be restored.  I tried various suggestions in the forums like plugging printer into same outlet as computer.  In this case the PC is plugged into a UPS so I tried plugging the printer into the UPS. I also tried connecting the Melzi USB socket housing to ground with a solder jumper to the ground plane.  Neither had any noticeable effect on printer function.
4. I installed the P2 and it worked somewhat printing from the SD card installed in the P2 socket.  The X and Y home positions were both shifted 30-50mm.  I assume this was a problem with the config file but their are so many differences between my original Marlin config file and the one Alan posted on github that it was not possible for me to sort out the possible reasons for the shift.  restore connection.  During the first test print, the print failed about 90% through with the heaters on and the axes stopped.  A second attempt failed earlier in the print.  Also, the P2 intermittently recognized the SD card with the successful attempts quickly becoming less common until it would no longer read the card.  This was with and without a PC connected to the printer.  Likewise, with the PC connected to the printer it could no longer print from SD whether the SD card was in the P2 socket or the Melzi socket.
5. I decided to uninstall the P2 and revert to my earlier good firmware.  After doing so, the printer still could not print from SD with Pronterface giving the SD init fail error when I tried.  However, printer over USB works fine.  I connected a laptop running on battery power to avoid the USB disconnect issues and printing with full control of pause, jog, resume in Pronterface worked perfectly but no SD card printing.
6.  During firmware uploads the autoreset jumper was on and during all print testing it was off.
7. Even though the SD card still worked fine in the PC I thought there might be something corrupted on it so I tried reformatting it with Windows, a reformatting utility I downloaded from the SD industry association, my camera, and my tablet.  In every case the card was recognizable when connected directly to the PC but not when in the Melzi.  The formatting was FAT (FAT16) as far as I can determine.
8.  I tried another new in the package micro SD card I had but got the exact same errors.  However, it is an 8GB  card and I doubted it would have worked anyway.

Suggestions?
SD socket failure on the Melzi?
Firmware issue?
Card somehow corrupted as far as Melzi is concerned but still perfectly functional on PC?

Thanks for any help you can offer.</description>
        <link>https://reprap.org/forum/read.php?292,303202,303202#msg-303202</link>
        <lastBuildDate>Sun, 07 Jun 2026 03:56:26 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,660387#msg-660387</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,660387#msg-660387</link>
            <description><![CDATA[ Hi all,<br />
<br />
Did you ever discover the root cause of this problem?<br />
<br />
<br />
I've been facing exactly the same symptoms.<br />
<br />
Melzi 2 (ZoneStar Melzi_V3B - chinese origin)<br />
Repetier 0.91<br />
8GB SDHC FAT32<br />
<br />
Worked out of the flatpack, started to notice a few failures to mount the SD card a few weeks ago and over the weekend - long print - it lost the SD card and now won't mount it at all. <br />
<br />
tried an old 4GB SD card with FAT16 - no luck.<br />
<br />
works just fine for online printing, but the whole point is to load to SD card and come back when it's done - most of my prints I'm planning will take 10's of hours.]]></description>
            <dc:creator>bulwynkl</dc:creator>
            <category>Mendel90</category>
            <pubDate>Thu, 05 May 2016 00:47:49 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,315165#msg-315165</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,315165#msg-315165</link>
            <description><![CDATA[ I can confirm that the 4GB Sandisk microSDHC cards work fine.  Since they are several dollars cheaper than the 2GB ones, they have been on sale for over a month at my local Walgreens drug store, I decided to buy a couple and try them.<br />
<br />
Also, I have had no more hiccups with my printer USB or SD related since my previous post.  I may try the Panelolu2 again some day but for now I am happy with just using a laptop and Pronterface.]]></description>
            <dc:creator>neuport</dc:creator>
            <category>Mendel90</category>
            <pubDate>Sun, 23 Feb 2014 22:54:50 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,304388#msg-304388</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,304388#msg-304388</link>
            <description><![CDATA[ Whatever the problem now that I am using the laptop (plugged in or not) and the new SD card the printer is working better than it ever has.  It is rock solid.  By the end of my testing yesterday I had made 4 consecutive SD card prints with multiple Pronterface pauses, jogs, filament changes, and resumes without a single glitch and without ever needing to power cycle the printer.  I am very happy with the outcome.]]></description>
            <dc:creator>neuport</dc:creator>
            <category>Mendel90</category>
            <pubDate>Sat, 01 Feb 2014 10:09:23 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,304294#msg-304294</guid>
            <title>Re: Melzi SD socket bricked? [SOLVED]</title>
            <link>https://reprap.org/forum/read.php?292,303202,304294#msg-304294</link>
            <description><![CDATA[ The SPI interface uses a subset of the same pins as the four bit interface so hard to imagine it being damaged but the parallel interface still working, but it is possible to get I/O damaged such that it fails to meet the standard logic levels which means it can work or not depending on what it is connected to.<br />
<br />
I don't know what the size limit is. Above 4GB they switch to SDHC and FAT32, which may be the point they stop working. Some 4GB are SDSC and some SDHC. See [<a href="https://github.com/ErikZalm/Marlin/issues/116" target="_blank"  rel="nofollow">github.com</a>]]]></description>
            <dc:creator>nophead</dc:creator>
            <category>Mendel90</category>
            <pubDate>Sat, 01 Feb 2014 05:12:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,304166#msg-304166</guid>
            <title>Re: Melzi SD socket bricked? [SOLVED]</title>
            <link>https://reprap.org/forum/read.php?292,303202,304166#msg-304166</link>
            <description><![CDATA[ I have my fingers crossed that my problem is resolved.<br />
<br />
I found a 2GB Sandisk card locally when I was out today. Six office supply and electronics stores did not have them but the drug store had an entire wall display with much more inventory and a wider selection.  Go figure.<br />
<br />
So far with the new card I have run 2 consecutive prints from the SD card without a glitch and without Pronterface loosing the connection.  I didn't even know that Pronterface displayed a completion message at the end of a print since I had almost always lost the USB connection during the print.<br />
<br />
The USB disconnect issue was solved by switching to a laptop and using a short USB cable.  I was confused about the SD card being bad because the problem was intermittent and appeared with two different cards before I purchased the new one today.  The bigger question is what corrupted the cards. It appears that just the SPI interface on the card was affected since they still work fine with the PC.  Possibly I made a mistake with the P2 installation that created an overvoltage on the card.  That would explain the first one that was bad.  I don't know about the second which was not used with the printer when the P2 was installed.<br />
<br />
Thanks for your help.  <br />
<br />
P.S.  I bought a 2GB card because it was the same as what shipped with the printer.  I have seen some posts that the 4GB cards also work with the Melzi board.  Is that true?  If so I will buy them since they are less expensive at my local store than the 2GB.]]></description>
            <dc:creator>neuport</dc:creator>
            <category>Mendel90</category>
            <pubDate>Fri, 31 Jan 2014 18:24:15 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,303662#msg-303662</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,303662#msg-303662</link>
            <description><![CDATA[ I don't know what is going on with the SD socket / card. Could be a bad connection affected by vibration or could be a faulty card failing when it gets warm perhaps.<br />
<br />
With the reset jumper on a USB connection resets the firmware, which attempts to init the SD card. When the jumper is not fitted it doesn't reset on connection so you don't get to see whether the SD is working or not.]]></description>
            <dc:creator>nophead</dc:creator>
            <category>Mendel90</category>
            <pubDate>Thu, 30 Jan 2014 21:16:50 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,303458#msg-303458</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,303458#msg-303458</link>
            <description><![CDATA[ Sorry Chris, I just saw your last post.  To check the firmware, I reinstalled the autoreset pin and then connected to the printer in Pronterface.  I get the following in the terminal window.<br />
<br />
Connecting...<br />
start<br />
Printer is now online.<br />
echo:Marlin: 1.0.0 RC2<br />
echo: Last Updated: Jan 30 2014 00:51:55 | Author: nophead<br />
echo: Free Memory: 12982  PlannerBufferBytes: 1232<br />
echo:Using Default settings:<br />
echo:SD init fail<br />
<br />
Without the pin in place, I get this.<br />
<br />
Connecting...<br />
ok T:33.7 /0.0 B:27.6 /0.0 @:0%<br />
Printer is now online.<br />
<br />
Sorry about the emoticon.  I can't find away to turn them off and the forum software automatically converts SD to one.]]></description>
            <dc:creator>neuport</dc:creator>
            <category>Mendel90</category>
            <pubDate>Thu, 30 Jan 2014 13:11:14 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,303450#msg-303450</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,303450#msg-303450</link>
            <description><![CDATA[ I removed the solder jumper between the USB connector and the ground plane and the SD card started working again.  I started an SD print but the print froze after the priming line but just as the printer started to extrude the first part of the skirt.  The printer and the computer were still communicating because sending M105 returns the temperatures.  However, the SD socket no longer responded.  I was thinking it is a poor connection in the SD socket.  I removed the SD socket, made sure all the contacts were clean, sprung them slightly more toward the board to get good contact and then resoldered it to the board.  Started the printer and it worked for a few minutes until again the SD card stopped communicating and the print stopped.  The USB connection to the notebook pc remains solid throughout.  I can move the axes, etc. but the print won't go.  I have tried power cycling the printer several more times and each time get the SD init fail error.  Any ideas what could make an intermittent SD failure?  Is it likely that the SD card itself is intermittently failing?]]></description>
            <dc:creator>neuport</dc:creator>
            <category>Mendel90</category>
            <pubDate>Thu, 30 Jan 2014 12:59:15 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,303405#msg-303405</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,303405#msg-303405</link>
            <description><![CDATA[ The SPI lines go through a level changer because SD cards are 3.3V but the ATmega is running from 5V. The SD card's 3.3V power comes from the FTDI USB chip as that contains a 3.3V regulator. <br />
<br />
The P2 must have another level changer and 3.3V regulator as only 5V signals are available on the Melzi expansion port. The fact that neither sockets work implies it is either the ATmega pins or the SD card that is faulty assuming you correctly restored the firmware. If you didn't the SDSS signal is likely to be wrong. You could check that with a scope.]]></description>
            <dc:creator>nophead</dc:creator>
            <category>Mendel90</category>
            <pubDate>Thu, 30 Jan 2014 11:41:42 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,303387#msg-303387</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,303387#msg-303387</link>
            <description><![CDATA[ One of the first things I did was tighten the ground screws.  Also, it seems to get no disconnects running from a laptop.<br />
<br />
I found another noname 2gb microSD card at the house this morning that I have used in a small keychain camera but it does not work in the Melzi.  I'll go to the store and look for a Sandisk 2GB.  When I look at the properties of these SD cards in windows, the format displays as FAT.<br />
<br />
When I had the P2 attached, the socket on the P2 worked briefly and then stopped.  I then tried the one on the Melzi to no avail.  At that point, I removed the P2 and reverted to my earlier known good Marlin.  Everything seems to work as before except for the inability to use the SD print.  I have also tried recompiling and uploading my previously working Marlin after removing the 3 lines of pin configuration code from hardware\Melzi\cores\arduino\pins_arduino.h that was added in response to Chris's suggestion to get Alan's Marlin to compile.  No change.<br />
<br />
I will take a look at the P2 board but at this point I don't intend to use it unless the SD problem is resolved and is unrelated to the P2.  When I initially connected the P2 I ran 12V to it but I had removed the 12V before printing.  When the P2 worked briefly (30 minutes of testing and a couple of partial prints) it had no 12V connection.<br />
<br />
Assuming I find a 2GB Sandisk SD card and I still get no response, what are some diagnostic steps that I might take?  <br />
<br />
I assume that the SPI interface is directly between SPI pins on the ATmega and the card socket such that any hardware failure would have to be either a mechanical issue with the socket or a failure in the ATmega SPI pins.  Is that right?  Is there a way to diagnose which it might be?  I have basic tools like multimeters and a two channel oscilloscope.  I also have some SMD soldering skill and tools and am able to replace components on the Melzi if it comes to that.<br />
<br />
Thanks.]]></description>
            <dc:creator>neuport</dc:creator>
            <category>Mendel90</category>
            <pubDate>Thu, 30 Jan 2014 11:08:22 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,303300#msg-303300</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,303300#msg-303300</link>
            <description><![CDATA[ Your original problem of disconnects on every print sounds like the ground to the Melzi might have been failing. Is that definitely still a good connection and not getting hot?<br />
<br />
If you formatted the SD card with something other than FAT then yes it would work on PC, but not on the Melzi but if it is definitely FAT16 I can't think how it could do that. It would be worth trying another Sandisk card 4GB or less. Not all makes of SDcard work because some don't support the SPI interface. <br />
<br />
If the socket on the Melzi had failed the one on the P2 should still work. Although, as I understand it, you can only use one or the other depending on the firmware pin configuration.<br />
<br />
It seems like the P2 was somehow faulty and may have damaged the pins on the Melzi used for SD. The sample P2 I received from Think3DPrint3D does have a solder bridge on the adapter board so I would give the boards a close inspection. It's pretty simple, so there is not much else to go wrong. Check that the regulator on the P2 that provides 3.3V to the SD card is working. If that was giving say 5V then the card might be damaged. It is conceivable that a card with hardware damage such that its I/O was no longer to spec could work on the PC and not on the Melzi. To damage the Melzi I think you would have to drag the pins to more than 5V. There is 12V present on the adapter board if you have connected it for the extra MOSFET drives.]]></description>
            <dc:creator>nophead</dc:creator>
            <category>Mendel90</category>
            <pubDate>Thu, 30 Jan 2014 07:59:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,303210#msg-303210</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,303210#msg-303210</link>
            <description><![CDATA[ Thanks Neil.  However, I completely removed the Panelolu2 and uploaded my original Marlin firmware to the Melzi.]]></description>
            <dc:creator>neuport</dc:creator>
            <category>Mendel90</category>
            <pubDate>Thu, 30 Jan 2014 03:28:29 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,303204#msg-303204</guid>
            <title>Re: Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,303204#msg-303204</link>
            <description><![CDATA[ The Panelolu2 and Melzi use different SD card select pins. It might be that in reverting to not using the Panelolu2 you have not informed the firmware that the card select has changed. This would cause the "SD Init fail" message if, for example, it was trying to read the Panelolu card slot when the card was in the Melzi.<br />
<br />
Regards,<br />
Neil Darlow]]></description>
            <dc:creator>neildarlow</dc:creator>
            <category>Mendel90</category>
            <pubDate>Thu, 30 Jan 2014 03:08:39 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?292,303202,303202#msg-303202</guid>
            <title>Melzi SD socket bricked?</title>
            <link>https://reprap.org/forum/read.php?292,303202,303202#msg-303202</link>
            <description><![CDATA[ I installed a Panelolu2 and a compatible version of Marlin.  It worked briefly but then began to intermittently not recognize the SD card until it no longer would connect to the SD card.  I removed the Panelolu2 and reverted to my original working version of Marlin but am unable to print via SD card.  When I try I get "SD init fail".  Printer otherwise works fine; i.e printing over USB works.  Any suggestions on how to diagnose this?<br />
<br />
Here is the history:<br />
1. Mendel90 Dibond received last september; all works well.  Print from SD every time but occasional USB disconnects are still irritating because I sometimes print in two colors and when it disconnects I lose ability to pause and change filament.<br />
2. I purchased a Panelolu2 (P2) but did not install it because the disconnect problem had gone away for awhile.<br />
3. This week I noticed disconnects on every print; i.e. at the end of the print Pronterface could not control the printer and had to power cycle printer before connection could be restored.  I tried various suggestions in the forums like plugging printer into same outlet as computer.  In this case the PC is plugged into a UPS so I tried plugging the printer into the UPS. I also tried connecting the Melzi USB socket housing to ground with a solder jumper to the ground plane.  Neither had any noticeable effect on printer function.<br />
4. I installed the P2 and it worked somewhat printing from the SD card installed in the P2 socket.  The X and Y home positions were both shifted 30-50mm.  I assume this was a problem with the config file but their are so many differences between my original Marlin config file and the one Alan posted on github that it was not possible for me to sort out the possible reasons for the shift.  restore connection.  During the first test print, the print failed about 90% through with the heaters on and the axes stopped.  A second attempt failed earlier in the print.  Also, the P2 intermittently recognized the SD card with the successful attempts quickly becoming less common until it would no longer read the card.  This was with and without a PC connected to the printer.  Likewise, with the PC connected to the printer it could no longer print from SD whether the SD card was in the P2 socket or the Melzi socket.<br />
5. I decided to uninstall the P2 and revert to my earlier good firmware.  After doing so, the printer still could not print from SD with Pronterface giving the SD init fail error when I tried.  However, printer over USB works fine.  I connected a laptop running on battery power to avoid the USB disconnect issues and printing with full control of pause, jog, resume in Pronterface worked perfectly but no SD card printing.<br />
6.  During firmware uploads the autoreset jumper was on and during all print testing it was off.<br />
7. Even though the SD card still worked fine in the PC I thought there might be something corrupted on it so I tried reformatting it with Windows, a reformatting utility I downloaded from the SD industry association, my camera, and my tablet.  In every case the card was recognizable when connected directly to the PC but not when in the Melzi.  The formatting was FAT (FAT16) as far as I can determine.<br />
8.  I tried another new in the package micro SD card I had but got the exact same errors.  However, it is an 8GB  card and I doubted it would have worked anyway.<br />
<br />
Suggestions?<br />
SD socket failure on the Melzi?<br />
Firmware issue?<br />
Card somehow corrupted as far as Melzi is concerned but still perfectly functional on PC?<br />
<br />
Thanks for any help you can offer.]]></description>
            <dc:creator>neuport</dc:creator>
            <category>Mendel90</category>
            <pubDate>Thu, 30 Jan 2014 03:02:11 -0500</pubDate>
        </item>
    </channel>
</rss>
