Windows 10 shows "Could not recognize device " when plugged in upsquared through OTG

vini_gajjarvini_gajjar New Member Posts: 4

Hello ,
I have the Up squared 8GB memory / 64 GB storage version.

Problem: Windows 10 shows "Device malfunction, Could not recognize" when plugged in the Up squared board through otg.

Steps: Following steps are performed to use up-squared as gadget mass storage device and to access it from windows 10

1 In bios the OTG device mode is already enabled.

2 In terminal , I ran following commands,
dd bs=1M count=4 if=/dev/zero of=gadget_storage
fdisk -u gadget_storage

  • pressed "x" for expert mode
  • pressed "s" and entered 8 for 8 sectors
  • pressed "h" and entered 1 for 1 head
  • pressed "c" and entered 1024 for 1024 cylinders
  • pressed "r" to get out of xpert mode
  • pressed "n" and then "p" for primary
  • Entered the default value to select the partitions and then First sector and Last sectors
  • pressed "t" and and pressed "7" to select file system as NTFS
  • pressed "w" to save the partition table.
    losetup -o512 /dev/loop0 gadget_storage
    *// -o 512 setting the byte offset (First sector number[1 in my case] * 512 = 512)
    mkfs.ntfs -p 1 -S 8 -H 1 /dev/loop0 8191
    *// p sets starting sector number which is 1 , S represent sectors per track which i selected as 8 , H as heads and 8191
    *// reperesent total sectors .
    losetup -d /dev/loop0
    *// detaching the backing store file from loop device
    modprobe g_mass_storage stall=0 file=gadget_storage

Connected the upsquared to windows 10 host machine while OTG cable
Problem : windows 10 shows , Device malfunctioned , could not recognize the usb device.

However , I could successfully detect the mass storage in windows 7 and linux ubuntu host systems ,

Could somebody please help me understand what could go wrong with windows 10.

Thank you

Answers

  • vini_gajjarvini_gajjar New Member Posts: 4

    @ccalde
    As you said , I have set up a new discussion here,
    I want to mention one thing is that i have installed ubuntu 16.04 following the steps mentioned on https://wiki.up-community.org/Ubuntu
    Now i have configured the Upsquared board in Device mode OTG and created a mass storage using the above steps.
    The problem is when I connect the board to windows 10 host machine through otg , I get a notification on my windows laptop, "Windows can not recognize the device or malfunctioned"

Sign In or Register to comment.