element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development PS7_Ethernet_0 failed in Mini-ITX peripheral test app
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 175 subscribers
  • Views 132 views
  • Users 0 members are here
Related

PS7_Ethernet_0 failed in Mini-ITX peripheral test app

Former Member
Former Member over 8 years ago

I have noted the following error while running a peripheral test sample project (created in SDK). This project only contains the ZYNQ PS alone, no additional PL blocks.

This error did NOT appear when using the reference package zynq_mini_itx_7z100_embedded_design_v2015_2.zip.

****
Running Interrupt Test  for ps7_ethernet_0...
Error detect phy
****

This project is created under Vivado 2015.2 (SDK). Only the following section of code is added to reset the Phy. No other user code added.

// PHY Reset
int Delay;
XGpioPs_Config *ConfigPtrPS;

ConfigPtrPS = XGpioPs_LookupConfig(0);
XGpioPs_CfgInitialize(&mio_resets, ConfigPtrPS,
   tttConfigPtrPS-BaseAddr);

XGpioPs_SetDirectionPin(&mio_resets, MIO_47, 1);
XGpioPs_SetOutputEnablePin(&mio_resets, MIO_47, 1);
XGpioPs_WritePin(&mio_resets, MIO_47, 0x0);
  for (Delay = 0; Delay < RESET_DELAY; Delay++);
  XGpioPs_WritePin(&mio_resets, MIO_47, 0x1);
// End PHY Reset

The above code is copied from "testperiph.c" of zynq_mini_itx_7z100_embedded_design_v2015_2.zip.

I am not able to figure out what is causing the error.

Would appreciate if someone could advise on what could possibly be the cause of the error (which was not observed with the reference package).

Thanks and Regards.

Sim CK

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 8 years ago

    Are you saying you added the PHY reset code to your testperiph.c and the test still fails?

    If you have not added this code to your file, you need to do that. The PS MIO[47] on the board resets the PHY and it defaults to active state. The reset code will set the MIO[47] to '1' to de-assert it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    I have noted that the MDIO lines were not assigned at the PS side. :)

    Mystery resolved.

    • 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 © 2023 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