New WindowsCompact7 Kernel doesn't mount USB-Stick

  • Kernel: NKVYB_CZE_130910.bin
    I checked several USB-Sticks, but everytime the same result. The usb-stick access-LED is still blinking, but no folder is displaying at the file explorer. I don't use a usb-hub! The stick is directly connected.

  • Hello,


    i use same kernel as you with PCA5 and SKIT and it works without problems. I test two sticks from my desk!
    Any further details?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello,


    you are right. Sorry, I have to explain the whole story for this problem:
    At our Hardware, we have an IC to switch the power for the usb that is low active. Until now, with PicoCOM4 we solved this problem to set the DIO-IO-Pin usb-power as an UseAsIO = 1 , DataDir = 1 and DataInit = 0. With this settings it works fine. Now the same settings at PicoCOMA5 do not work. Now my question:
    Is there a posibility to set this at the usb-driver or if not, what should we do?

  • Hm,
    this should work! Can you please set "debug" to 255 and send us the serial boot output,
    Thanks.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Following the debug output file:



      Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Jul 1 2013 15:25:38
      Microsoft Windows CE Bootloader for PicoCOMA5 Built Jul 2 2013
      Portions copyright (c) 2012 F&S Elektronik Systeme GmbH
      Boot Loader, Version 0.2
      NBoot, Version VN04
      HW rev. 1.0


      System ready!
      Preparing for download...
      Press >S< to step into monitor...
      AUTO BOOT enabled
      Kernel (47454kB) read from flash disk started finished in 6874 milliseconds
      INFO: OEMLaunch: Jumping to Physical Address 0x80106740h (Virtual Address 0x0h)...



      Jumping to Kernel @ 0x80106740
      Windows CE Kernel for ARM (Thumb Enabled)
      INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
      OAL Log enable : 1
      OAL Log mask : 3
      0x82f675c0
      0x50
      +OALTimerInit(1 131 0)
      g_pGPC PA=0x4006c000 VA = 0xb006c000
      g_pGPC->LPMR=0x0
      g_pGPC->PGSR=0x8
      g_pCCM->CLPCR=0x78
      cmp=0x83


      PicoCOMA5 V0.08 - Firmware Init
      Copyright (c) 2013 F&S Elektronik Systeme GmbH
      Build: Sep 10 2013/12:05:01
      OAL: CPACR=0xf00000 NSACR=0xc00
      ========
      CPU Info
      ========
      CPU ID 0xc05
      CPU Revision 0x0 0x1
      Total CPUs 1
      SMP is supported 1
      THUMB is supported 4
      JAZELLE is supported 1
      VFP is supported 1
      UTLB is supported 1
      Maintenance broadcast 2
      Pvt timer freq in MHz 66000000
      =========
      Plat Info
      =========
      Board is RTSM 0
      L2 is extern 0
      Periph Base 0x40002000
      SCU Base 0x40002000
      ==========
      Cache Info
      ==========
      L1 I Sets 512
      L1 I Ways 2
      L1 I Line Sz 32
      L1 I Sz 32768
      L1 D Sets 256
      L1 D Ways 4
      L1 D Line Sz 32
      L1 D Sz 32768
      L2 Sets 0
      L2 Ways 0
      L2 Line Sz 0
      L2 Sz 0
      =========
      Overrides
      =========
      ====================
      OALIoCtlHalInitRTC(2006/1/1 12:0:0.000)
      cBoardConfig.chFeatures1=0x2 0 chBoardType=0x1
      [OAL] MACB: Disabled
      [OAL] RestartReason: <UNKNOWN>
      FMD: g_pNFConReg=0xcc660000 --> FMD: NAND ID:0x2cf18095 --> MICRON: 1GBit (128MB)
      FMD: Block 0 to 331 are locked for boot loader
      PM-NETDCU: STARTED
      BE2: Version 1.3, ActiveKey = Drivers\Active\03
      before ConfigOTGHOST:: regs->OTG_CTRL= 2001000
      after ConfigOTGHOST:: regs->OTG_CTRL= 2021000
      after ConfigOTGHOST:: regs->OTG_CTRL= 80000000
      InitializeTransceiver: IRQ=108, sysIntr=17
      NI2C: Version 0.5, ActiveKey = Drivers\Active\13
      ENET: Version 01.00, ActiveKey = Comm\ETHNETA
      BE2: Version 1.3, ActiveKey = Drivers\Active\15
      NI2C: Version 0.5, ActiveKey = Drivers\Active\16
      UART: Version 1.4, Key = Drivers\Active\17
      UART: Port disabled. Serial debug is on !
      UART: Version 1.4, Key = Drivers\Active\18
      CID: Version 2.1, ActiveKey = Drivers\Active\19
      AIN: Version 1.1, ActiveKey = Drivers\Active\21
      PWM: Version 1.2, ActiveKey = Drivers\Active\22
      I2C: Version 4.2, ActiveKey = Drivers\Active\23
      WAV: Version 2.3, ActiveKey = Drivers\Active\24
      TCH: Version 0.5, ActiveKey = Drivers\Active\25
      SDHC: Version 1.0, ActiveKey = Drivers\Active\26
      BCS: Version 1.3, ActiveKey = Drivers\Active\35
      NSPI: Version 3.0, ActiveKey = Drivers\Active\36
      DIO: Version 2.7, ActiveKey = Drivers\Active\37
      LCD: Version 1.2, ActiveKey = Drivers\Display\LCD
      LCD: Read registry settings from Drivers\Display\LCD
      LCD: ASTADPEDT1.dll - Init failed
      LCD: Could not intialize external PWM device AstADPEP1 (LE:2)
      LCD: Display-Mode 100, Name AUO G104SN03
      [DISP]++Disp_envid_onoff(0)
      [DISP]--Disp_envid_onoff() : 1
      Disp_UpdateLCDC: DCU0 inclk=452571426, calc_freq=0, dwDiv is 11
      Disp_UpdateLCDC: dcu_div is 11
      [DISP]++Disp_envid_onoff(1)
      [DISP]--Disp_envid_onoff() : 1
      CheckAutoStart: Version 1.6, LaunchNum = 100
      Warning: you are requesting IOCTL_HAL_GET_DEVICE_INFO::SPI_GETPLATFORMTYPE, which has been deprecated. Use IOCTL_HAL_GET_DEVICE_INFO::SPI_GETPLATFORMNAME instead.
      Warning: you are requesting IOCTL_HAL_GET_DEVICE_INFO::SPI_GETPLATFORMTYPE, which has been deprecated. Use IOCTL_HAL_GET_DEVICE_INFO::SPI_GETPLATFORMNAME instead.

  • Hello,


    I forgot to say, if I connect a mouse to the usb host, there LED will still blinking. It looks like, that the usb power switch on and switch off all the time.

  • Hello,
    you did not set HKLM\drivers\builtin\digitalio\debug=DWORD:255!
    Please do this, reboot and try to access the pin. Then send us all the resulting debug output.
    Thanks.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • OK, sorry. The next trial:



      Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Jul 1 2013 15:25:38
      Microsoft Windows CE Bootloader for PicoCOMA5 Built Jul 2 2013
      Portions copyright (c) 2012 F&S Elektronik Systeme GmbH
      Boot Loader, Version 0.2
      NBoot, Version VN04
      HW rev. 1.0


      System ready!
      Preparing for download...
      Press >S< to step into monitor...
      AUTO BOOT enabled
      Kernel (47454kB) read from flash disk started finished in 6888 milliseconds
      INFO: OEMLaunch: Jumping to Physical Address 0x80106740h (Virtual Address 0x0h)...



      Jumping to Kernel @ 0x80106740
      Windows CE Kernel for ARM (Thumb Enabled)
      INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
      OAL Log enable : 1
      OAL Log mask : 3
      0x82f675c0
      0x50
      +OALTimerInit(1 131 0)
      g_pGPC PA=0x4006c000 VA = 0xb006c000
      g_pGPC->LPMR=0x0
      g_pGPC->PGSR=0x0
      g_pCCM->CLPCR=0x78
      cmp=0x83


      PicoCOMA5 V0.08 - Firmware Init
      Copyright (c) 2013 F&S Elektronik Systeme GmbH
      Build: Sep 10 2013/12:05:01
      OAL: CPACR=0xf00000 NSACR=0xc00
      ========
      CPU Info
      ========
      CPU ID 0xc05
      CPU Revision 0x0 0x1
      Total CPUs 1
      SMP is supported 1
      THUMB is supported 4
      JAZELLE is supported 1
      VFP is supported 1
      UTLB is supported 1
      Maintenance broadcast 2
      Pvt timer freq in MHz 66000000
      =========
      Plat Info
      =========
      Board is RTSM 0
      L2 is extern 0
      Periph Base 0x40002000
      SCU Base 0x40002000
      ==========
      Cache Info
      ==========
      L1 I Sets 512
      L1 I Ways 2
      L1 I Line Sz 32
      L1 I Sz 32768
      L1 D Sets 256
      L1 D Ways 4
      L1 D Line Sz 32
      L1 D Sz 32768
      L2 Sets 0
      L2 Ways 0
      L2 Line Sz 0
      L2 Sz 0
      =========
      Overrides
      =========
      ====================
      OALIoCtlHalInitRTC(2006/1/1 12:0:0.000)
      WARNING: SNVS was reset.
      cBoardConfig.chFeatures1=0x2 0 chBoardType=0x1
      [OAL] MACB: Disabled
      [OAL] RestartReason: Reset
      FMD: g_pNFConReg=0xcc660000 --> FMD: NAND ID:0x2cf18095 --> MICRON: 1GBit (128MB)
      FMD: Block 0 to 16 are locked for boot loader
      PM-NETDCU: STARTED
      BE2: Version 1.3, ActiveKey = Drivers\Active\03
      before ConfigOTGHOST:: regs->OTG_CTRL= 2001000
      after ConfigOTGHOST:: regs->OTG_CTRL= 2021000
      after ConfigOTGHOST:: regs->OTG_CTRL= 80000000
      InitializeTransceiver: IRQ=108, sysIntr=17
      NI2C: Version 0.5, ActiveKey = Drivers\Active\13
      ENET: Version 01.00, ActiveKey = Comm\ETHNETA
      BE2: Version 1.3, ActiveKey = Drivers\Active\15
      NI2C: Version 0.5, ActiveKey = Drivers\Active\16
      UART: Version 1.4, Key = Drivers\Active\17
      UART: Port disabled. Serial debug is on !
      UART: Version 1.4, Key = Drivers\Active\18
      CID: Version 2.1, ActiveKey = Drivers\Active\19
      AIN: Version 1.1, ActiveKey = Drivers\Active\21
      PWM: Version 1.2, ActiveKey = Drivers\Active\22
      I2C: Version 4.2, ActiveKey = Drivers\Active\23
      WAV: Version 2.3, ActiveKey = Drivers\Active\24
      TCH: Version 0.5, ActiveKey = Drivers\Active\25
      SDHC: Version 1.0, ActiveKey = Drivers\Active\26
      BCS: Version 1.3, ActiveKey = Drivers\Active\35
      NSPI: Version 3.0, ActiveKey = Drivers\Active\36
      DIO: Version 2.7, ActiveKey = Drivers\Active\37
      DIO: UseAsIO[0] = 0x00000080
      DIO: DataDir[0] = 0x00000080
      DIO: DataInit[0] = 0x00000000
      DIO: IRQCFG0[0] = 0x00000000
      DIO: IRQCFG1[0] = 0x00000000
      DIO: IRQCFG2[0] = 0x00000000
      DIO: PullUp[0] = 0x00000000
      DIO: PullDown[0] = 0x00000000
      DIO: UseAsIO[1] = 0x00000000
      DIO: DataDir[1] = 0x00000000
      DIO: DataInit[1] = 0x00000000
      DIO: IRQCFG0[1] = 0x00000000
      DIO: IRQCFG1[1] = 0x00000000
      DIO: IRQCFG2[1] = 0x00000000
      DIO: PullUp[1] = 0x00000000
      DIO: PullDown[1] = 0x00000000
      DIO: UseAsIO[2] = 0x00000000
      DIO: DataDir[2] = 0x00000000
      DIO: DataInit[2] = 0x00000000
      DIO: IRQCFG0[2] = 0x00000000
      DIO: IRQCFG1[2] = 0x00000000
      DIO: IRQCFG2[2] = 0x00000000
      DIO: PullUp[2] = 0x00000000
      DIO: PullDown[2] = 0x00000000
      DIO: UseAsIO[3] = 0x00000000
      DIO: DataDir[3] = 0x00000000
      DIO: DataInit[3] = 0x00000000
      DIO: IRQCFG0[3] = 0x00000000
      DIO: IRQCFG1[3] = 0x00000000
      DIO: IRQCFG2[3] = 0x00000000
      DIO: PullUp[3] = 0x00000000
      DIO: PullDown[3] = 0x00000000
      DIO: ++InitPortMasks
      DIO: #7 : Output
      DIO: --InitPortMasks
      DIO: --DIO_Init
      DIO: +DIO_Open(0xcd3bb5d0)
      DIO: DIO_Open(0xcd3bb5d0) returning -1002300304
      DIO: +DIO_IOControl(): hOpenContext=0xC4421C70, dwIoControlCode=4, pBufIn=0xcc80f0d0, dwLenIn=8, pBufOut=0x0, dwLenOut=0, pdwActualOut=0xcc80ef04
      DIO: +DIO_Close()
      DIO: -DIO_Close done
      LCD: Version 1.2, ActiveKey = Drivers\Display\LCD
      LCD: Read registry settings from Drivers\Display\LCD
      LCD: ASTADPEDT1.dll - Init failed
      LCD: Could not intialize external PWM device AstADPEP1 (LE:2)
      LCD: Display-Mode 100, Name Kyocera TCG121SVLx
      [DISP]++Disp_envid_onoff(0)
      [DISP]--Disp_envid_onoff() : 1
      Disp_UpdateLCDC: DCU0 inclk=452571426, calc_freq=0, dwDiv is 11
      Disp_UpdateLCDC: dcu_div is 11
      [DISP]++Disp_envid_onoff(1)
      [DISP]--Disp_envid_onoff() : 1
      Warning: you are requesting IOCTL_HAL_GET_DEVICE_INFO::SPI_GETPLATFORMTYPE, which has been deprecated. Use IOCTL_HAL_GET_DEVICE_INFO::SPI_GETPLATFORMNAME instead.
      NDCUCFG V 55 started. Platform: PicoCOMA
      NDCUCFG Open COM1: at 38400 Baud
      CreateFile() failed -> ERROR COM1:
      CheckAutoStart: Version 1.6, LaunchNum = 100

  • Next information:
    We messaure the output pin of the driver IC for usb-power, but there is allways still at 5 Voltage. That should be correct.
    If we connect the mouse without an usb-stick, everything is OK. Here the debug output:



      UsbHost : New Function [address(1) / layer(0)]
      Attach moutouchHID
      USBHost : Detach Function [address(1) / layer (0)]
      Detach moutouchHID
      UsbHost : New Function [address(1) / layer(0)]
      Attach moutouchHID
      USBHost : Detach Function [address(1) / layer (0)]
      Detach moutouchHID


    But if we connect the usb-stick never hapens at the debug output and the stick is still blinking.

  • Sorry we cannot see this problem. But you are right the driver should be compatibe to the PicoCOM4 driver.
    Can you send us (one) of the sticks and the baseboard?
    Is the current significant lower when you use a SKIT?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello,
    now my colleague for hardware made some tests of our circuit. He cut the signal to the IC who regulate the power of the usb.
    And we remove the settings for DIO-IO-Pin7 (USB-PWR) to factory settings. But never change the result of flickering usb-stick and no mounting
    the device. OK, now we know the problem we have to search at our site.
    First we compare it with your SKIT circuit and my colleague found some different places. For a better understanding I send you the part of our circuit who describes the usb control.
    For this we have also a question:
    In our circuit you can see the red and green encircled parts. If we remove the resistors, the usb works fine. But have we also remove the coils?


    [IMG:http://www.leibinger-group.com/public/images/Schaltplanauszug3.JPG]