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
I completely missed sideloading additional board configuration and Program now recognizing eth0. Now there is another problem! Microsoft only supplies Ethernet 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 2. Help !!
3 of 3 people found this helpful
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-isu0-int5) maps to ISU0 and GPIO 5 (not ISU1 and GPIO 2, as needed on the Avnet board)
We are working with Microsoft on getting software support for this ethernet adaptor with the Avnet Starter Kit, but do not have a date yet when the ISU1 board config package will become available...
MSDN tech support forum post here:
PS: At this time you can still test your ethernet based application, using the MikroE ethernet Cick board separate from the Starter Kit board.
ie. Using fly-wires connected to ISU0 via the unpopulated Pmod connector
1 of 1 people found this helpful
Thanks Peter. Its weird that Microsoft is keeping configuration part as closed source. I am using ETH-Click already and I tried to connect over PMOD connector but GPIO_5 is not available on Kit. Its taken by WiFi light. Also this makes me think that other EthClicks might not work with this Kit as well. Looks like we are on mercy of Microsoft for this now
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?