element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General SD card not detected (Zedboard + FMCommS4)
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 9 replies
  • Answers 1 answer
  • Subscribers 348 subscribers
  • Views 1031 views
  • Users 0 members are here
  • Zedboard Hardware Design
Related

SD card not detected (Zedboard + FMCommS4)

javierns
javierns over 5 years ago

Hi everyone,

I am having some troubles trying to boot the Linux distribution for the FMCommS4 on a Zedboard from an SD card connected to the board via extension cable. It does not detect the SD card and therefore it does not boot.

If I connect the SD card directly to the board it works OK, but if I use the cable extension it seems the board is not able to detect the SD card. I have made some measures with the oscilloscope trying to find out the origin the problem and I have came up with the following ideas:

* When the SD card is directly connected to the board:

- The clk pin of the SD interface start at a frequency of 200 kHz and the changes to 25 MHz.

- The SD receive some cmd when clk is at 200 kHz

- Data pins start to wiggle when clk freq. is 25 MHz

* When there is NO SD card connected

- The clk pin of the SD interface start at a frequency of 200 kHz for a while and after some time it stay fixed at a high level.

- The SD receive some cmd

- Data pins does not wiggle.

* When the SD is connected to the board trough the extensión cable: same behaviour as when there is NO SD card.

 

I have checked CD (Card Detected) and WP (Write Protection) pins and everything seems to work fine.

On the hand, I wondered if this problem this problem was related to noise or EMI issues through the cable, so I tried to boot a raspberry pi using this extension cable and it works fine. This fact makes me think that the problem is not related to the extension cable but with the SD Card interface of the Zeboard.

 

Does anyone can help me with this problem ?

Thank you very much in advance !!!!

  • Sign in to reply
  • Cancel
Parents
  • clem57
    0 clem57 over 5 years ago

    The raspberry pi does use sd cards like this https://www.raspberrypi.org/documentation/installation/sd-cards.md .  So software could be the issue. But why the extension does not work? Could it be missing a signal pin? Did you check all data pins?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • javierns
    0 javierns over 5 years ago in reply to clem57

    We have tried different SD cards even Class A1 but that does not seem to be the problem

     

    Yess we have checked all the pins and the continuity of the cable and they are OK.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • javierns
    0 javierns over 5 years ago in reply to clem57

    We have tried different SD cards even Class A1 but that does not seem to be the problem

     

    Yess we have checked all the pins and the continuity of the cable and they are OK.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • clem57
    0 clem57 over 5 years ago in reply to javierns

    I seem to recollect a user had problems with SD card and got it to work by slowing the 200 Hz down to 125 or 75. Sorry I cannot find it, but it was here on element 14.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • javierns
    0 javierns over 5 years ago in reply to clem57

    How can we do that I mean how can we reduce the frequency ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 5 years ago in reply to javierns

    https://github.com/jameswalmsley/bitthunder shows low level coding techniques

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • javierns
    0 javierns over 5 years ago in reply to clem57

    I'm not sure how updating the OS version will solve this problem.

     

    We are using a Linux OS provided by Analog Devices to manage the fmcomms4 board, so they provide the image.ubi, the boot.bin and devicetree.

     

    We have checked the output of the booting process (trough the UART) when the SD card is connected via the cable extension and it doesn't show anything. It seems that the Zedboard is not even able to read the boot information, which makes me think that the problem is not related to the OS but with the boot. Do you know if there is a way to modify this ?

     

    Thanks !!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • drozwood90
    0 drozwood90 over 5 years ago in reply to javierns

    If you are using an OS setup by ADI, you will need to contact them.  We can't offer support for their software.

     

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • clem57
    0 clem57 over 5 years ago in reply to javierns

    AD-FMCOMMS4-EBZAD-FMCOMMS4-EBZ is supported by ADI and not by anyone here. Have you opened an issue with them?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • javierns
    0 javierns over 5 years ago in reply to clem57

    Yes !!!! We made the same question to the ADI support team and they told us that the issue must be related to the Zedboard HW rather than to their SW. They suggested that the problem can be related to impedance mismatch between the Zedboard's SD socket and the extension cable or maybe due to resistors configuration.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube