none
Booting IMX51 from SD/MMC(klm8g2fe3b-b001) RRS feed

  • Question

  • Hi All,

    I am using IMX51 and  boot it from SD/MMC(klm8g2fe3b-b001) successfully,but someday i make a wrong eboot menu lead to uable to restart and no output in serial console,but  I can burn  burn right image file by Advanced tookit successfully.why?

    Wrong eboot menu configuration that i make,below.

    -----------------------------------------------------------------------------
    Freescale iMX SOC Menu Item   
    -----------------------------------------------------------------------------
    [0] IP Address : 0.0.0.0
    [1] Set IP Mask : 0.0.0.0
    [2] Boot Delay : 3
    [3] DHCP : Disabled
    [4] Reset to Factory Default Configuration 
    [5] Select Boot Device : NK from SD/MMC
    [6] Set MAC Address : FF-FF-FF-FF-FF-FF
    [7] Format OS NAND Region 
    [8] Format All NAND Regions 
    [9] Bootloader Shell 
    [I] KITL Work Mode : Interrupt
    [K] KITL Enable Mode : Disable
    [P] KITL Passive Mode : Disable
    [S] Save Settings 
    [D] Download Image Now 
    [L] Launch Existing Flash Resident Image Now 
    [E] Select Ether Device : FEC
    [M] MMC and SD Utilities

    Selection: M

    -----------------------------------------------------------------------------
    Freescale iMX SOC Menu Item   
    -----------------------------------------------------------------------------
    [A] eMMC 4.3 Boot Partition : Disabled / Not Available
    [B] eMMC 4.3 Boot Partition Size : 2048 Kbytes
    [S] eSD 2.1 Boot Partition : Disabled / Not Available
    [D] eSD 2.1 Boot Partition Size : 0 Kbytes                                     (error chose)
    [C] Create File System Partition on SD/MMC Boot Card                      (right chose)
    [F] Format All SD/MMC Regions 
    [R] Return to Main Menu

     

    Right chance is C,but I chose the wrong chance A or Bor Sor D,I can't remeber it.when i chosed it ,the board can't start normally,and a serial port can't print anything,but I can burn burn right image file by Advanced tookit successfully in download mode.why?

    Thanks

    Arcatus

    Tuesday, September 23, 2014 2:51 AM

All replies

  • Hi All,

    I have  used mfgtool.exe,the path:D:\Mfgtools-Rel-1.6.2.048\MfgTool.exe,I Chose serial port download mode,some configration imformation below.

    file:plaer.ini

    [PROFILE]
    PLAYER=MX51 WinCE Update
    VERSION=2

    [OPERATIONS]
    UTP_UPDATE=OS Firmware,120,1
    MX_UPDATE=51 RKL MMC WinCE Update,120,1

    [OS Firmware]
    UCL_INSTALL_SECTION=SD/MMC

    [51 RKL MMC WinCE Update]
    UCL_INSTALL_SECTION=SD/MMC

     

    some information output in serial console below:

    mfgtool.log:

    Monday, September 22, 2014 11:54:59

    1 - Panel A Start processing SD/MMC <LIST/>.

    Panel A Start <CMD/> type="find" body="BootStrap" file="" timeout="60" onError="" text="".

    1 - Panel A Finished <CMD/> type="find" body="BootStrap" file="" timeout="60" onError="" text="" SUCCESS code=0x0.

    Panel A Start <CMD/> type="init" body="Memory" file="MX51_DDR.xml" timeout="10" onError="" text="".

    1 - Panel A Finished <CMD/> type="init" body="Memory" file="MX51_DDR.xml" timeout="10" onError="" text="" SUCCESS code=0x0.

    Panel A Start <CMD/> type="load" body="" file="uce.nb0" timeout="10" onError="" text="Doing preLoad."".

    1 - Panel A Finished <CMD/> type="load" body="" file="uce.nb0" timeout="10" onError="" text="Doing preLoad."" SUCCESS code=0x0.

    Panel A Start <CMD/> type="load" body="" file="eboot_uut.nb0" timeout="10" onError="" text="Loading OS image.".

    1 - Panel A Finished <CMD/> type="load" body="" file="eboot_uut.nb0" timeout="10" onError="" text="Loading OS image." SUCCESS code=0x0.

    Panel A Start <CMD/> type="jump" body="" file="" timeout="10" onError="" text=" Jumping to OS image. ".

    1 - Panel A Finished <CMD/> type="jump" body="" file="" timeout="10" onError="" text=" Jumping to OS image. " SUCCESS code=0x0.

    Panel A Start <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="".

    Panel A UtpUpdate Event: DeviceRemoval Msg: (null) DevState: Disconnected OpState: WAITING_FOR_DEVICE

    Panel A UtpUpdate Event: VolumeArrival Msg: (null) DevState: Updater OpState: WAITING_FOR_DEVICE

    1 - Panel A Finished <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="" SUCCESS code=0x0.

    Panel A Start <CMD/> type="push" body="MediaType:SDMMC" file="" timeout="10" onError="" text="Send media type.".

    1 - Panel A Finished <CMD/> type="push" body="MediaType:SDMMC" file="" timeout="10" onError="" text="Send media type." SUCCESS code=0x0.

    Panel A Start <CMD/> type="push" body="QueryStoreStatus:DSK1:,Timeout:10" file="" timeout="10" onError="" text="Query store status.".

    1 - Panel A Finished <CMD/> type="push" body="QueryStoreStatus:DSK1:,Timeout:10" file="" timeout="10" onError="" text="Query store status." FAIL code=0xbad20001.

    Panel A: Reason is unknown,failed to run command: type="push" body="QueryStoreStatus:DSK1:,Timeout:10" file="" timeout="10" onError="" text="Query store status."  

    2 - Panel A Finished processing SD/MMC <LIST/> : FAIL code=-1160642559.

    play.ini:

    [PROFILE]

    PLAYER=MX51 WinCE Update

    VERSION=2

    [OPERATIONS]

    MX_UPDATE=51 RKL MMC WinCE Update,120,0

    UTP_UPDATE=OS Firmware,120,1

    [OS Firmware]

    UCL_INSTALL_SECTION=SD/MMC

    [51 RKL MMC WinCE Update]

    UCL_INSTALL_SECTION=SD/MMC

    配置后串口打印的信息如下:

    com2:115200 8 N 1

    We have used a special workspace (OSDesign) which had only necessary drivers/peripherals enabled, and also one environment variable: BSP_UUT is enabled, and we compiled the same BSP folders which we used to generate normal eboot and NK. The generated images are renamed to get eboot_uut.nb0 (which is actually eboot.nb0) and uce.nb0 (which is actually NK.nb0).

    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

    BSP Clock Configuration:

        CKIH        =   22579200 Hz

        PLL1        =  800000000 Hz

        PLL2        =  665000000 Hz

        PLL3        =  216000000 Hz

        LP_APM      =   24000000 Hz

        ARM         =  800000000 Hz

        AXI_A       =  166250000 Hz

        AXI_B       =  133000000 Hz

        EMI_SLOW    =  133000000 Hz

        AHB         =  133000000 Hz

        IPG         =   66500000 Hz

        PERCLK      =    8000000 Hz

        CKIL_SYNC   =      32768 Hz

        DDR         =  200000000 Hz

        ARM_AXI     =  166250000 Hz

        IPU_HSP     =  133000000 Hz

        VPU_AXI     =  166250000 Hz

        GPU         =  166250000 Hz

        GPU2D       =  166250000 Hz

        DEBUG_APB   =  166250000 Hz

        ENFC        =   26600000 Hz

        USBOH3      =   66500000 Hz

        ESDHC1      =   47500000 Hz

        ESDHC2      =   47500000 Hz

        ESDHC3      =   47500000 Hz

        ESDHC4      =   47500000 Hz

        UART        =   24000000 Hz

        SSI1        =    5644800 Hz

        SSI2        =    5644800 Hz

        SSI3        =    5644800 Hz

        SSI_EXT1    =   10285714 Hz

        SSI_EXT2    =   10285714 Hz

        USB_PHY     =   24000000 Hz

        TVE_216_54  =  216000000 Hz

        DI          =   27000000 Hz

        VPU_RCLK    =   24000000 Hz

        SPDIF0      =    1142857 Hz

        SPDIF1      =    1142857 Hz

        SLIMBUS     =   66500000 Hz

        SIM         =   66500000 Hz

        FIRI        =   24000000 Hz

        HSI2C       =   66500000 Hz

        SSI_LP_APM  =   22579200 Hz

        SPDIF_XTAL  =   24000000 Hz

        HSC1        =  216000000 Hz

        HSC2        =  216000000 Hz

        ESC         =   15428571 Hz

        CSI_MCLK1   =   24629629 Hz

        CSI_MCLK2   =   24629629 Hz

        ECSPI       =   66500000 Hz

        LPSR        =          0 Hz

        PGC         =   66500000 Hz

        OSC         =   24000000 Hz

        CKIH_CAMP1  =   22579200 Hz

        CKIH2_CAMP2 =          0 Hz

        CKIH2       =          0 Hz

        FPM         =   33554432 Hz

    Microsoft Windows CE Bootloader Common Library Version 1.4 Built Sep 22 2014 10:17:14

    INFO: BoardID = 0x0.

    Microsoft Windows CE Ethernet Bootloader 1.0 for MX51 EVK (Sep 22 2014 10:23:01)

    INFO: SBMR = 0xE060C003.

    g_pBSPArgs->g_SDHCBootPort=1;//boot from eSDHC1!

    INFO:  Bootloader launched from SD.

    System ready!

    Preparing for download...

    BL_JUMP  

    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

    BSP Clock Configuration:

        CKIH        =   22579200 Hz

        PLL1        =  800000000 Hz

        PLL2        =  665000000 Hz

        PLL3        =  216000000 Hz

        LP_APM      =   24000000 Hz

        ARM         =  800000000 Hz

        AXI_A       =  166250000 Hz

        AXI_B       =  133000000 Hz

        EMI_SLOW    =  133000000 Hz

        AHB         =  133000000 Hz

        IPG         =   66500000 Hz

        PERCLK      =    8000000 Hz

        CKIL_SYNC   =      32768 Hz

        DDR         =  200000000 Hz

        ARM_AXI     =  166250000 Hz

        IPU_HSP     =  133000000 Hz

        VPU_AXI     =  166250000 Hz

        GPU         =  166250000 Hz

        GPU2D       =  166250000 Hz

        DEBUG_APB   =  166250000 Hz

        ENFC        =   26600000 Hz

        USBOH3      =   66500000 Hz

        ESDHC1      =   47500000 Hz

        ESDHC2      =   47500000 Hz

        ESDHC3      =   47500000 Hz

        ESDHC4      =   47500000 Hz

        UART        =   24000000 Hz

        SSI1        =    5644800 Hz

        SSI2        =    5644800 Hz

        SSI3        =    5644800 Hz

        SSI_EXT1    =   10285714 Hz

        SSI_EXT2    =   10285714 Hz

        USB_PHY     =   24000000 Hz

        TVE_216_54  =  216000000 Hz

        DI          =   27000000 Hz

        VPU_RCLK    =   24000000 Hz

        SPDIF0      =    1142857 Hz

        SPDIF1      =    1142857 Hz

        SLIMBUS     =   66500000 Hz

        SIM         =   66500000 Hz

        FIRI        =   24000000 Hz

        HSI2C       =   66500000 Hz

        SSI_LP_APM  =   22579200 Hz

        SPDIF_XTAL  =   24000000 Hz

        HSC1        =  216000000 Hz

        HSC2        =  216000000 Hz

        ESC         =   15428571 Hz

        CSI_MCLK1   =   24629629 Hz

        CSI_MCLK2   =   24629629 Hz

        ECSPI       =   66500000 Hz

        LPSR        =          0 Hz

        PGC         =   66500000 Hz

        OSC         =   24000000 Hz

        CKIH_CAMP1  =   22579200 Hz

        CKIH2_CAMP2 =          0 Hz

        CKIH2       =          0 Hz

        FPM         =   33554432 Hz

    Windows CE Kernel for ARM (Thumb Enabled) Built on May  7 2012 at 12:47:43

    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

    OEMInit:  silicon r呝?偮蓚j???V)?偮羠jOALIoCtlHalInitRTC(2006/1/1 12:0:0.000)

    WARNING: SRTC was reset.

    BSPPmicInit start .

    BSPPmicInit end .

    +OALIoCtlQueryBoardId ()g_dwBoardID =  0 

    +OALIoCtlQueryBoardId ()g_dwBoardID =  0 

    BOT_InternalInit with Drivers\Active\13

    Exception 'Data Abort' (4): Thread-Id=01ef0002(pth=9272a63c), Proc-Id=00400002(pprc=80749308) 'NK.EXE', VM-active=01aa0002(pprc=965f596c) 'udevice.exe'

    PC=c01d409c(gwes.dll+0x0005409c) RA=c01d4084(gwes.dll+0x00054084) SP=d07cfdd8, BVA=00000104

    UFN_ATTACH with key = Drivers\Active\13

    UFN_CONFIGURED: BOT_OpenInterface again

    UTP command:Media type: SDMMC.

    UTP command:QueryStoreStatus.

    UTP command:Check if disk is ready.

    Please be patient to wait...

    Send storage disk name: DSK1:.

    Send time out: 10.

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    ERROR:UceCommandDeal fail.

    We have done all of above but it doesn't work ,Can you help me?

    Thank you very much!

    Arcatus

    Best Regards!


    Tuesday, September 23, 2014 3:03 AM
  • Hi All,

    I have  used mfgtool.exe,the path:D:\Mfgtools-Rel-1.6.2.048\MfgTool.exe,I Chose serial port download mode,some configration imformation below.

    file:plaer.ini

    [PROFILE]
    PLAYER=MX51 WinCE Update
    VERSION=2

    [OPERATIONS]
    UTP_UPDATE=OS Firmware,120,1
    MX_UPDATE=51 RKL MMC WinCE Update,120,1

    [OS Firmware]
    UCL_INSTALL_SECTION=SD/MMC

    [51 RKL MMC WinCE Update]
    UCL_INSTALL_SECTION=SD/MMC

     

    some information output in serial console below:

    mfgtool.log:

    Monday, September 22, 2014 11:54:59

    1 - Panel A Start processing SD/MMC <LIST/>.

    Panel A Start <CMD/> type="find" body="BootStrap" file="" timeout="60" onError="" text="".

    1 - Panel A Finished <CMD/> type="find" body="BootStrap" file="" timeout="60" onError="" text="" SUCCESS code=0x0.

    Panel A Start <CMD/> type="init" body="Memory" file="MX51_DDR.xml" timeout="10" onError="" text="".

    1 - Panel A Finished <CMD/> type="init" body="Memory" file="MX51_DDR.xml" timeout="10" onError="" text="" SUCCESS code=0x0.

    Panel A Start <CMD/> type="load" body="" file="uce.nb0" timeout="10" onError="" text="Doing preLoad."".

    1 - Panel A Finished <CMD/> type="load" body="" file="uce.nb0" timeout="10" onError="" text="Doing preLoad."" SUCCESS code=0x0.

    Panel A Start <CMD/> type="load" body="" file="eboot_uut.nb0" timeout="10" onError="" text="Loading OS image.".

    1 - Panel A Finished <CMD/> type="load" body="" file="eboot_uut.nb0" timeout="10" onError="" text="Loading OS image." SUCCESS code=0x0.

    Panel A Start <CMD/> type="jump" body="" file="" timeout="10" onError="" text=" Jumping to OS image. ".

    1 - Panel A Finished <CMD/> type="jump" body="" file="" timeout="10" onError="" text=" Jumping to OS image. " SUCCESS code=0x0.

    Panel A Start <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="".

    Panel A UtpUpdate Event: DeviceRemoval Msg: (null) DevState: Disconnected OpState: WAITING_FOR_DEVICE

    Panel A UtpUpdate Event: VolumeArrival Msg: (null) DevState: Updater OpState: WAITING_FOR_DEVICE

    1 - Panel A Finished <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="" SUCCESS code=0x0.

    Panel A Start <CMD/> type="push" body="MediaType:SDMMC" file="" timeout="10" onError="" text="Send media type.".

    1 - Panel A Finished <CMD/> type="push" body="MediaType:SDMMC" file="" timeout="10" onError="" text="Send media type." SUCCESS code=0x0.

    Panel A Start <CMD/> type="push" body="QueryStoreStatus:DSK1:,Timeout:10" file="" timeout="10" onError="" text="Query store status.".

    1 - Panel A Finished <CMD/> type="push" body="QueryStoreStatus:DSK1:,Timeout:10" file="" timeout="10" onError="" text="Query store status." FAIL code=0xbad20001.

    Panel A: Reason is unknown,failed to run command: type="push" body="QueryStoreStatus:DSK1:,Timeout:10" file="" timeout="10" onError="" text="Query store status."  

    2 - Panel A Finished processing SD/MMC <LIST/> : FAIL code=-1160642559.

    play.ini:

    [PROFILE]

    PLAYER=MX51 WinCE Update

    VERSION=2

    [OPERATIONS]

    MX_UPDATE=51 RKL MMC WinCE Update,120,0

    UTP_UPDATE=OS Firmware,120,1

    [OS Firmware]

    UCL_INSTALL_SECTION=SD/MMC

    [51 RKL MMC WinCE Update]

    UCL_INSTALL_SECTION=SD/MMC

    配置后串口打印的信息如下:

    com2:115200 8 N 1

    We have used a special workspace (OSDesign) which had only necessary drivers/peripherals enabled, and also one environment variable: BSP_UUT is enabled, and we compiled the same BSP folders which we used to generate normal eboot and NK. The generated images are renamed to get eboot_uut.nb0 (which is actually eboot.nb0) and uce.nb0 (which is actually NK.nb0).

    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

    BSP Clock Configuration:

        CKIH        =   22579200 Hz

        PLL1        =  800000000 Hz

        PLL2        =  665000000 Hz

        PLL3        =  216000000 Hz

        LP_APM      =   24000000 Hz

        ARM         =  800000000 Hz

        AXI_A       =  166250000 Hz

        AXI_B       =  133000000 Hz

        EMI_SLOW    =  133000000 Hz

        AHB         =  133000000 Hz

        IPG         =   66500000 Hz

        PERCLK      =    8000000 Hz

        CKIL_SYNC   =      32768 Hz

        DDR         =  200000000 Hz

        ARM_AXI     =  166250000 Hz

        IPU_HSP     =  133000000 Hz

        VPU_AXI     =  166250000 Hz

        GPU         =  166250000 Hz

        GPU2D       =  166250000 Hz

        DEBUG_APB   =  166250000 Hz

        ENFC        =   26600000 Hz

        USBOH3      =   66500000 Hz

        ESDHC1      =   47500000 Hz

        ESDHC2      =   47500000 Hz

        ESDHC3      =   47500000 Hz

        ESDHC4      =   47500000 Hz

        UART        =   24000000 Hz

        SSI1        =    5644800 Hz

        SSI2        =    5644800 Hz

        SSI3        =    5644800 Hz

        SSI_EXT1    =   10285714 Hz

        SSI_EXT2    =   10285714 Hz

        USB_PHY     =   24000000 Hz

        TVE_216_54  =  216000000 Hz

        DI          =   27000000 Hz

        VPU_RCLK    =   24000000 Hz

        SPDIF0      =    1142857 Hz

        SPDIF1      =    1142857 Hz

        SLIMBUS     =   66500000 Hz

        SIM         =   66500000 Hz

        FIRI        =   24000000 Hz

        HSI2C       =   66500000 Hz

        SSI_LP_APM  =   22579200 Hz

        SPDIF_XTAL  =   24000000 Hz

        HSC1        =  216000000 Hz

        HSC2        =  216000000 Hz

        ESC         =   15428571 Hz

        CSI_MCLK1   =   24629629 Hz

        CSI_MCLK2   =   24629629 Hz

        ECSPI       =   66500000 Hz

        LPSR        =          0 Hz

        PGC         =   66500000 Hz

        OSC         =   24000000 Hz

        CKIH_CAMP1  =   22579200 Hz

        CKIH2_CAMP2 =          0 Hz

        CKIH2       =          0 Hz

        FPM         =   33554432 Hz

    Microsoft Windows CE Bootloader Common Library Version 1.4 Built Sep 22 2014 10:17:14

    INFO: BoardID = 0x0.

    Microsoft Windows CE Ethernet Bootloader 1.0 for MX51 EVK (Sep 22 2014 10:23:01)

    INFO: SBMR = 0xE060C003.

    g_pBSPArgs->g_SDHCBootPort=1;//boot from eSDHC1!

    INFO:  Bootloader launched from SD.

    System ready!

    Preparing for download...

    BL_JUMP  

    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

    BSP Clock Configuration:

        CKIH        =   22579200 Hz

        PLL1        =  800000000 Hz

        PLL2        =  665000000 Hz

        PLL3        =  216000000 Hz

        LP_APM      =   24000000 Hz

        ARM         =  800000000 Hz

        AXI_A       =  166250000 Hz

        AXI_B       =  133000000 Hz

        EMI_SLOW    =  133000000 Hz

        AHB         =  133000000 Hz

        IPG         =   66500000 Hz

        PERCLK      =    8000000 Hz

        CKIL_SYNC   =      32768 Hz

        DDR         =  200000000 Hz

        ARM_AXI     =  166250000 Hz

        IPU_HSP     =  133000000 Hz

        VPU_AXI     =  166250000 Hz

        GPU         =  166250000 Hz

        GPU2D       =  166250000 Hz

        DEBUG_APB   =  166250000 Hz

        ENFC        =   26600000 Hz

        USBOH3      =   66500000 Hz

        ESDHC1      =   47500000 Hz

        ESDHC2      =   47500000 Hz

        ESDHC3      =   47500000 Hz

        ESDHC4      =   47500000 Hz

        UART        =   24000000 Hz

        SSI1        =    5644800 Hz

        SSI2        =    5644800 Hz

        SSI3        =    5644800 Hz

        SSI_EXT1    =   10285714 Hz

        SSI_EXT2    =   10285714 Hz

        USB_PHY     =   24000000 Hz

        TVE_216_54  =  216000000 Hz

        DI          =   27000000 Hz

        VPU_RCLK    =   24000000 Hz

        SPDIF0      =    1142857 Hz

        SPDIF1      =    1142857 Hz

        SLIMBUS     =   66500000 Hz

        SIM         =   66500000 Hz

        FIRI        =   24000000 Hz

        HSI2C       =   66500000 Hz

        SSI_LP_APM  =   22579200 Hz

        SPDIF_XTAL  =   24000000 Hz

        HSC1        =  216000000 Hz

        HSC2        =  216000000 Hz

        ESC         =   15428571 Hz

        CSI_MCLK1   =   24629629 Hz

        CSI_MCLK2   =   24629629 Hz

        ECSPI       =   66500000 Hz

        LPSR        =          0 Hz

        PGC         =   66500000 Hz

        OSC         =   24000000 Hz

        CKIH_CAMP1  =   22579200 Hz

        CKIH2_CAMP2 =          0 Hz

        CKIH2       =          0 Hz

        FPM         =   33554432 Hz

    Windows CE Kernel for ARM (Thumb Enabled) Built on May  7 2012 at 12:47:43

    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

    OEMInit:  silicon r呝?偮蓚j???V)?偮羠jOALIoCtlHalInitRTC(2006/1/1 12:0:0.000)

    WARNING: SRTC was reset.

    BSPPmicInit start .

    BSPPmicInit end .

    +OALIoCtlQueryBoardId ()g_dwBoardID =  0 

    +OALIoCtlQueryBoardId ()g_dwBoardID =  0 

    BOT_InternalInit with Drivers\Active\13

    Exception 'Data Abort' (4): Thread-Id=01ef0002(pth=9272a63c), Proc-Id=00400002(pprc=80749308) 'NK.EXE', VM-active=01aa0002(pprc=965f596c) 'udevice.exe'

    PC=c01d409c(gwes.dll+0x0005409c) RA=c01d4084(gwes.dll+0x00054084) SP=d07cfdd8, BVA=00000104

    UFN_ATTACH with key = Drivers\Active\13

    UFN_CONFIGURED: BOT_OpenInterface again

    UTP command:Media type: SDMMC.

    UTP command:QueryStoreStatus.

    UTP command:Check if disk is ready.

    Please be patient to wait...

    Send storage disk name: DSK1:.

    Send time out: 10.

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    Opening disk DSK1: failed.Error code is 4319

    ERROR:UceCommandDeal fail.

    We have done all of above but it doesn't work ,Can you help me?

    Thank you very much!

    Arcatus

    Best Regards!


    Hi All,

     The below is my ucl.xml file  

    <?xml version="1.0"?>

    <!-- * Copyright (C) 2010, Freescale Semiconductor, Inc. All Rights Reserved. * The CFG element contains a list of recognized usb devices. * DEV elements provide a name, class, vid and pid for each device. * * Each LIST element contains a list of update instructions. * "Install" - Erase media and install firmware. * "Update" - Update firmware only. * * Each CMD element contains one update instruction of attribute type. * "pull" - Does UtpRead(body, file) transaction. * "push" - Does UtpWrite(body, file) transaction. * "drop" - Does UtpCommand(body) then waits for device to disconnect. * "boot" - Finds configured device, forces it to "body" device and downloads "file". * "find" - Waits for "timeout" seconds for the "body" device to connect. * "show" - Parse and show device info in "file". -->
    -<UCL> -<CFG> <STATE dev="MX51" name="BootStrap"/> <DEV name="MX51" pid="0041" vid="15A2"/> <STATE dev="Updater" name="Updater"/> <DEV name="Updater" pid="37FF" vid="066F"/> </CFG> -<LIST name="NAND" desc="Choose NAND as media"> <CMD timeout="60" body="BootStrap" type="find"/> <CMD body="Memory" type="init" file="MX51_DDR.xml"/> <CMD type="load" file="uce.nb0" HasFlashHeader="FALSE" setSection="OTH" loadSection="OTH" address="0x90200000">Doing preLoad."</CMD> <CMD type="load" file="eboot_uut.nb0" HasFlashHeader="FALSE" setSection="APP" loadSection="OTH" address="0x90040000">Loading OS image.</CMD> <CMD type="jump"> Jumping to OS image. </CMD> <CMD timeout="180" body="Updater" type="find"/> <CMD body="MediaType:NAND" type="push">Send media type.</CMD> <CMD body="QueryStoreStatus:DSK1:,Timeout:10" type="push">Query store status.</CMD> <CMD body="wfw" type="push">Notity device to prepare receiving a firmware.</CMD> <CMD body="fwtype:XL_NB" type="push">Specify firmware type.</CMD> <CMD body="send" type="push" file="files/xldr.nb0">Sending a firmware file.</CMD> <CMD body="save" type="push">write the firmware to NAND flash.</CMD> <CMD body="wfw" type="push">Notity device to prepare receiving a firmware.</CMD> <CMD body="fwtype:EB_NB" type="push">Specify firmware type.</CMD> <CMD body="send" type="push" file="files/eboot.nb0">Sending a firmware file.</CMD> <CMD body="save" type="push">write the firmware to NAND flash.</CMD> <CMD body="wfw" type="push">Notity device to prepare receiving a firmware.</CMD> <CMD body="fwtype:NK_NB" type="push">Specify firmware type.</CMD> <CMD body="send" type="push" file="files/nk.nb0">Sending a firmware file.</CMD> <CMD body="save" type="push">write the firmware to NAND flash.</CMD> <CMD body="QueryFolderStatus:NANDFlash,Timeout:10" type="push">Query store folder status.</CMD> <CMD body="wfl" type="push">Notity device to prepare receiving a file.</CMD> <CMD body="filename:NANDFlash\\sandy.mp3" type="push">Sending file name.</CMD> <CMD body="send" type="push" file="files/sandy.mp3">Sending a file.</CMD> <CMD body="save" type="push">Finish sending data.</CMD> <CMD body="Done" type="push">Whole update work is finished.</CMD> </LIST> -<LIST name="SD/MMC" desc="Choose SD/MMC as media"> <CMD timeout="60" body="BootStrap" type="find"/> <CMD body="Memory" type="init" file="MX51_DDR.xml"/> <CMD type="load" file="NK.nb0" HasFlashHeader="FALSE" setSection="OTH" loadSection="OTH" address="0x90200000">Doing preLoad."</CMD> <CMD type="load" file="eboot.nb0" HasFlashHeader="FALSE" setSection="APP" loadSection="OTH" address="0x90040000">Loading OS image.</CMD> <CMD type="jump"> Jumping to OS image. </CMD> <CMD timeout="180" body="Updater" type="find"/> <CMD body="MediaType:SDMMC" type="push">Send media type.</CMD> <CMD body="QueryStoreStatus:DSK1:,Timeout:10" type="push">Query store status.</CMD> <CMD body="Partitions:Firmware:100MB,File" type="push">Starting partitions.</CMD> <CMD body="wrd:0x400" type="push">Write raw data to device with a specified starting address.</CMD> <CMD body="send" type="push" file="files/xldr.nb0">Sending a file.</CMD> <CMD body="save" type="push">Finish sending data.</CMD> <CMD body="wrd:0x20000" type="push">Write raw data to device with a specified starting address.</CMD> <CMD body="send" type="push" file="files/eboot.nb0">Sending a file.</CMD> <CMD body="save" type="push">Finish sending data.</CMD> <CMD body="wrd:0x60000" type="push">Write raw data to device with a specified starting address.</CMD> <CMD body="send" type="push" file="files/nk.nb0">Sending a file.</CMD> <CMD body="save" type="push">Finish sending data.</CMD> <CMD body="QueryFolderStatus:SDMemory,Timeout:10" type="push">Query store folder status.</CMD> <CMD body="wfl" type="push">Notity device to prepare receiving a file.</CMD> <CMD body="filename:SDMemory\\sandy.mp3" type="push">Sending file name.</CMD> <CMD body="send" type="push" file="files/sandy.mp3">Sending a file.</CMD> <CMD body="save" type="push">Finish sending data.</CMD> <CMD body="Done" type="push">Whole update work is finished.</CMD> </LIST> </UCL>

    Thanks,

    Arcatus


    Tuesday, September 23, 2014 3:11 AM
  • Hi Arcatus,

    Try to post the queries in Freescale forum also, if you haven't done already.

    This may be specific to a iMX Processor.

    Regards,

    GSR

    Tuesday, September 23, 2014 3:36 AM
  • hi,

    I have already posted the queries in Freescale forum,but nobody answer my question,so i have get to do post here,hope somebody sove the problem.

    Tuesday, September 23, 2014 6:19 AM
  • I have not used mfgtool for wince but have created linux mfgtool to work for WinCE. Here you bont have o create image with UUT and your normal built of eboot and NK can be downloaded to eMMC

    Also i have customised the download process to download the image at faster rate there by reducing the production cost.

    If you would like to have please contact us.

    --- misbah 


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    Tuesday, September 30, 2014 6:05 AM