This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM1808 EVM WinCE BSP - SDHC and NAND exclusivity?

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

In the “Windows Embedded CE 6.0 BSP for the OMAP-L138/AM18x Quick Start Guide” under chapter “8.3 BSP Component Conflicts” it is stated:

     · Cannot include both the SDHC driver and the NAND flash driver.

 After checking the schematics, I believe that it should state:

     · Cannot include both the SDHC driver and the NOR flash driver.

 There is no pinmux conflict between the SDHC and NAND circuits, so It should be possible for the SDHC and NAND flash drivers to coexist.

 Is this correct?

 Assuming that it is correct, fixing it would at minimum require a change to the bsp_cfg.h file.  BSP_NAND would be changed to BSP_NOR.  Also all of the #define NAND_SYSCONF_PINMUXn_VAL  statements would have to change (NORs too) in this file and other files(s).

 Are there any other changes required to accomplish the fix?

 

Thanks,

Nelson

  • Hi Nelson,

        Yes this is indeed an oversight and thank you for pointing it out. We will fix  it in future release. In the meantime, you can try the following changes to make this work for you:

    thanks

    Atul

    ==============

    Update OMAPL138_AM18X\SRC\INC\bsp_cfg.h.
    Comment out the SDHC + NAND check:

    // #if BSP_SDHC == 1 && BSP_NAND == 1
    // #error "ERROR - pinmux conflict: Cannot include both SDHC driver and NAND flash driver"
    // #endif

    Set the NAND pinmux10 and pinmux11 values to 0:

    #define NAND_SYSCONF_PINMUX10_VAL   0x00000000
    #define NAND_SYSCONF_PINMUX11_VAL   0x00000000


    Update C:\WINCE600\PLATFORM\OMAPL138_AM18X\CATALOG\OMAPL138_AM18X.pbcxml.
    Remove lines 275 and 313:

        <ChooseOneGroup>true</ChooseOneGroup>

    This enables both NAND and SDHC to be selected in the catalog together

  • Atul,

    Thanks.  Works great.

    Nelson