eth0 interface only shows up on MT3620 when board image is sideloaded

AdamB-4111 346 Reputation points
2021-07-22T21:26:08.94+00:00

Goal:
I would like to do OTA updates to a MT3620 Seeed Studio dev-board only over ethernet.

Hardware:
Azure Sphere MT3620 Development Kit_US Version
MT3620 Ethernet Shield v1.0
MT3620 Grove Shield
Azure Sphere OS: 21.07 Update 1
Azure Sphere SDK: 21.07.2.14662

Problem Description:
When Ethernet Shield board image is sideloaded over USB, Ethernet runs nominally

  1. Device enable-development
  2. enc28j60-isu0-int5 board configuration image is sideloaded over USB
  3. eth0 shows up on interface list
  4. eth0 can be enabled
  5. When WIFI is disabled, eth0 secures its own IP address

However, when I set up an image to Product/"Field Test" which contains images for <blinky.imagepackage> <enc280j60-isu0-int5.imagepackage>. I get a different result.

  1. Device enable-cloud-test
  2. (( Software on device cleared ))
  3. (( Software downloads over WIFI ))
  4. Images for blinky and enc280j60-isu0-int5 both show up on device image-list
  5. But! eth0 is not present on the interface-list.

What could be changing between "Development" and "Field Test" to have ethernet stop working?

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
167 questions
{count} votes

Accepted answer
  1. Chandranmsft 856 Reputation points
    2021-07-23T22:52:21.86+00:00

    Hi @AdamB-4111 - Thank you for your patience while we repro'd the scenario. I followed the above steps and could see eth0 interface in my interfaces list. Below is the sequence of steps that I used to repro. Can you please try the same again and let me know if the issue still persists?

    **

    • Repro Steps:

    **

    1. Recovered the board by running azsphere device recover
    2. Ran azsphere device network list-interfaces
    3. Output shows aspheresvc, lo, wlan0 interfaces.
    4. Run azsphere device enable-development
    5. azsphere device sideload deploy --image-package .\enc28j60.imagepackage.
    6. Run azsphere device network list-interfaces
    7. Output shows aspheresvc, eth0, lo, wlan0 interfaces
    8. azsphere device sideload delete --component-id 378ccd28-b1dd-4e9a-a8bc-9cf42b5a56c3
      a. Removed the ethernet package from device
    9. azsphere device enable-cloud-test --product Testproduct
    10. Uploaded both image files into Azure Sphere tenant
      a. azsphere image add --image "C:\xxxx\AzureSphereBlink1.imagepackage"
      b. azsphere image add --image ".\enc28j60.imagepackage"
    11. Confirmation that the device only has these 2 images as targeted 117546-image.png
    12. Confirmed that the images are downloaded onto the device

    117601-image.png
    13. Ran the azsphere device network list-interfaces command and could see eth0 interface listed in the output

    117547-image.png

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. AdamB-4111 346 Reputation points
    2021-07-25T18:37:53.55+00:00

    Hi @Chandranmsft ,

    I followed your steps, and I am getting it to work with MT3620 RBD + Ethernet Shield V1.0

    I found the source of my problem was that this will not work when the Seeed Grove Shield is connected as well.
    -> I need all 3 boards for my project.

    The behavior of seeing "eth0" only in Development was with the 3-Stack (RBD, Ethernet, Grove Shield) configuration
    If I remove the Grove Shield, I see "eth0" in Field Test, but when it is connected, it does not work.

    I found an older tutorial and I don't see any notes about needing that.
    https://techcommunity.microsoft.com/t5/internet-of-things/create-a-secure-azure-sphere-app-using-the-grove-shield-sensor/ba-p/1069589

    So, happy to know that ethernet works between "Development" and "Field Test"
    But, I think the newly identified problem is why does eth0 not show up when the Grove Shield is installed on top of the Ethernet Shield.

    117697-rdb-ethernet-grove-shield.jpg
    117686-rdb-ethernet-grove-shield-2.jpg

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.