Beaglebone not recognized by host computers.

Good morning guys!

My name is Sergio (form Spain), and I’m a happy user of BeagleBone Black who is trying to develop an application that can download files from a host computer and after that send those files to the cloud.

The way to download files from the host computers is “easy” conceptually speaking. When you plug an USB key formatted in FAT32 with a folder structure like root/maintenance/maintenance.xml. The host computer automatically downloads the files in root/maintenance/.

I’ve been trying to do this using the BeagleBone capability to boot as a mass storage device loading an internal *img file. I formatted the *img in FAT32 and allow the writing by modifying the usb_ms_ro in the script arm335x_evm.sh. After booting, Windows is able to see the BeagleBone as a mass storage device formatted in FAT32, and I’ve been able to create the folder /maintenance/ and the file maintenance.xml. However, after plugging the board in the host computer, it doesn’t do anything, like there is nothing connected to it.

However, using a Compute Module 3 with an industrial board (BalenaFin), and switching it into programming mode (usb slave), with the required files in it, the host computer recognizes it and download the files.

My questions are: What’s the difference between the USB slave mode used by BeagleBone and the one used by CML3? What am I doing wrong? Is there anything I can do to achieve my goal?

It’s driving me mad!

Thanks a lot guys for your support!

Best regards,

Sergio.

In order to give more information about this. I uploaded three files. The file lsusb_USB.txt show the information given by lsusb command for a regular USB stick. The file lsusb_BBB, the information given when a BBB is plugged, and finally the file lsusb_BF, the information given by the CML3 with the BalenaFin board.

lsusb_BF.txt (147 KB)

lsusb_USB.txt (2.12 KB)

lsusb_BBB.txt (2.18 KB)

And here is the demsg messages from the host computer:

Jul 1 09:18:37.470 (none) kern.info kernel: [ 72.820473] usb 1-1: new high speed USB device using ehci_hcd and address 2
Jul 1 09:18:37.619 (none) kern.info kernel: [ 72.971608] usb 1-1: New USB device found, idVendor=1d6b, idProduct=0104
Jul 1 09:18:37.619 (none) kern.info kernel: [ 72.971627] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 1 09:18:37.619 (none) kern.info kernel: [ 72.971642] usb 1-1: Product: BeagleBoneBlack
Jul 1 09:18:37.619 (none) kern.info kernel: [ 72.971653] usb 1-1: Manufacturer: BeagleBoard.org
Jul 1 09:18:37.619 (none) kern.info kernel: [ 72.971663] usb 1-1: SerialNumber: 0620BBBK031A
Jul 1 09:18:37.619 (none) kern.warning kernel: [ 72.973156] usb 1-1: no configuration chosen from 1 choice
Jul 1 09:19:59.800 (none) kern.info kernel: [ 155.154529] usb 1-1: USB disconnect, address 2
Jul 1 09:31:29.572 (none) kern.info kernel: [ 844.920772] usb 1-1: new high speed USB device using ehci_hcd and address 3
Jul 1 09:31:29.719 (none) kern.info kernel: [ 845.071662] usb 1-1: New USB device found, idVendor=1d6b, idProduct=0104
Jul 1 09:31:29.719 (none) kern.info kernel: [ 845.071681] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 1 09:31:29.719 (none) kern.info kernel: [ 845.071695] usb 1-1: Product: BeagleBoneBlack
Jul 1 09:31:29.719 (none) kern.info kernel: [ 845.071706] usb 1-1: Manufacturer: BeagleBoard.org
Jul 1 09:31:29.719 (none) kern.info kernel: [ 845.071717] usb 1-1: SerialNumber: 0620BBBK031A
Jul 1 09:31:29.719 (none) kern.warning kernel: [ 845.072989] usb 1-1: no configuration chosen from 1 choice
Jul 1 09:32:12.503 (none) kern.info kernel: [ 887.858496] usb 1-1: USB disconnect, address 3
Jul 1 09:38:50.378 (none) kern.info kernel: [ 1287.562001] usb 1-1: new high speed USB device using ehci_hcd and address 4
Jul 1 09:38:50.529 (none) kern.info kernel: [ 1287.718033] usb 1-1: New USB device found, idVendor=1e3d, idProduct=8246
Jul 1 09:38:50.529 (none) kern.info kernel: [ 1287.718052] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 1 09:38:50.529 (none) kern.info kernel: [ 1287.718067] usb 1-1: Product: V88
Jul 1 09:38:50.529 (none) kern.info kernel: [ 1287.718078] usb 1-1: Manufacturer: V88
Jul 1 09:38:50.529 (none) kern.info kernel: [ 1287.718088] usb 1-1: SerialNumber: CCCBBBBB111222333000098
Jul 1 09:38:50.548 (none) kern.info kernel: [ 1287.736509] uba: uba1

As you can see, when the BBB is connected, the host computer detects it but can’t configure it. However, when I plug a regular flash drive, the host computer configure it properly and download the files.