Community
cancel
Showing results for 
Search instead for 
Did you mean: 
APurc
Beginner
1,049 Views

Joule OTG USB port not operating at SuperSpeed

I have a Joule board and am trying to get the board to act as a SuperSpeed USB-device.

It works as high-speed, but never at SuperSpeed.

I have tried the Linux corei7 OS that came already installed on the board.

I have tried Ubuntu desktop 16.04.

Same results.

I use the USB cable that came with the Joule to connect the Joule to a known good TestPC SuperSpeed USB Host port.

I have tried flipping the Type C end of the cable. Still no SuperSpeed. Just high-speed.

I use functionfs and a script to make the Joule board appear as a Mass Storage USB-device.

This is the script for Linux intel-corei7-64.4.4.15, which came with the board:

# !/bin/sh

dd if=/dev/zero of=/dev/shm/file bs=1M count=1024

mkdir -p /c

mount -t configfs none /c

insmod /lib/modules/4.4.15-yocto-standard/kernel/drivers/usb/gadget/libcomposite.ko

mkdir /c/usb_gadget/g1

chmod 666 /c/usb_gadget/g1/idVendor

chmod 666 /c/usb_gadget/g1/idProduct

echo 0x0957 > /c/usb_gadget/g1/idVendor

echo 0x1111 > /c/usb_gadget/g1/idProduct

mkdir /c/usb_gadget/g1/strings/0x409

chmod 666 /c/usb_gadget/g1/strings/0x409/*

echo 123456789012 > /c/usb_gadget/g1/strings/0x409/serialnumber

echo "Bogus Corporation" > /c/usb_gadget/g1/strings/0x409/manufacturer

echo "Joule" > /c/usb_gadget/g1/strings/0x409/product

mkdir /c/usb_gadget/g1/functions/mass_storage.1

mkdir /c/usb_gadget/g1/configs/b.1

mkdir /c/usb_gadget/g1/configs/b.1/strings/0x409

chmod 666 /c/usb_gadget/g1/configs/b.1/MaxPower

chmod 666 /c/usb_gadget/g1/functions/mass_storage.1/lun.0/file

echo 500 > /c/usb_gadget/g1/configs/b.1/MaxPower

echo /dev/shm/file > /c/usb_gadget/g1/functions/mass_storage.1/lun.0/file

sleep 1

ln -s /c/usb_gadget/g1/functions/mass_storage.1 /c/usb_gadget/g1/configs/b.1/f1

sleep 1

chmod 666 /c/usb_gadget/g1/UDC

echo dwc3.1.auto > /c/usb_gadget/g1/UDC

Tags (1)
0 Kudos
7 Replies
idata
Community Manager
82 Views

Hello andypk,

 

 

Thank you for your interest in Intel® Joule™ Products.

 

 

Please check the following statement from the Intel® Joule™ Module – Datasheet (April 2017, Revision 1.5 http://www.intel.com/content/dam/support/us/en/documents/joule-products/intel-joule-module-datasheet...), chapter 15, page 33:

 

 

The Intel® Joule™ module provides two USB 3.0 ports; one Type C (OTG) and one USB 3.0 host mode and a USB 2 host port.

 

 

SuperSpeed USB is associated with USB 3.1 Gen 2 ports. That is why you haven't been able to obtain the 10 Gbps associated with this technology. For more information on this matter, please visit http://www.usb.org/developers/ssusb.

 

 

Please let me know if you find the previous information useful.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
APurc
Beginner
82 Views

Thanks for your reply and the documentation.

The documentation says the Type C port is USB 3.0, which I believe implies it can do SuperSpeed 5 Gbps. I am not asking it to do SuperSpeed Gen2 10 Gbps. Just SuperSpeed Gen1. The USB-IF says "NOTE: USB3.1 Gen 1 and USB 3.0 terms are synonymous."

http://www.usb.org/developers/ssusb/USB_3_1_Language_Product_and_Packaging_Guidelines_FINAL.pdf http://www.usb.org/developers/ssusb/USB_3_1_Language_Product_and_Packaging_Guidelines_FINAL.pdf

Please look a little deeper and advise me on how I can get the TypeC port to do 5 Gbps.

Thanks

idata
Community Manager
82 Views

Hello andypk,

 

 

Thank you for sharing that information.

 

 

I'll be needing more time to investigate if, and how, the USB 3.0 port can act as a SuperSpeed USB device.

 

 

If I find information that you may find useful, I'll post it here.

 

 

Thank you for your patience.

 

 

Regards,

 

Andres V.
idata
Community Manager
82 Views

Hello andypk,

 

 

Could you please tell me if you are using the latest BIOS ( https://software.intel.com/en-us/node/721469)?

 

 

Also, you mentioned you tried with Linux corei7 OS and Ubuntu desktop 16.04, but have you tried using Ref-OS-IoT ( https://software.intel.com/en-us/node/721486)?

 

 

If you haven't, please give them a try and share your results.

 

 

I'll be waiting for your response.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
APurc
Beginner
82 Views

I updated the BIOS. Joule-Firmware-2017-03-20-1D1-Public. BIOS screen says GTPP1D1A.X64.0143.B30.1703201838.

I booted the Intel Ref-OS-IoT. "uname -a" says "Linux intel-5xx-64 4.4.41-yocto-standard # 1...."

The Joule boots and starts up some USB-device functions.

-CDC ECM

-CDC Serial

-MTP

It appears to connect at speed = SuperSpeed provided I connect with this topology:

Joule USB device port (TypeC) --- SuperSpeed hub ----- Joule USB Host port

If I connect this way, the result is High Speed, not SuperSpeed:

Joule USB device port (TypeC) ---short cable---- USB3 analyzer (TotalPhase Beagle) ---short cable--- SuperSpeed hub ------ Joule USB Host port

This way also results in High Speed, not SuperSpeed

Joule USB device port (TypeC) ----short cable---- Windows 764 PC with Intel xHCI SuperSpeed known good USB Host port

So the conclusion is that the Joule does not work SuperSpeed except is certain restricted topologies.

Have you tried this and had success connecting to a Windows PC?

If so, let me know. I am anxious to hear if your results are the same as mine.

idata
Community Manager
82 Views

Hello andypk,

 

 

Thank you for sharing your conclusion with the community.

 

 

I haven't personally tried it, I'll try to reproduce the experiment in order to compare the results.

 

 

As soon as I have the corresponding information I'll contact you through this post.

 

 

Thank you for your patience.

 

 

Regards,

 

Andres V.
idata
Community Manager
82 Views

Hello andypk,

 

 

Sorry for the late reply.

 

 

I want to inform you that the issue you are experiencing has been fixed in the latest Best Known Configuration (BKC):

 

 

FW 1F1

 

https://downloadcenter.intel.com/download/26786/BIOS-for-Intel-Joule-Compute-Module

 

 

OS 1704

 

https://download.01.org/ref-os-iot/releases/

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
Reply