Welcome! Log In Create A New Profile

Advanced

SD init fail.....make me crazyangry smiley 2560 rev b.

Posted by zonalimitatore 
Re: SD init fail.....make me crazyangry smiley 2560 rev b.
September 14, 2018 03:38AM
Ok.
I check,no debris in the slot.
Now resolder all pin i've touch and control all with magnifer. thumbs up
Re: SD init fail.....make me crazyangry smiley 2560 rev b.
September 14, 2018 05:09AM
I resold all pin of sd reader.
Check all....nothing.

Report my voltage
The value next the first it's the read if have when init sd with repetier (sd insert)

SD pin1 (DATA2) 3,14V
SD pin2 (DATA3) 3,11V 0,18V
SD pin3 (CMD/IO) 3,92V
SD pin4 (GND) 0,12V 0,14V
SD pin5 (VDD) 3,43V 3,45V
SD pin6 (CLK) 0,12V 1,44V
SD pin7 (GND) 0,12V 0,15V
SD pin8 (DATA0) 0,12V 1,06
SD pin9 (DATA1) 0,14V 0,16V

The voltage change when init,and return on first value after 3 seconds
Are my sd voltage right?

Edited 1 time(s). Last edit at 09/14/2018 05:09AM by zonalimitatore.
Re: SD init fail.....make me crazyangry smiley 2560 rev b.
September 14, 2018 11:30AM
When you say "when init sd with repetier (sd insert)" does this mean that you use repetier firmware? or repetier host? or both?

How are the results with the SD_listfile sketch?


If you want to use a multimeter to test voltages, then you probably need to make a sketch that (slowly) sets each pin to high and then low, so you have time to measure.
Otherwise you will need a tool that can keep up with the speed of the data stream, so it is able to register highest and lowest voltages. This typically means an oscilloscope or a logic analyzer. Perhaps if you multimeter has a high, low, avg setting, it might be able to give partially useful results, but I still wonder if a multimeter can register voltages for a data stream with the speeds of SPI.

The challenge will be, to measure these voltages, inside the card-reader-slot. Because this is the only way that you will be able test every link in the chain. Perhaps if you have a sd-card adapter, where you connect wires inside the sd-adapter? I do not know if this is possible, as I have not (yet) tried this myself.


Another way could also be to wire up a sc-card adapter, like solder those wires to the outside of the SD-adapter, and then plug a micro sd-card into that adapter.
This would eliminate any contact issues inside the sd-slot, that is soldered on the LCD pcb.
Re: SD init fail.....make me crazyangry smiley 2560 rev b.
September 14, 2018 04:16PM
Hi.
I use repetier host to do command m21,I would have used cura.
Anyway,the voltage was taken from inside pin of SD reader
Re: SD init fail.....make me crazyangry smiley 2560 rev b.
October 30, 2018 12:05PM
I've try to change the flat cable fcc 40pin....but nothing thumbs down
Re: SD init fail.....make me crazyangry smiley 2560 rev b.
November 05, 2018 07:46AM
Today i change lcd2004 too....nothing to do angry smiley
Re: SD init fail.....make me crazyangry smiley 2560 rev b.
November 10, 2018 06:27PM
Maybe someone can explain this kind of strange issue... smoking smiley

I try to mod in "sd fat config.h" the string

// Set USE_SOFTWARE_SPI nonzero to ALWAYS use Software SPI.
#define USE_SOFTWARE_SPI 0
<<<<< to 1

Now.
-When i turn on the printer and insert the sd,nothing (no sd detection by printer)
-If i inserit a usb cable, with printer off, connect to repetier,i can see list of file in my sd eye popping smiley
-If i turn on the printer while it's connect to repetier,in the menu of printer i can see "print from SD",but when i enter there is no file.And,if i try,from repetier,to get file list,give me "volume.init failed" eye rolling smiley
Re: SD init fail.....make me crazyangry smiley 2560 rev b.
November 16, 2018 07:20PM
No one can help me with this issue?
Re: SD init fail.....make me crazyangry smiley 2560 rev b.
January 26, 2019 07:58PM
UPDATE.
Was a problem of board.
I change it with new one,and now work
Re: SD init fail.....make me crazyangry smiley 2560 rev b.
August 26, 2020 03:52PM
// Changes
// File SdFatConfig.h
// my version is 1.9.x

// Set USE_SOFTWARE_SPI nonzero to ALWAYS use Software SPI.
#define USE_SOFTWARE_SPI 1 // default 0

// Define software SPI pins so Mega can use unmodified 168/328 shields
#define SOFT_SPI_CS_PIN 53// 10 // Software SPI chip select pin for the SD
#define SOFT_SPI_MOSI_PIN 51//11 // Software SPI Master Out Slave In pin
#define SOFT_SPI_MISO_PIN 50//12 // Software SPI Master In Slave Out pin
#define SOFT_SPI_SCK_PIN 52//13 // Software SPI Clock pin

Edited 2 time(s). Last edit at 08/26/2020 03:58PM by adilrs.
Sorry, only registered users may post in this forum.

Click here to login