[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH 1/8] sdcard: Update the Configuration Register (SC
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-arm] [PATCH 1/8] sdcard: Update the Configuration Register (SCR) to Spec Version 1.10 |
Date: |
Thu, 7 Jun 2018 13:47:16 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 06/07/2018 12:14 PM, Philippe Mathieu-Daudé wrote:
> On 06/07/2018 08:00 AM, Peter Maydell wrote:
>> On 3 June 2018 at 01:08, Philippe Mathieu-Daudé <address@hidden> wrote:
>>> This register now matches the description of the header:
>>>
>>> * SD Memory Card emulation as defined in the "SD Memory Card Physical
>>> * layer specification, Version 1.10."
>>
>> Can you provide a brief justification in the commit message
>> of why it makes more sense for us to advertise as 1.10, please?
>>
>> (eg a summary of the 1.01 to 1.10 differences and a note
>> that we already implement them)
>
> The only differences I found are:
And I shamefully missed:
4.3.10 Switch function command
(This chapter is newly added in version 1.10)
Switch function command (CMD6) 1 is used to switch or expand
memory card functions. [...]
This is a new feature, introduced in SD physical Layer
Specification Version 1.10. Therefore, cards that are
compatible with earlier versions of the spec do not support
it. The host shall check the "SD_SPEC" field in the SCR
register to recognize what version of the spec the card
complies with before using CMD6. It is mandatory for SD
memory card of Ver1.10 to support CMD6.
>
> 4.3.11 High-Speed mode (25MB/sec interface speed)
> (This chapter is newly added in version 1.10)
>
> Though the Rev 1.01 SD memory card supports up to 12.5MB/sec
> interface speed, the speed of 25MB/sec is necessary to support
> increasing performance needs of the host and because of memory
> size which continues to grow.
> To achieve 25MB/sec interface speed, clock rate is increased to
> 50MHz and CLK/CMD/DAT signal timing and circuit conditions are
> reconsidered and changed from Physical Layer Specification
> Version 1.01.
>
> 4.3.12 Command system
> (This chapter is newly added in version 1.10)
>
> SD commands CMD34-37, CMD50, CMD57 are reserved for SD command
> system expansion via the switch command.
> [These commands] will be considered as illegal commands (as
> defined in revision 1.01 of the SD physical layer specification).
- [Qemu-arm] [PATCH 0/8] sdcard: cleanup the SD_SPEC version, Philippe Mathieu-Daudé, 2018/06/02
- [Qemu-arm] [PATCH 2/8] sdcard: Allow commands valid in SPI mode, Philippe Mathieu-Daudé, 2018/06/02
- [Qemu-arm] [PATCH 3/8] sdcard: Add a 'spec_version' property, Philippe Mathieu-Daudé, 2018/06/02
- [Qemu-arm] [PATCH 4/8] sdcard: Set Spec v2.00 as default, Philippe Mathieu-Daudé, 2018/06/02
- [Qemu-arm] [PATCH 5/8] hw/sd/ssi-sd: Force cards connected in SPI mode to use Spec v1.10, Philippe Mathieu-Daudé, 2018/06/02
- [Qemu-arm] [PATCH 7/8] sdcard: Reflect when the Spec v3 is supported in the Config Register (SCR), Philippe Mathieu-Daudé, 2018/06/02