element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Azure Sphere Starter Kit
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Azure Sphere Starter Kit
  • More
  • Cancel
Azure Sphere Starter Kit
Forum Ethernet Module Issue
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Azure Sphere Starter Kit requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 7 replies
  • Subscribers 32 subscribers
  • Views 290 views
  • Users 0 members are here
  • azure sphere kit
  • azurespherech
  • azure sphere
  • azuresphkt
  • azure sphere starter kit
Related

Ethernet Module Issue

sagacr2018
sagacr2018 over 2 years ago

Hi All,

 

I connected Ethernet Module (ENC28J60) and loaded Ethernet Sample from Official GIT. When I am running the program, I am getting following error,

 

ERROR: Networking_SetInterfaceState for interface 'eth0' failed: errno=2 (No such file or directory)

 

Any clue how this can be resolved?

 

Does anyone have working ethernet code for Avnet Azure Starter Kit? 

  • Reply
  • Cancel
  • Cancel

Top Replies

  • peterfenn
    peterfenn over 2 years ago in reply to sagacr2018 +2

    Rohit

     

    Note that while the MikroE ethernet Click board (based on ENC28J60) has pinout compatibility with the Avnet Starter Kit, the board configuration image Microsoft provides at this time (lan-enc28j60…

  • clem57
    clem57 over 2 years ago +1

    sagacr2018 I would read all the Microsoft  doc. I am willing to bet the setup for the device is missing from the manifest file to permit usage of the Ethernet device. Every thing you touch on the hardware…

  • sagacr2018
    sagacr2018 over 2 years ago in reply to clem57 +1

    Thanks BB-Sphere. I researched more and its not something related to Manifest or permission. I completely missed the following step,

     

    Use of Ethernet requires a board configuration image in addition to the…

Parents
  • clem57
    clem57 over 2 years ago

    sagacr2018 I would read all the Microsoft  doc. I am willing to bet the setup for the device is missing from the manifest file to permit usage of the Ethernet device. Every thing you touch on the hardware level must be registered before using.

    Clem

    • Cancel
    • Up +1 Down
    • Reply
    • Cancel
  • sagacr2018
    sagacr2018 over 2 years ago in reply to clem57

    Thanks BB-Sphere. I researched more and its not something related to Manifest or permission. I completely missed the following step,

     

    Use of Ethernet requires a board configuration image in addition to the application image. The board configuration image contains information that the Azure Sphere Security Monitor requires to add support for Ethernet to the Azure Sphere OS. Microsoft supplies a board configuration for the Microchip ENC286J60 Ethernet chip, which is attached via SPI to ISU0 with interrupts on GPIO5. For development, we recommend the Olimex ENC28J60-H module.

    To use Ethernet on Azure Sphere, you package a board configuration image for the ENC28J60 and deploy this image package in addition to your application image package.

     

     

    Now there is another challenge! Microsoft only supplies Image with support on ISU0 and Interrupt on GPIO5 but Avnet Sphere Kit doesn't have any such combination. It has SPI on ISU1 with Interrupts on GPIO 16/17. I am trying to find out a way to create custom board configuration image

    • Cancel
    • Up +1 Down
    • Reply
    • Cancel
Reply
  • sagacr2018
    sagacr2018 over 2 years ago in reply to clem57

    Thanks BB-Sphere. I researched more and its not something related to Manifest or permission. I completely missed the following step,

     

    Use of Ethernet requires a board configuration image in addition to the application image. The board configuration image contains information that the Azure Sphere Security Monitor requires to add support for Ethernet to the Azure Sphere OS. Microsoft supplies a board configuration for the Microchip ENC286J60 Ethernet chip, which is attached via SPI to ISU0 with interrupts on GPIO5. For development, we recommend the Olimex ENC28J60-H module.

    To use Ethernet on Azure Sphere, you package a board configuration image for the ENC28J60 and deploy this image package in addition to your application image package.

     

     

    Now there is another challenge! Microsoft only supplies Image with support on ISU0 and Interrupt on GPIO5 but Avnet Sphere Kit doesn't have any such combination. It has SPI on ISU1 with Interrupts on GPIO 16/17. I am trying to find out a way to create custom board configuration image

    • Cancel
    • Up +1 Down
    • Reply
    • Cancel
Children
No Data
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube