Community
cancel
Showing results for 
Search instead for 
Did you mean: 
lli44
Beginner
2,730 Views

Galileo Gen 2 Board USB problem

Hi, everyone

I am encountered two problems when i used the USB cable connect my IPC and Intel Galileo gen2 in Arduino IDE enviroment .

the first problem is when i insert the usb to the board , the "Unknown Device" will show in the deivce manager , so i can not install the usb driver with the "linux-cdc-acm.inf" file . So what can i do to handle this ?

the second problem is when i upload the code in arduino ide , the error "Configgfs-gadge: gadget : acm response on ttyGS0, err -22 " will occured in the yocto linux , and i found the upload operation will take some minutes , i think it is strange .

Is there someone can help me ?

Best Regards,

0 Kudos
11 Replies
idata
Community Manager
229 Views

Hi Candice555,

 

 

Thanks for reaching out.

 

 

First, I recommend you to try to upload your Galileo's firmware to the latest version and install the drivers according to the https://software.intel.com/en-us/get-started-galileo-windows Getting Started with Galileo Board. The latest firmware is the 1.1.1 version and in "https://software.intel.com/en-us/get-started-galileo-windows-step3 Step 3: Set up a serial terminal" you will find instructions to install the drivers.

 

 

Moreover, in order to install and use the Arduino IDE you can follow the instruction stated here: https://software.intel.com/en-us/get-started-arduino-install Installing the Arduino* IDE.

 

 

Let me know if this information helps.

 

 

Regards,

 

-Yermi A.

 

FTinetti
Honored Contributor I
229 Views

Hi candice555,

Just a minor detail about the order in which you need to do the steps:

a) Install drivers

b) Upgrade firmware

c) Use the Arduino IDE

Installing drivers is done with (adapted from https://software.intel.com/en-us/troubleshooting-and-faq-for-arduino-ide IoT):

  1. Right-click the unknown device and select Update Driver Software....
  2. Select Browse my computer for driver software.
  3. look for the driver "linux-cdc-acm.inf".

If you do not have the "linux-cdc-acm.inf", please let me know, it's downloadable from the Intel site.

Once the USB connection is recognized, you will be able to upgrade the Intel Galileo firmware.

HTH,

Fernando.

lli44
Beginner
229 Views

Hi ,

I am really appreciate for you help.

But I can not install the driver , and the error please see attach . I found if the usb cable occured the "CDC Serial" , i can use this "linux-cdc-ac.inf" driver file to install successfully. But it did not work when the error is "unknown device" .

And i found this problem in the IOT2040 which use the galileo gen 2 board . Did i need to upgrade the firmware ?

best regards ,

FTinetti
Honored Contributor I
229 Views

candice555 wrote:

Hi ,

I am really appreciate for you help.

But I can not install the driver , and the error please see attach . I found if the usb cable occured the "CDC Serial" , i can use this "linux-cdc-ac.inf" driver file to install successfully. But it did not work when the error is "unknown device" .

Take into account that the COM port you should use would be one of those identified as/under

"Ports (COM & LPT)"

not as/under

"Universal Serial Bus Controllers"

I've seen this behavior/kind of identification in some windows environments and it works even when it is not explicitly mentioned as "Galileo". In the image you sent, the Intel Galileo port should be that identified as

"USB Serial Port (COM5)"

thus, you should use COM5 in the Arduino IDE. In case of doubt, unplug the Intel Galileo USB connection, check the Device Manager list corresponding to the "Ports (COM & LPT)" devices, plug in the Intel Galileo again and the new COM port is the one corresponding to the Intel Galileo, and the one that should be also used in the Arduino IDE.

candice555 wrote:

...

And i found this problem in the IOT2040 which use the galileo gen 2 board . Did i need to upgrade the firmware ?

I don't know IOT2040 in detail, but it seems to be a Siemens product, not an Intel one, even when IOT2040 uses the same processor, so I think you should ask in a Siemens forum.

HTH,

Fernando.

lli44
Beginner
229 Views

Hi FGT, thank you for you reply.

But the com5 port appear in the device manager is due to the FTDI cable , not the usb cable .

The usb cable show is the "unknown device " in the "Universal Serial Bus Controllers" , because when i extract the cable it will disappear . So it did not recognized in the "Ports (COM & LPT)".

The usb cable driver of IOT2040 which i also used is "linux-cdc-ac.inf". Sometime it will install successfully ,show the " Galileo(com23)" in the "Ports (COM & LPT)". But i find the speed of uploading in arduino is very slow, and the error "Configgfs-gadge: gadget : acm response on ttyGS0, err -22 " will occured in the yocto linux.

This question i can not get answer in the siemens forum , so i ask for help in there to check if someone also encountered or not .

best regards

FTinetti
Honored Contributor I
229 Views

Let's go with only one problem at once...

a) Turn off everything (computer and Intel Galileo, specifically, and every other card, eventually)

b) Unplug everything (USB and FTDI cable specifically)

c) Turn on only the computer and take the screenshot of the Device Manager and include it in the reply to this post.

d) Turn on only the Intel Galileo (do not turn off the computer, of course)

e) Connect the USB of the Intel Galileo to the computer, take the screenshot of the Device Manager and include it in the reply to this post

f) Take a picture of the Intel Galileo connected to the computer, where the USB cable can be identified and include it in the reply to this post

Thus, I'll be able to compare the Device Manager before and after plugging in the Intel Galileo and identify how your computer recognizes the USB connection without any other card/cable connected.

Fernando.

lli44
Beginner
229 Views

Hi FGT ,

Thank you for your reply.

I already do what your suggest to do, please see below .

  • nothing connect , only turn on the computer

  • Connect the USB of the Intel Galileo to the computer

  • only Intel Galileo connected to the computer, compare to the second step i only reboot the board , the result is below , it can recognized

Before i did not reboot this board , so it still showed "unknown device" .

FTinetti
Honored Contributor I
229 Views

Hi candice555,

The behavior is very strange, the Intel Galileo should not be restarted in order to be recognized... please follow my previous post and

> f) Take a picture of the Intel Galileo connected to the computer, where the USB cable can be identified and include it in the reply to this post

so maybe seeing the connection setting shows something else... are you using USB 3.0 in your computer for connecting to the Intel Galileo? If so, please try to use a 2.0 connection.

(Left: 2.0, Right: 3.0).

Avoid using a USB hub or USB extension cord... I don't see a reason other than the USB connection...

HTH,

Fernando.

lli44
Beginner
229 Views

Sorry , the device i applyed is iot2040 which use the intel galileo gen 2 board and the driver is at the same as the intel galileo gen2.

The another port of usb is connect the ipc .

the usb i used is usb2.0, both of them can recognized.

FTinetti
Honored Contributor I
229 Views

I think now it is clear: you are working with a product similar to an Intel Galileo, not an Intel Galileo. The device you are using includes an Intel Galileo and yocto as operating system, but, once again, it is not an Intel Galileo, it is a Siemens iot2040. I didn't find any reference to Intel Galileo in Siemens iot2040 documentation pages/documents, because it is not.

candice555 wrote:

...

IOT2040 which use the galileo gen 2 board

 

...

Everything seems to indicate you are not (at least, I did not find any Siemens documentation about it), it uses a similar card, one defined and implemented by Siemens. Thus,

I think you should ask in a Siemens forum.

EDIT: Siemens seems to have a support forum... e.g.

https://support.industry.siemens.com/tf/ww/en/posts/iot2040-what-would-be-the-base-image-bsp-to-uses... iot2040 - What would be the base image/bsp to uses since it has 2 serial ports? - Entries - Forum - Industry Support - S…

https://support.industry.siemens.com/tf/ww/en/posts/very-slow-uploading/167794/?page=0&pageSize=10 Very slow uploading - Entries - Forum - Industry Support - Siemens

(the latter includes some replies which maybe help you, e.g. "The driver looks standard, it should even be the one shipped by Windows (Intel only ships the metadata). Maybe a cabling issue? Tried a different USB cable as well already?").

BR,

Fernando.

lli44
Beginner
229 Views

Then i want to talk with you about the second problem.

The speed of uploading in arduino is very slow, and the log information "Configgfs-gadge: gadget : acm response on ttyGS0, err -22 " will shown in the yocto linux. Do you encounter this question ?

And if it transfer complete i open the serial monitor to check the output information , i found there is nothing to show . So i think whether it is the problem of usb driver or not . Because the serial monitor can not work normally.

Reply