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 Picozed Rev.E won't boot from sd card with Out-of-Box designs or 2017.4 BSPs
  • 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 Verified Answer
  • Replies 7 replies
  • Subscribers 347 subscribers
  • Views 1000 views
  • Users 0 members are here
  • zedboardcmty
Related

Picozed Rev.E won't boot from sd card with Out-of-Box designs or 2017.4 BSPs

can852
can852 over 5 years ago

Hello,

 

I am facing an issue with the Picozed Rev.E we bought at our organization which has taken me a lot of hours to debug. My tools version (Vivado and Petalinux) is 2017.4 on Linux Mint 19.3 Xfce, 64 bit. I am connecting to the board using the Xilinx Platform Cable USB II for JTAG.

I designed a custom carrier card for the Picozed based on the Carrier Design Guide (http://zedboard.org/sites/default/files/documentations/5283-CDG-PicoZed-V2.4.pdf ). I downloaded the Petalinux 2017.4 BSP packages (both standard and enhanced) and created a petalinux project using the bsp. I am able to boot using JTAG and receive UART communication with no problem.

I cannot seem to manage though to boot from the SD card at all. I copied the files that are created under /tftboot, BOOT.bin and image.ub. If this is of importance, the BOOT.bin file I package it myself since it's not created automatically by running the command 'petalinux-package --boot --fsbl /tftpboot/zynq_fsbl.elf --fpga /tftpboot/system_wrapper.bit --u-boot'.

I have also tried to use the out-of-box designs with no luck at all. In both cases (use of BSPs and out-of-box design), the results I am observing are the same. Of course, I have changed the DIP switch to SD Card boot mode configuration.

 

I am not interested in the onboard eMMC, so the jumper resistors have been soldered so the MUX connects to a Murata WiFi Module, but at the moment, due to a pcb footprint error, the module and related smd components are not soldered.

I have tried different SD cards, all with the same result. The current one is a SanDisk Ultra 16 GB, class 10.

 

Some things I observe which I don't fully understand and would lilke some explanation:

  1. During JTAG boot, I can see the SD card being detected, but I also see the message 'sdhci@e0100000: 0 (SD)Card did not respond to voltage select!'
  2. After JTAG booting finished, running 'fdisk -l' shows no results, so it seems the SD card is not visible. My question here would be if it's possible to mount the SD card from JTAG boot, to prove that we can write and read to the card.
  3. Is the JTAG somehow overriding all the other boot modes? No matter in what boot mode the DIP switch is, the JTAG can always boot if I run the command 'petalinux-boot --jtag --prebuilt 2 --hw_server-url tcp:127.0.0.1:3121'.
  4. During JTAG boot, there is no clock towards the SD card, that is in both cases of DIP switch mode (JTAG & SD card). If I unplug the JTAG cable and reset the board, the clock signal is present. Why would the clock be affected?

 

I have tested the DIP switch to check if it does change the boot mode in case of a faulty DIP switch, but the connections are solid. At this moment, I am out of ideas on why I can't boot from SD card so any insight would be appreciated.

 

Thank you image.

  • Sign in to reply
  • Cancel
  • bhfletcher
    0 bhfletcher over 5 years ago

    Will the PicoZed boot with the same SD Card using the Avnet PicoZed FMC Carrier V2?

     

    Bryan

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

    Hey Bryan,

     

    We do not have the FMC Carrier card. I checked my custom card, but haven't found any problems.

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

    If you had the Avnet card, you could ensure that both your SD Card and PicoZed are good. You might want to check with your local Avnet FAE to see if they have one you could borrow. Or you may save yourself a lot of time by purchasing one -- PicoZed FMC Carrier V2PicoZed FMC Carrier V2

     

    Have you compared your schematic to the Avnet implementation? You should also pay close attention to the trace lengths as specified in Chapter 5 of UG933. These answer records may also be helpful.

     

    https://www.xilinx.com/support/answers/59476.html

    https://www.xilinx.com/support/answers/52023.html

     

    Bryan

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

    Forgot to mention, the carrier card was designed based on the Avnet FMC Carrier V2 schematics. I will check the answers and Chapter 5 of UG933 and get back to you. Also, we don't have an Avnet carrier card and buying one is not an option at this point.

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

    Hi there,

     

    Your FAE might have one you can borrow for the sanity check.  You might want to contact them as well.

     

    --Dan

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

    Hello again. The issue was put on hold, and then corona hit the globe. So, we got a FMC Carrier v2 card in the end. The Picozed just works out of the box with the provided sd card, so we have to conclude that the issue is on my carrier card. I am currently looking at the document you suggested, UG933. I am a bit confused about the trace length you are referring to. Are you referring to the information about a delay skew of 50-200ps between the data pins and cmd pin relatively to the clock? (p.68). A required delay would incur a needed trace length. But I am unsure if that delay skew HAS to exist or not. Meanwhile, I will also be looking at the answer records.

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

    You do need to have the data/cmd traces be +50 to +200ps relative to CLK. The skew is important. Of course, with the PicoZed system, the trace delays consist of multiple layers:

    • Xilinx package delay
    • PicoZed SOM trace lengths
    • SOM/Carrier Connector delay
    • Carrier trace lengths (on both sides of level translator)
    • Level translator delay

     

    Are you using a level translator on your carrier? The FMC-V2 uses the TXS02612RTWR.

     

    I haven't done the analysis myself, but I assume since the Avnet FMC-V2 Carrier works that the lengths were skewed correctly after adding up all the other delays. An easy thing to do is try to match the trace lengths on the Avnet Carrier. You can find the list of trace lengths here:

    PicoZed FMC Carrier Card V2 Kit

    PicoZed FMC Carrier V2 REV1 NetLengths_160318.zip

     

    I did a quick calculation to add the traces on both sides of the level translator, then compared to the clock, then converted to picoseconds using 165 ps/inch.

    image

     

    You'd have to add in the Xilinx package delay, SOM trace lengths, Mating connectors, and level translator to get the complete picture. But, we know this works, so if you do something close to this, your's should work as well.

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject 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