question

AdamB-4111 avatar image
0 Votes"
AdamB-4111 asked AdamB-4111 edited

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

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
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AdamB-4111 - Thanks for posting the query. We will try to reproduce the scenario and get back to you with an update.

2 Votes 2 ·
ChandraNekanti-3683 avatar image
1 Vote"
ChandraNekanti-3683 answered

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



image.png (49.8 KiB)
image.png (60.1 KiB)
image.png (58.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AdamB-4111 avatar image
0 Votes"
AdamB-4111 answered AdamB-4111 edited

Hi @ChandraNekanti-3683,

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



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.