Problems Detecting S5D9 as USB Storage Device

s5d9

#1

The S5D9 IoT Fast Prototyping Kit mounts as a USB storage device on your workstation. When you first open the box, the S5D9 board comes with a binary for Data Monitoring powered by BugLabs. To use the board with Renesas Data Monitoring, you need the Thing Name, which is in the file ThingName.txt.

Problem

When you first plug the S5D9 board into your computer, it doesn’t show up as a USB drive.

Solutions

  • with the S5D9 board plugged into USB and Ethernet, reboot your workstation
  • check the USB cable and make sure it is a sync cable, not a charger only cable
  • try a different computer and USB cable

Status of Community Tests

Linux

  • Worked fine on Ubuntu 16.04 and 17.04. Detected immediately and mounted

ChromeOS

  • detected and mounted on ChromeOS on ARM

Windows

  • mounted on Windows 7, but I had to plug in the Ethernet
  • required reboot on Windows 10 with the board plugged in

Mac

  • saw problems mounting board on Mac OS X

Additional Information

When I first encountered a problem on Windows 10, I checked the Device Manager to see if a driver needed to be updated. All the drivers looked fine. I noticed that the ExpressL USBX storage dev USB Device appeared in my Device Manager when I plugged the S5D9 into my computer. I decided to reboot my computer. When I did, the board showed up as a USB storage device.

Prior to plugging S5D9 into my workstation

After plugging the S5D9 into my workstation

I went through the schematics in hopes of finding additional information, but I couldn’t identify anything useful.


S5D9 IoT Fast Prototyping Kit Unboxing
#2

@jcasman on Mac OS 10.12, finding IOT FAST PROTO S5D9

Not appearing in /Volumes/, Finder or in Disk Utility

Did you try to open the S5D9 board on a different Mac?

On Linux, which finds and auto-mounts the device,

craig@cube:/sys/dev/block/8:48$ hwinfo --usb
01: SCSI 600.0: 10600 Disk                                      
  [Created at block.245]
  Unique ID: W5SY.Ma5LCrrkmI4
  SysFS ID: /class/block/sdd
  SysFS BusID: 6:0:0:0
  SysFS Device Link: /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0/host6/target6:0:0/6:0:0:0
  Hardware Class: disk
  Model: "ExpressL USBX storage dev"
  Vendor: usb 0x045b "ExpressL"
  Device: usb 0x0100 "USBX storage dev"
  Revision: "2000"
  Serial ID: "0100"
  Driver: "usb-storage", "sd"
  Driver Modules: "usb_storage"
  Device File: /dev/sdd (/dev/sg3)
  Device Files: /dev/sdd, /dev/disk/by-id/usb-ExpressL_USBX_storage_dev_0100-0:0, /dev/disk/by-label/QSPI_DISK, /dev/disk/by-path/pci-0000:00:14.0-usb-0:6:1.0-scsi-0:0:0:0, /dev/disk/by-uuid/0000-0001
  Device Number: block 8:48-8:63 (char 21:3)
  BIOS id: 0x80
  Speed: 12 Mbps
  Module Alias: "usb:v045Bp0100d0100dc08dsc00dp00ic08isc06ip50in00"
  Driver Info #0:
    Driver Status: uas is active
    Driver Activation Cmd: "modprobe uas"
  Driver Info #1:
    Driver Status: usb_storage is active
    Driver Activation Cmd: "modprobe usb_storage"
  Drive status: no medium
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Based on the above information, I’m assuming the USB device refers to Express Logic USBX

Thinking about it, the USB port must act as both host and device in different scenarios.


#3

@codetricity - First tests with an iMac had the same results: It does not show up as a USB device. I’ll be able to test on one more system tomorrow, but I’m a little mystified.


#4

I just plugged it into a different Windows 10 machine and it mounted immediately, this one is using an Intel X99 chipset. I don’t have the board plugged into Ethernet, just the USB cable. Though, I just realized that it’s not showing the ThingSpace.txt file…


#5

I mounted it on another Lenovo laptop running Windows 10 and opened up the factory_test.log fille. The file contains this:

  J3 Grove Uart  Loopback: Failed
  J4 Grove I2C   Loopback: Failed
  J5 PMOD P1-P7  Loopback: Failed
  J5 PMOD P2-P3  Loopback: Passed
  J5 PMOD P8-P9  Loopback: Failed
  J5 PMOD P4-P10 Loopback: Failed
   J10 Ethernet Jack Test: Failed
         BMC150 ACCL Test: Passed
          BMC150 MAG Test: Passed
          AMS ENS210 Test: Passed
    MS563 Baro Press Test: Passed

I’m going to check another board to see what it says.


#6

I tried mounting the same board that would not show up on my MacBook Air on an Asus laptop running Windows 10. Same as you, just connected USB, no Ethernet. The S5D9 shows up as a USB device immediately, no issues.


#7

This is the factory_test from a known working board

  J3 Grove Uart  Loopback: Passed
  J4 Grove I2C   Loopback: Passed
  J5 PMOD P1-P7  Loopback: Passed
  J5 PMOD P2-P3  Loopback: Passed
  J5 PMOD P8-P9  Loopback: Passed
  J5 PMOD P4-P10 Loopback: Passed
   J10 Ethernet Jack Test: Passed
             DHCP Address: Passed
         BMC150 ACCL Test: Passed
          BMC150 MAG Test: Passed
          AMS ENS210 Test: Passed
    MS563 Baro Press Test: Passed

This is the factory_test.log of a board that I’m having problems with:

  J3 Grove Uart  Loopback: Failed
  J4 Grove I2C   Loopback: Failed
  J5 PMOD P1-P7  Loopback: Failed
  J5 PMOD P2-P3  Loopback: Passed
  J5 PMOD P8-P9  Loopback: Failed
  J5 PMOD P4-P10 Loopback: Failed
   J10 Ethernet Jack Test: Failed
         BMC150 ACCL Test: Passed
          BMC150 MAG Test: Passed
          AMS ENS210 Test: Passed
    MS563 Baro Press Test: Passed

On the working board, LED 2 is flashing amber.

On the non-working board, LED 2 is dark.

Problem Board

Working Board

Flashing Board with System Image

After I flashed the problem board with the factory image, I have this:

  J3 Grove Uart  Loopback: Passed
  J4 Grove I2C   Loopback: Passed
  J5 PMOD P1-P7  Loopback: Passed
  J5 PMOD P2-P3  Loopback: Passed
  J5 PMOD P8-P9  Loopback: Passed
  J5 PMOD P4-P10 Loopback: Passed
   J10 Ethernet Jack Test: Passed
             DHCP Address: Passed
         BMC150 ACCL Test: Passed
          BMC150 MAG Test: Passed
          AMS ENS210 Test: Passed
    MS563 Baro Press Test: Passed

I was able to install and use the Medium One binary as well as connect to BugLabs (Renesas IoT Sandbox Data Monitoring)

I tried this on a second problem board and was able to restore everything, including the ThingName.txt file. I’m working primarily on Windows 7 now.

Instructions on restoring the factory image on the board is available here. I have a note out to Renesas asking about how people can more easily download the factory image.

The summary of our tests so far:

  • cannot figure out how to mount the board on Mac OS X
  • mounts on Windows 7, Linux, Chrome OS, and Windows 10
  • we’ve found some problems mounting it on Windows 10, but in general it seems to work
  • I somehow messed up the board software a few times, but was able to restore the factory image and get all the boards working again

I wrote an article on fixing bricked boards, which is slightly different from this topic as I can sometimes mount the board as a USB drive, but the board fails to load the image. So far, I’ve fixed the board in all cases and restored full functionality.