logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.

IGEP Module rev F Connection issues

posted in Uncategorized
Tuesday, August 16 2011, 07:41 PM
0
So i\\\'ve received my IGEP Module (IGEP0030-Module-RF). I had spent some time trying to connect to it as an RNDIS/Ethernet USB gadget before being made aware of a \\\"Kernel Bug\\\" that prohibits the proper use of the device in this manner. I have now been told by support that I can connect via wifi. But that is all they have told me. I have been trying to contact them about issues we\\\'ve been having with this board, including wifi connectivity, but have been getting delayed/not very helpful responses. My company is considering using this board in a design we will be producing on large scales, however, if we cannot get the first board we ordered to work the way we desire, we will have to consider other options. Has anyone been able to connect to and communicate with the IGEP Module (preferably Revision F) using Wifi? I have loaded the SD card (since i was also made aware that the flash is not preloaded for this revision) and the board is booting from it (i think). I am able to get the board to broadcast an SSID (WLAN_IGEP) and I create an ad-hoc network between a windows xp laptop and the board, however, i cannot find the ip address of the board nor anyway to communicate directly with the board. If anyone has any ideas as to how i might communicate between a host PC and my board, or if anyone knows when the RNDIS/USB ethernet gadget driver support issue will be rectified please let me know. Thanks in advance for any help or information anyone can give! Mike
Responses (17)
  • Accepted Answer

    Wednesday, August 17 2011, 12:56 PM - #permalink
    0
    I just got this up and running. The trick was to check the IP configurations for the WLAN in the poky-image rootfs from /etc/network/interfaces. The igep module has the static IP 192.168.6.1 on the wlan so after connecting to the WLAN_IGEP I set my IP to 192.168.6.2 after which I was able to ssh to the module. I tried to add a short description to the page [url=http://labs.igep.es/index.php/Using_IGEP_WLAN_to_communicate]http://labs.igep.es/index.php/Using_IGE ... ommunicate[/url] but was unable to login to the wiki for editing. I thought the same account would work with the wiki as with the forum but I guess it doesn\\\'t... - markus
    The reply is currently minimized Show
  • Accepted Answer

    lunter
    lunter
    Offline
    Tuesday, August 23 2011, 07:16 PM - #permalink
    0
    We are facing same problem with connectivity as Mtravis. Unfortunately Wifi is not a valid option for us, we really need to connect to IGEPv2 through USB RNDIS. We recently bought a larger amount of IGEPv2 modules which are completely useless for us until this issue is solved. Maybe somebody knows if there is a way how to fix the \\\"Kernel Bug\\\" which seems to be responsible for the issue? We are currently using Poky Linux 3.3.1-6 downloaded from labs.igep.es, does anybody know if this problem could be solved by another Linux distribution or maybe by applying a kernel patch to 3.3.1-6? Any chances this bug will be fixed anytime soon, or maybe we should not hope at all this will be ever fixed (bad news is better than no news)? Jan
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Wednesday, August 24 2011, 05:31 PM - #permalink
    0
    Could you test this kernel? [url=http://downloads.igep.es/files/2.6.35.13-2-patches/zImage]http://downloads.igep.es/files/2.6.35.1 ... hes/zImage[/url]
    The reply is currently minimized Show
  • Accepted Answer

    lunter
    lunter
    Offline
    Wednesday, August 24 2011, 06:34 PM - #permalink
    0
    Good job, the new kernel works, I can connect to the board through USB RNDIS. I appreciate very much your support. Jan
    The reply is currently minimized Show
  • Accepted Answer

    saadhamid
    saadhamid
    Offline
    Monday, August 29 2011, 06:50 PM - #permalink
    0
    [b]lunter wrote:[/b]
    Good job, the new kernel works, I can connect to the board through USB RNDIS. I appreciate very much your support. Jan
    Do you mind how you update the patch.
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Monday, August 29 2011, 07:22 PM - #permalink
    0
    It\\\'s included here: [url=http://git.igep.es/?p=pub/scm/linux-omap-2.6.git;a=shortlog;h=refs/tags/v2.6.35.13-3]http://git.igep.es/?p=pub/scm/linux-oma ... .6.35.13-3[/url] And the commit it\\\'s there: [url=http://git.igep.es/?p=pub/scm/linux-omap-2.6.git;a=commit;h=be8031203a76375451fe3a46e4169cb1d743e0c7]http://git.igep.es/?p=pub/scm/linux-oma ... b1d743e0c7[/url]
    The reply is currently minimized Show
  • Accepted Answer

    bsott
    bsott
    Offline
    Tuesday, August 30 2011, 11:37 PM - #permalink
    0
    Works only in high-speed mode with USB 2.0 controller. Doesn\\\'t work in full-speed mode with USB 1.1 in system we need connect to. Tried to debug, only difference I found is that musb_hdrc is initialized with maxpacket 64 bytes in full-speed instead of 512 in high-speed mode, tcpdump shows that data flows only one way (from host to IGEP) and only some ARP packets apear on the host side when trying to open a connection. Is this still part of the DMA USB issue, or something else could go wrong?
    The reply is currently minimized Show
  • Accepted Answer

    stormwind
    stormwind
    Offline
    Friday, September 02 2011, 02:32 PM - #permalink
    0
    Hello, I\\\'m not USB expert, but there are some compatibilities between USB 2.0 and 1.1 ([url=http://www.everythingusb.com/usb2/faq.htm#8]http://www.everythingusb.com/usb2/faq.htm#8[/url]) Our problem is: We have two devices IGEP (EHCI) and ZK (OHCI). When we try to use g_ether on IGEP with ZK the following problem occurs: IGEP after ZK is connected: [ 187.420288] g_ether gadget: full speed config #1: CDC Ethernet (ECM) [ 187.420318] musb_hdrc periph: enabled ep2in for int IN, maxpacket 16 [ 187.420349] g_ether gadget: init ecm [ 187.420379] g_ether gadget: notify connect false [ 187.421783] g_ether gadget: activate ecm [ 187.421813] musb_hdrc periph: enabled ep1in for bulk IN, maxpacket 64 [ 187.421844] musb_hdrc periph: enabled ep1out for bulk OUT, maxpacket 64 [ 187.421875] usb0: qlen 2 [ 187.421905] g_ether gadget: ecm_close [ 187.468841] g_ether gadget: notify connect false [ 187.500885] g_ether gadget: notify speed 9728000 ===================================================== ZK: usb 1-1.3: new full speed USB device using pxa3xx-ohci and address 4 usb 1-1.3: configuration #1 chosen from 2 choices usb0: register \\\'cdc_ether\\\' at usb-pxa3xx-1.3, CDC Ethernet Device, de:3b:ad:ee:60:aa ===================================================== when I do ping IGEP -> ZK (which is not working), I can see this on IGEP: [ 4899.663299] <== ep1out, rxcsr 0003 d7b1ce40 [ 4899.663330] MUSB_RXCSR_RXPKTRDY: 42/0 [ 4899.663330] ep1out OUT/RX pio fifo 42/1536, maxpacket 64 Nothing more for one ping process execution. I can see RX errors on ZK using ifconfig (RX packets and error were incremented during multiple ping invocations from IGEP): usb0 Link encap:Ethernet HWaddr 12:1C:9E:71:AD:DC inet addr:192.168.7.1 Bcast:192.168.7.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4 errors:64 dropped:0 overruns:0 frame:60 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:136 (136.0 B) TX bytes:84 (84.0 B) Could you possibly help me or direct me? BTW: IGEP with my LAPTOP is working correctly, what could be the source of problem? For comparison, this is what I get when I connect my PC with IGEP: [ 157.108642] g_ether gadget: high speed config #1: CDC Ethernet (ECM) [ 157.108703] musb_hdrc periph: enabled ep2in for int IN, maxpacket 16 [ 157.108703] g_ether gadget: init ecm [ 157.108734] g_ether gadget: notify connect false [ 157.109283] g_ether gadget: activate ecm [ 157.109313] musb_hdrc periph: enabled ep1in for bulk IN, maxpacket 512 [ 157.109344] musb_hdrc periph: enabled ep1out for bulk OUT, maxpacket 512 [ 157.109375] usb0: qlen 10 [ 157.109405] g_ether gadget: ecm_close [ 157.177215] g_ether gadget: notify connect false [ 157.209228] g_ether gadget: notify speed 425984000
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Friday, September 02 2011, 06:02 PM - #permalink
    0
    Could you test this kernel? [url=http://downloads.igep.es/files/tmp/zImage]http://downloads.igep.es/files/tmp/zImage[/url] Cheers Manel
    The reply is currently minimized Show
  • Accepted Answer

    stormwind
    stormwind
    Offline
    Monday, September 05 2011, 01:38 PM - #permalink
    0
    I\\\'ve tested the kernel you\\\'ve supplied. I\\\'m sorry but it\\\'s still not working. I\\\'m attaching the dmesg output of igep. Could I possibly help you somehow with testing? Cheers, Juraj
    The reply is currently minimized Show
  • Accepted Answer

    stormwind
    stormwind
    Offline
    Wednesday, September 07 2011, 11:13 AM - #permalink
    0
    Hello, We don\\\'t know what to do. We\\\'ve invested huge amount of time/money into adopting IGEP into our solution and after upgrade to DM37xx we are lost. Is it possible to make urgent this issue somehow? (donate IGEP project, paid commercial support or...)
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Wednesday, September 07 2011, 01:25 PM - #permalink
    0
    I uploaded a new version: [url=http://downloads.igep.es/files/tmp/zImage]http://downloads.igep.es/files/tmp/zImage[/url] Please test it ... I don\\\'t have any device USB 1.1 for check it. I used a USB 1.0 hub connected to my pc ...
    The reply is currently minimized Show
  • Accepted Answer

    stormwind
    stormwind
    Offline
    Wednesday, September 07 2011, 03:51 PM - #permalink
    0
    It\\\'s still the same (On ZK I still see RX errors). Should I send you tcpdumps from ZK, or could you possibly add some debugging messages into dmesg? BTW: in what speed mode is your g_ether when connected to USB 1.0 hub?
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Wednesday, September 07 2011, 04:31 PM - #permalink
    0
    [ 5111.907775] g_ether gadget: full speed config #2: RNDIS Windows 7 Reports: 9.7 Mbs I will check it again due I only modified the DMA mode for full speed and length packet size ...
    The reply is currently minimized Show
  • Accepted Answer

    stormwind
    stormwind
    Offline
    Wednesday, September 07 2011, 04:35 PM - #permalink
    0
    But on windows RNDIS is used and we use CDC. Is it OK? We are able to provide you remote access to our environment. I can send you the details in an email.
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Wednesday, September 07 2011, 04:40 PM - #permalink
    0
    I used the RNDIS/Ethernet gadget on W7, I go to \\\"Control Panel\\\" -> hardware -> Device administrator -> look the RNDIS device and update the driver manually, you should select: Microsoft Corporation -> Remove device NDIS It create a new Network adaptor and then I configure it as manually IP assigned ... Anyway, you can go to IRC channel, I\\\'m there ... Manel
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Thursday, September 15 2011, 12:39 PM - #permalink
    0
    Hi We have done some modifications in the kernel 2.6.37 ... Could you test it? [url=http://downloads.igep.es/files/tmp/zImage]http://downloads.igep.es/files/tmp/zImage[/url] Manel
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat