PicCOM4 Trouble with USB-Stick and SD-Card

  • Guten Tag


    wenn das PicCOM4 mit angesteckten USB-Stick startet, dann fehlt die SD-Card. Ist das gewollt oder kann man das in der Registry ein respektive abstellen?
    Und obwohl das nicht ganz hierher gehört, kann man (in Zukunft) USB-Sticks mit eine größeren Kapazität als 4 GByte nutzen?


    cu Ralf


    Da meine Englischkenntnisse nicht mal mangelhaft sind, sind die nächsten Zeilen nur eine Höflichkeit


    If starting PicCOM4 with pluged in USB-Stick, then the SD-Card is fail.

  • Dieses Verhalten ist nicht beabsichtigt. Es sollte keinen Zusammenhang zwischen dem SD-Slot und der USB-Host Schnisttstelle besteht nicht.


    Ich nehme an das bedeutet dass der Wert "CardAvailable" in de Registry-Einstellungen permanent auf 1 gesetzt ist?


    Es sollte auch jetzt bereits möglich sein USB-Sticks mit einer Kapazität >4GB zu verwenden.

    Software developer, 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.

  • Hallo


    ja den Eintrag habe ich permanent auf 1 gesetzt. Ich habe ein Kernelupdate gemacht und zwar ist das Verhalten jetzt ein wenig anders, also von den getesteten 6 Sticks werden 3 erkannt und die SD-Card ist dann auch noch vorhanden, bei den anderen 3 ist danach nur noch der Stick da. Also um das mal korrekt zu sagen, alle 6 Sticks werden erkannt, bei dreien ist danach aber die SD-Card nicht mehr da. Das Verhalten tritt auch nur auf, wenn der Stick beim Booten dransteckt. Wenn man den Stick im laufenden Betrieb ansteckt bleibt die SD-Card immer vorhanden. Von den 2 weiteren vorliegenden USB-Sticks mit 8 GByte wird keiner erkannt. Muß man dafür noch was in der Registry ändern?

  • I have currently tested a 16GB USB stick and it is working properly. So there is no actual filesystem restriction.
    We have noticed some bugs in the USB disk driver shipped with WindowsCE. Thus there already is available a custom USB disk driver from F&S. We will add this driver in the next kernel release of PicoCOM4.

    Software developer, 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.

  • Seems there is a bug in the latest kernel . I have set the "CardAvailable" key in [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\HSMMC] to 1,but there is no sign of SD card anywhere. Do you have any suggestion to solve this problem?

  • Does your card require SD Spec V2.0 support?
    Please check debug output for following message:

    Code
    1. HSMMC: Card inserted!
    2. [SDBUS] SD Card Spec Version : 2.00


    It might be possible that SDHC support is missing in the current kernel. We will verify this.

    Software developer, 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.

  • Which kernel image (variant) have you installed currently?
    We have detected that SDMemory driver is missing in CF2 and CF2_RTC kernel images. We will fix this in the next kernel release.

    Software developer, 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.

  • Quote

    We have detected that SDMemory driver is missing in CF2 and CF2_RTC kernel images. We will fix this in the next kernel release.


    When will this kernel be released? The date is rather important for me.
    I have to decide whether to purchase five PicoCOM4 or five PicoCOM2 modules for a series of sample instruments.
    If the kernel with SDMemory driver will be released within, say, 2-3 weeks I may set up a series of sample instruments based on PicoCOM4. if it will take longer I have to resort to PicoCOM2 modules though these are so limited in speed and memory size and will not be on the final parts list.

  • The kernel has already been released last week.
    Please refer to PicoCOM4 bootloader and kernel releases. To get informed automatically when a new kernel is released you might click on "subscripe topic" button there.

    Software developer, 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.

  • With the current kernel my SD card is still not detected.(PicoCOM4 on PicoCOM2 evaluation mainboard - should work if pin-compatible?)
    This is the debug output while booting


    How can I enable the SD card?

  • PicoCOM4 also does not feature card detection by hardware. You need to set a registry value manully.
    Registry settings for PicoCOM4 are available at

    Code
    1. [HKEY_LOCAL_MACHINE\Drivers\Builtin\HSMMC]
    2. "CardAvailable"=dword:1

    Software developer, 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.

  • Does following message occur?

    Code
    1. HSMMC: Card inserted!
    2. [SDBUS] SD Card Spec Version : 2.00


    This message *must* occur as soon as the CardAvailable key has been set, indepent if the card to be detected correctly by the SD card driver. Please check you output for this message. If this message isn't available there must be another problem.

    Software developer, 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.

  • Quote

    Does following message occur?

    This is part of my serial debug output

    Code
    1. HSMMC: Version 1.0, ActiveKey = Drivers\Active\22
    2. HSMMC: Card inserted!

    There is no line like

    Code
    1. [SDBUS] SD Card Spec Version : 2.00


    Addition:
    After switching to the kernel NKPC4_CORE_CF35_110722.bin the SD card is recognised and works properly.