none
KITL Hangs when KITLConnectToDesktop RRS feed

  • Question

  • Hi

    I have created an OS image for Compact 7 on PMAP4430 ,using USB RNDIS for download and Transport ,if KITL is disabled everything works fine. but KITL is enabled the system hangs after the KITL is connected to Desktop,encoding the packet and hangs.please help me solving this issue.

    Here is the messages seen or serial port.

    --------------------------------------------------------------------------------

      Main Menu

    --------------------------------------------------------------------------------

      [1] Show Current Settings

     [2] Select Boot Device

     [3] Select Debug Device

     [4] Network Settings

     [5] eMMC Utilities

     [6] Set Device ID

     [7] Save Settings

     [8] Enable Battery Chargin

     [0] Exit and Continue

     

     Selection: 0

    INFO: Invalid (or out of date) args structure, using defaults

    HostMiniInit:: !!

    Rndis:: initialization: with addr=4a0ab004

    Rndis:: Address static map to addr=4a0ab000

    Rndis:: initialization!

    +RNDIS_USBFN_PDDInit

    Init USB Controller

    OTG SoftResetMUSBController

    OTG hardware soft reset done

    Calling RegisterUSBDevice!+ RegisterUSBDevice!Bulk endpoint

    Bulk endpoint

    - RegisterUSBDevice!ConnectHardware:  After setting USBOTGHS_CONTROL reg to simu

    late VBUSVALID.  RegVal=0x35

    Rndis:: PDDInit Success!

    Rndis:: Get MAC address 200,902f,b5d

    Suspend detected Exit 0x0

    USB Reset detected, it would be connection!!

    USB Reset detected, it would be connection!!

    *** Getting Config descriptor

    *** Getting Config descriptor

    *** Getting Config descriptor

    *** Getting Config descriptor

    RndisMdd:: PDD's max RX buffer = [8192] bytes.

    Rndis:: initialization: Success

    HostMini:: New filter set: [0x0] --> [0xb]

    INFO: Boot device uses MAC 00:02:2f:90:5d:0b

    INFO: *** Device Name SDP4430-23819 ***

    +EbootSendBootmeAndWaitForTftp

    Sent BOOTME to 255.255.255.255

    Packet has the following data:

      boot.bin[NULL]octet[NULL]blksize[NULL]1024[NULL]

    TFTP packet could have 2 name/value pairs

    Locked Down Link 1

    Src IP 192.168.251.11 Port Dest IP 192.168.251.10 Port Default TFTP block size s

    et to: 512 bytes

    This TFTP packet contains 1 options.

    We currently only look at the first and expect it to be BLKSIZE.

    The packet's option name is blksize.

    The option's value is 1024

    with a value that is in range.

    BLKSIZE will be adjusted to 1024.

    EthDown::TFTPD_OPEN::boot.bin

    An OACK packet is the proper acknowledgement

    -EbootSendBootmeAndWaitForTftp

     

    BL_IMAGE_TYPE_BIN

     

    Download file information:

    -----------------------------------------------------------

    [0]: Address=0x81000000  Length=0x089bb30c  Save=0x80100000

    -----------------------------------------------------------

    rom_offset=0x0.

    ImageStart = 0x81000000, ImageLength = 0x89bb30c, LaunchAddr = 0x8100ec20

     

    Completed file(s):

    -------------------------------------------------------------------------------

    [0]: Address=0x81000000  Length=0x89bb30c  Name="" Target=RAM

    ROMHDR at Address 81000044h

    +OEMLaunch(0x81000000, 0x089bb30c, 0x8100ec20, 0x88ab6dd4 - 2/1)

    Got EDBG_CMD_JUMPIMG

    Got EDBG_CMD_CONFIG, flags:0x0

    Launch Windows CE image by jumping to 0x8010ec20...

     

    Windows CE Kernel for ARM (Thumb Enabled) Built on Jan  6 2011 at 16:15:31

    ProcessorType=0c09  Revision=2 CpuId=0x411fc092

    OEMAddressTable = 8100eedc

    --- High Performance Frequecy is 32768 khz---

    Changed KITL zone mask to 0x00008003

    DeviceId................. SDP4430-

    pArgs->flags............. 0x21

    pArgs->devLoc.IfcType.... 0

    pArgs->devLoc.LogicalLoc. 0x4A0AB004

    pArgs->devLoc.PhysicalLoc 0x0

    pArgs->devLoc.Pin........ 0

    pArgs->ip4address........ 192.168.251.11

    pDevice->Name............ K

    pDevice->ifcType......... 0

    pDevice->id.............. 0x48098000

    pDevice->resource........ 0

    pDevice->type............ 2

    pDevice->pDriver......... 0x899D521C

    g_kitlLock = 0x89A1E7B0

    HostMiniInit:: !!

    Rndis:: initialization: with addr=A10AB004

    Rndis:: Address static map to addr=A3000000

    Rndis:: initialization!

    +RNDIS_USBFN_PDDInit

    Init USB Controller

    OTG SoftResetMUSBController

    OTG hardware soft reset done

    Calling RegisterUSBDevice!+ RegisterUSBDevice!Bulk endpoint

    Bulk endpoint

    - RegisterUSBDevice!ConnectHardware:  After setting USBOTGHS_CONTROL reg to simu

    late VBUSVALID.  RegVal=0x35

    Rndis:: PDDInit Success!

    Rndis:: Get MAC address 200,902F,B5D

    Suspend detected Exit 0x0

    USB Reset detected, it would be connection!!

    USB Reset detected, it would be connection!!

    *** Getting Config descriptor

    *** Getting Config descriptor

    *** Getting Config descriptor

    *** Getting Config descriptor

    RndisMdd:: PDD's max RX buffer = [8192] bytes.

    Rndis:: initialization: Success

    HostMini:: New filter set: [0x0] --> [0xB]

    KITL: *** Device Name SDP4430-23819 ***

    WARN: KITL can't obtain IRQ for KITL device

    WARN: KITL will run in polling mode

    Connecting to Desktop

     KITLConnectToDesktop: Including 12 bytes of custom transport config data.

     KITLConnectToDesktop: Encoding packet

     KITLConnectToDesktop: Sending to CFG to desktop

    KITL: Connected host  IP: 192.168.251.10  Port: 1098

     KeyIndex 0 not set on host

     KeyIndex 1 not set on host

     KeyIndex 2 not set on host

     KeyIndex 3 not set on host

     KeyIndex 4 not set on host

     KeyIndex 5 not set on host

     KeyIndex 6 not set on host

     KeyIndex 7 not set on host

    KITL connected with Desktop

    +KITLRegisterDfltClient, service:0

    +AllocClient: ServiceName: 'DBGMSG', Flags: 0x00.

     AllocClient: Allocating single-instance service.

        ServiceName:           'DBGMSG'

        ServiceId:             0

        ServiceInstanceId:     255

        Flags:                 0x00

    -AllocClient: ec: 0x00000000, ppClient: 0xFFFFC4D0.

    Overrun=0x1

    Overrun=0x2

    Overrun=0x3

    Overrun=0x4

    Overrun=0x5

    Regards

    Ravikanth V

    Tuesday, May 29, 2012 8:42 AM

All replies