element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum LAN9354 -  Wrong chip id been read by processor(mdc and mdio)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 463 subscribers
  • Views 511 views
  • Users 0 members are here
Related

LAN9354 -  Wrong chip id been read by processor(mdc and mdio)

caspersweety
caspersweety over 5 years ago

Hi,

We have been using imx6ul processor with external phy chip set (lan9354 -Rmii interface).

 

The driver fails at chipid(since instead of 9354 ,FFFF data is been read)

The phy address been configured to 0 -> HW strapping done

 

We probed for MDC and MDIO lines ,we could see data and clock pulses whenever we tried communicating with phy(tried reading the chipid).

 

At U-boot:

 

We tried reading with mii info and mdio read commands.

 

=> mii info

PHY 0x00: OUI = 0x0000, Model = 0x00, Rev = 0x00, 100baseT, FDX

 

 

=> mdio read 0x00 0x50

0x00 is not a known ethernet

Reading from bus FEC0

PHY at address 0:

80 - 0xffff

 

 

 

 

Can you please help us to resolve the issue/suggest some ways to debug the phy chipset?

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 5 years ago +3
    It is incredibly difficult to debug these things. I've done it in the past and ended up using a scope to monitor the MD interface and the data interface. Writing utilities to read and write all the PHY…
  • michaelkellett
    michaelkellett over 5 years ago

    It is incredibly difficult to debug these things.

    I've done it in the past and ended up using a scope to monitor the MD interface and the data interface.

    Writing utilities to read and write all the PHY registers under direct human control for debugging.

    Many of these PHY chips are very complicated and you will need the full data sheet and user manuals.

    The part you are using comes from Microchip so there should be some documentation.

     

    I've used a similar part, also from Microchip (who acquired it when they bought Micrel - KSZ8863)

     

    If you are really stuck it's worth asking Microchip for help.

     

    MK

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