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.

Problem when flashing XLDRNAND.nb0 to DM3730 nand flash

Hello everyone,

        I added  the following statements to MemorySetup() function in C:\WINCE600\PLATFORM\SUN35x\SRC\BOOT\XLDR\platform.c

    OUTREG32(&pGpmc->GPMC_CONFIG1_3, BSP_GPMC_CONFIG1);

    OUTREG32(&pGpmc->GPMC_CONFIG2_3, BSP_GPMC_CONFIG2);
    OUTREG32(&pGpmc->GPMC_CONFIG3_3, BSP_GPMC_CONFIG3);
    OUTREG32(&pGpmc->GPMC_CONFIG4_3, BSP_GPMC_CONFIG4); 
    OUTREG32(&pGpmc->GPMC_CONFIG5_3, BSP_GPMC_CONFIG5); 
    OUTREG32(&pGpmc->GPMC_CONFIG6_3, BSP_GPMC_CONFIG6); 
    OUTREG32(&pGpmc->GPMC_CONFIG7_3, BSP_GPMC_CONFIG7); 
   Macro definition:
    

#define            BSP_GPMC_CONFIG1        0x29801201;

#define            BSP_GPMC_CONFIG2        0x00111102;

#define            BSP_GPMC_CONFIG3        0x00070703;

#define            BSP_GPMC_CONFIG4        0x10091009;

#define            BSP_GPMC_CONFIG5        0x010E1111;

#define            BSP_GPMC_CONFIG6        0x0A080000;

#define            BSP_GPMC_CONFIG7        0x00000858;


Then I flashed the newly built XLDRNAND.nb0 to the nand flash through the serial port, but it failed. The screen sayed

"ERROR: OEMWriteFlash: XLDR image must have only one module and no file

BLWriteFlashXLDR fail.."

Then I found out that if the number of config-registers was reduced to no more than 4, the flashing would be successful, otherwise, the same error occurred.

Has anyone ever had the similar problem? Thank you!

Woo