cancel
Showing results for 
Search instead for 
Did you mean: 

I'm looking for information on the cmd6 command for sd cards.

AVI-crak
Senior
Posted on March 11, 2018 at 21:48

Good rest of the day.

There is a problem.

I'm looking for information on the cmd6 command for sd cards. The available information is not complete.

https://community.st.com/external-link.jspa?url=http%3A%2F%2Fzxevo-files.perestoroniny.ru%2Fngs-read-only%2Fdocs%2F_sd_card%2Fsd_physical_specs_full_2009.pdf

And very different from different manufacturers of sd cards. If I understood correctly, there is no single standard.

The cmd6 command transfers the sd card to fast mode, one switch per call. Available from official standard functions:

1) the inclusion of 1-4-8 data lines

2) the inclusion of the standard bus speed 1 ~ 25MGz. (Unique)

3) the inclusion of increased bus speed 50-100-200MGz. (unique)

4) enabling DDR mode, DDR2 for data. (duplicated by other teams)

5) Switching on the power supply 1.8V (for SDXC) (duplicated by other commands)

6) programming of a unique user function. (unique)

I'm interested in the format for representing the command argument. I often met the magic numbers, but this is not enough.

My code without a hula

https://community.st.com/external-link.jspa?url=https%3A%2F%2Fbitbucket.org%2FAVI-crak%2Fsystem_f746

#sdmmc1 #sdmmc
2 REPLIES 2
Posted on March 11, 2018 at 22:58

Here's a more current manual (v6.0 2017)

https://www.lijingquan.net/wp-content/uploads/2017/05/Physical-Layer-Simplified-SpecificationV6.0.pdf

 0690X00000604SmQAI.jpg
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 12, 2018 at 00:00

Thanks for the picture.

For an incomprehensible reason for me (your documentation address) - the section of the descriptions of the arguments is displayed as simplified. I looked through the documentation along and across, there is not this picture. Probably you need to break down the documentation - to see everything hidden, but I do not have a key.0690X00000604T6QAI.jpg