UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 65755

2015.3 SDK Zynq-7000 eMMC fails reading EXT_CSD reg to check for high speed mode support

Description

The eMMC card read/write test is failing on Zynq in Vivado 2015.3. 

The test will fail while reading the EXT_CSD register to check for high speed mode support.

Solution

When an eMMC card is switching to High speed mode, the driver sends cmd6 which expects an R1b response.

So the driver needs to poll for the "Transfer Complete" bit in the Normal Interrupt Status register to make sure that there is no DAT line busy.

This code is missing in the 2015.3 build and the delay provided after cmd6 is not sufficient.

To fix the issue, copy the following two files into the specified folder in the 2015.3 installation:

  • xsdps.c
  • xsdps_options.c

Copy the files into \SDK\2015.3\data\embeddedsw\XilinxProcessorIPLib\drivers\sdps_v2_5\src\

This issue is fixed in Vivado 2015.4.

Attachments

Associated Attachments

Name File Size File Type
xsdps_options.c 27 KB C
xsdps.c 41 KB C
AR# 65755
Date Created 10/20/2015
Last Updated 11/05/2015
Status Active
Type General Article
Devices
  • Zynq-7000
Tools
  • Vivado Design Suite - 2015.3