none
Activesync doesn't start after download OS image via RNDIS RRS feed

  • Question

  • Hello!

    I developed rndis eboot for Windows CE device. Eboot bootloader works fine. But I have the next problem.

    After the download via RNDIS is finished eboot launchs OS image. Windows CE starts fine but Activesync doesn't start!

    When I replug usb cable Activesync starts fine. Looks like the problem on the desktop side.

    After rndis download is finished the desktop PC continue show the rndis network adapter in Device Manager.

    And when I restart desktop PC, the Activesync start fine!

    What can be the reason of this error? I try to find the information of this but I didn't find anything.

    Dave

    Friday, April 13, 2012 2:20 PM

Answers

  • Talk with your hardware engineer.  You need to unplug the cable, which can be done on the board without touching the cable, but you need hardware that does that.

    Note, I didn't suggest anything about resetting anything.


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com

    • Marked as answer by Jacviah Wednesday, April 18, 2012 10:20 AM
    Tuesday, April 17, 2012 9:32 PM
    Moderator

All replies

  • Sounds like a problem on the device side.   You will need to have a way to unplug the cable via software, so that the PC sees a new device attach.   This is usually done by having a way to switch the 5v and or ground (don't recall which one).

    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com

    Friday, April 13, 2012 3:38 PM
    Moderator
  • I know, that my usb function driver can't catch detach event, it can only "attach". Does this touch that problem?

    And how I can emulate unplug cable via software? I do "reset" on usb and rndis layer but it's without success.

    Friday, April 13, 2012 4:26 PM
  • You would need hardware to support it.

    Is this a real world problem for your end users?  Or is it just an engineering problem?


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com

    Friday, April 13, 2012 5:03 PM
    Moderator
  • It's a real problem. After RNDIS downloader is finished update OS image the end user has to replug USB cable to connect via Activesync. It's inconvenient for end user. Is it that impossibly to solve that issue?
    Monday, April 16, 2012 11:11 AM
  • It is possible to solve, if you have hardware that solves it and software that manipulates the hardware.

    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com

    Tuesday, April 17, 2012 12:30 PM
    Moderator
  • OK,

    I tried to do the things about you say (after eboot finished the all useful work):

    1. I tried to do usb "reset" on USB layer (using usb registers). Without success.

    2. I tried to do rndis (network) "reset" on RNDIS layer. Without success.

    If I wanted to solve this problem what'd I do? I used USB analyzer, and the all looks fine for device side. Looks like

    desktop(!) rndis driver can't unload. Because of that, the USB serial (activesync) driver can't start. I try to do the next experiment: I did "disable/enable" for usb hub on desktop side where my device is situated - and as the result: Activesync enabled!

    But when I did that for RNDIS adapter on desktop side (disable/enable) - the result was BSOD !!! The all time!

    Thanks, Bruce, for your advice, but I don't understand the cause of this problem!

    Tuesday, April 17, 2012 4:24 PM
  • Talk with your hardware engineer.  You need to unplug the cable, which can be done on the board without touching the cable, but you need hardware that does that.

    Note, I didn't suggest anything about resetting anything.


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com

    • Marked as answer by Jacviah Wednesday, April 18, 2012 10:20 AM
    Tuesday, April 17, 2012 9:32 PM
    Moderator
  • Thanks for replies.
    Wednesday, April 18, 2012 10:20 AM