Have tried to find the answer, by reading a lot of different posts, so probably a tiring question.
Uses Mega, and has the signals on pin 50, 51, 52 and 53. Tries with an older 128MB card which is formatted in Fat and also tried in 32, but nothing helps.
Only tried with standard examples, mostly cardinfo. And now tried with logic analyzer without card.
I think you need to try the logic analyzer WITH a card - to see if you get activity coming back from the card to the Mega on the MISO line.
A few questions:
Is this standard size SD or microSD?
What SD module are you using?
How is the SD module powered?
Edit: I think it's unlikely that there are errors in the signals. They generally look right. But if they are 5V, they may be the wrong voltage, depending on what module you have.
Have had an oscilloscope on and the card does not issue anything. The card works. SD but have also tried with Micro 2 and 16GB, no difference.
Only an ordinary card holder which is connected to resistors so the card only gets a little over 3v
Read that the first clock must be 11x8 to "wake up" the card, but does the exact number matter? And do the card respond back after this clock or what I assume, first after CS?
Use this card as it does not matter if it burns, and even though I have tried with Micro with the same result, I doubt if there is a difference between mmc and sd card.
Same result with Micro, so trying to understand what's going on. Mega was the fastest way rather than PIC, so this seemed so easy and fast, I could save a lot of time. To deal a lot with protocal if a lot could be concluded is stupid, would you not think so?
Personally, I'd say assuming that two different data storage formats by two different companies are equal without ever checking the publically available documentation, and then being surprised that your stuff isn't working, is a very bad idea, but I'm not your dad and can't tell you how to live your life.
Do not think you're old enough to be my father (from the good old days 67) but you're right. Since it is not a direct option to control the setup of the protocol through the various files, I would still expect a response from one card, now that it was a quick test, for not to have to program a pic circuit to do the task. The vast majority of circuits/cards follow a certain standard, but again, yes.
I would just say that the CardInfo example has a lot of mileage under its belt, and the odds that it is sending out anything wrong are extremely low. But so far as I know, it should work with SD and SDHC. I don't know about MMC, but my understanding is the protocol is different for MMC. I just don't know if the author of the SD library bothered to include MMC.
The other thing that I wonder about is the circuit you are using to translate the three output lines to 3V. Could you possibly post a drawing of how you are doing that? Also, you didn't respond to my question about how you are powering the card.
There should be some response on the MISO line even if it's MMC. If you get nothing, I wonder if the card is receiving anything, or if it is powered sufficiently at 3.3V.
Does not know much about arduino, and can also only assume that there are no errors in the files, but seen/read about many who have problems with SD cards also things where people refer to files.
Have today also tried with SDHC 8GB, Micro 16 and 32 GB without any difference.
Supply, tried with external 3.3 and 5v but also from internal. Based on the same principle as the image
I assume that since you're using a potential divider on MOSI, SCK & CS that you know the card runs from 3.3V. Is it just a drawing error that you show 5V going to the module in post #15?
Can you expand on this. Do you mean that you have to write 11 bytes to the card to wake it up?
What he's referring to is the requirement that after powering the card up, and giving it time to boot, the spec calls for sending 80 clocks with CS held high. It's some kind of wakeup or timing sync thing. After that, it gets more complicated. But I don't think we know whether this requirement also applies to MMC cards.
That's a good question about which module he's using. If it's the standard full-size SD module with 3.3V regulator, then 5V would be right for power, but it also has 10K pullup resistors to 3.3V on the lines, which may mess up the dividers. If it's the bare bones breakout, then as you say he should power with 3.3V.
Yes a bare board. 3.3V I know well, as written based on the same principle. Was not home when I wrote, and the answer from the iPhone, then quickly found a picture as an example. Have also tested with a non inverter, without difference. Even tried with a pull up on MISO, did not make any difference either.
Will try today, to read between the PC card reader and the card, to see the protocol difference
Just waiting for someone to point out what stupid mistake I am making, constantly thinking about it myself😂 But I think I will have to focus on the protocol as mentioned, but still strange that there is no response from the other cards either.