locked
How to configure WEC2013 to access SD Card RRS feed

  • Question

  • I have a WEC2013 image that boots from a SDCARD. I want use the file system to store the registry hive too. 

    For that purpose I added following catalog items:

    • SYSGEN_SD_MEMORY

    This causes that following catalog items are activated by dependency:

    • SYSGEN_FATFS
    • SYSGEN_FATUTIL_NOUI
    • SYSGEN_SDBUS

    This causes that the sdbus.dll is loaded. The function SDC_Init is called and returned success. But there is no folder "Storage Card" that I expect since it is defined as.

    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
        "Name"="SD Memory Card"
        "Folder"="Storage Card"

    What must I add to make the SD card accessible in the running OS?



    • Edited by Harper23 Thursday, February 26, 2015 2:27 PM
    Thursday, February 26, 2015 2:26 PM

Answers

  • i have something like

    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
        "Name"="SD Memory Card"
        "Folder"="Storage Card"
        "AutoPart"=dword:0
        "AutoFormat"=dword:0
        "AutoMount"=dword:1
        "DefaultFileSystem"="FATFS"
        "PartitionDriver"="mspart.dll"

    Also check https://msdn.microsoft.com/en-us/library/ee486867.aspx 

    Does the card get detected? Check if the IOMux pin settings are correct.

    any useful debug output?


    Good Luck,

    Erwin Zwart, eMVP
    Check out my blog: http://guruce.com/blog
    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.

    • Marked as answer by Harper23 Sunday, February 7, 2016 11:11 AM
    Thursday, February 26, 2015 9:29 PM