Flash new WinCE image on PicoMOD4

  • Hi, I'm wanting to flash an updated Windows CE image to a PicoMOD 4. I have downloaded the image (NKP4_CORE_CF35_100105.bin) and am trying to upload it though USB using NetDCUUSBLoader.


    Flash memory has been erased and I have reinstalled the boot loader version 1.43 onto the PicoMOD. NBoot is at version P418.


    When I try to download a new kernel image to the PicoMOD by giving the Bootloader the command "DU" the serial port output gives:
    Waiting for USB download
    High Speed detected
    High Speed detected


    I now try and upload the new image using the NetDCUUSB Loader.
    The USBLoader gives:
    Read Configuration File
    Download NKP4_CORE_CF35_100105.bin
    Elapsed time 00:03


    After this, nothing happens. And when I reset the PicoMOD 4 it just goes back to the bootloader.


    Any ideas on what I'm doing wrong?

  • Hello,


    maybe start address of kernel is lost! Enter "L1" and reboot. Does it work now?
    Did you enter a "C" into the bootloader before?


    PS: You get a list of bootloader commands by enter "h".

    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.

  • Yes, I may have pressed 'C' before, this will have reset to factory defaults.


    I tried downloading the image through USB and using the L1 setting. When the PicoMOD boots up again it doesn't boot the kernel and gives the error:


    ERROR: Image Signature in Flash Memory not found (dwSig=0xFFFFFFFF)
    Error reading Kernel from Flash


    and then goes to the bootloader prompt.

  • I've also just noticed that when I try and reset to factory defaults in the bootloader, I get the error messages:
    Reset bootloader settings to factory default settings ?
    Are you sure (Y/N) ? :ERROR: C:\WINCE600\PLATFORM\PicoMOD4\src\bootloader\Eboot\
    .\psd.c line 56: BOOT_CFG structure error


    I'm not sure if the kernel issue I'm having is related to this or not.

  • Hello,
    whats about you bootloader settings? Enter "I" for display them.

    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.

  • PicoMOD4 boot options valid : YES
    Start Download after reboot : no
    Download kernel to : FLASH
    Kernel load/store compression : OFF
    Size of area for OS image : 24 MB
    Size of FFSDISK : 16 MB
    Format of FFSDISK : FAT
    Size of 2nd partition : 24 MB
    Format of 2nd partition : EXTENDED
    F3S serial number :
    Launch image after reboot : yes
    Output debug messages at serial port : yes
    Bootloader Network setting valid : YES
    -MAC Address : <MAC-ADDR>
    -Use DHCP to get IP address: YES
    WindowsCE MAC address valid : yes
    -WindowsCE MAC Address : <MAC-ADDR>

  • Hello,


    MAC addresses are missed? I dont think that that is the reason for failure. But you can respecify them by commands "XOM" (enter MAC which is printed out on the flash lable on PicoMOD4) and "N" (enter any ohter MAC (000551xxxxxx)).


    Please try again enter:
    - "C" ...
    - "E" ...
    - "DU" ..., and please post serial debug output.

    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.

  • I've set the MAC address using XOM.


    When running 'C' to reset it gave this error:
    Reset bootloader settings to factory default settings ?
    Are you sure (Y/N) ? :ERROR: C:\WINCE600\PLATFORM\PicoMOD4\src\bootloader\Eboot\
    .\psd.c line 56: BOOT_CFG structure error


    Subsequently, when running 'E' to erase, I get these warnings:


    Erasing contents of flash disk
    Are you sure (Y/N) ? :
    FMD: block 0 is locked !
    FMD: Can't erase block 0x0
    FMD: block 1 is locked !
    FMD: Can't erase block 0x1
    FMD: block 2 is locked !
    FMD: Can't erase block 0x2
    FMD: block 3 is locked !
    FMD: Can't erase block 0x3
    FMD: block 4 is locked !
    FMD: Can't erase block 0x4
    FMD: block 5 is locked !
    FMD: Can't erase block 0x5
    FMD: block 6 is locked !
    FMD: Can't erase block 0x6
    FMD: block 7 is locked !
    FMD: Can't erase block 0x7
    FMD: block 8 is locked !
    FMD: Can't erase block 0x8
    FMD: block 9 is locked !
    FMD: Can't erase block 0x9
    FMD: block 10 is locked !
    FMD: Can't erase block 0xa
    FMD: block 11 is locked !
    FMD: Can't erase block 0xb
    FMD: block 12 is locked !
    FMD: Can't erase block 0xc
    FMD: block 13 is locked !
    FMD: Can't erase block 0xd
    FMD: block 14 is locked !
    FMD: Can't erase block 0xe
    FMD: block 15 is locked !
    FMD: Can't erase block 0xf
    FMD: block 16 is locked !
    FMD: Can't erase block 0x10
    FMD: block 17 is locked !
    FMD: Can't erase block 0x11
    FMD: block 18 is locked !
    FMD: Can't erase block 0x12
    done
    Create partition for boot section ... Enter Low Level Format [0x0, 0xfff].
    Erasing flash block(s) [0x0, 0xfff] (please wait): FMD: block 0 is locked !
    EraseBlocks: unable to erase block (0x0). Marking bad..
    FMD: block 1 is locked !
    EraseBlocks: unable to erase block (0x1). Marking bad..
    FMD: block 2 is locked !
    EraseBlocks: unable to erase block (0x2). Marking bad..
    FMD: block 3 is locked !
    EraseBlocks: unable to erase block (0x3). Marking bad..
    FMD: block 4 is locked !
    EraseBlocks: unable to erase block (0x4). Marking bad..
    FMD: block 5 is locked !
    EraseBlocks: unable to erase block (0x5). Marking bad..
    FMD: block 6 is locked !
    EraseBlocks: unable to erase block (0x6). Marking bad..
    FMD: block 7 is locked !
    EraseBlocks: unable to erase block (0x7). Marking bad..
    FMD: block 8 is locked !
    EraseBlocks: unable to erase block (0x8). Marking bad..
    FMD: block 9 is locked !
    EraseBlocks: unable to erase block (0x9). Marking bad..
    FMD: block 10 is locked !
    EraseBlocks: unable to erase block (0xa). Marking bad..
    FMD: block 11 is locked !
    EraseBlocks: unable to erase block (0xb). Marking bad..
    FMD: block 12 is locked !
    EraseBlocks: unable to erase block (0xc). Marking bad..
    FMD: block 13 is locked !
    EraseBlocks: unable to erase block (0xd). Marking bad..
    FMD: block 14 is locked !
    EraseBlocks: unable to erase block (0xe). Marking bad..
    FMD: block 15 is locked !
    EraseBlocks: unable to erase block (0xf). Marking bad..
    FMD: block 16 is locked !
    EraseBlocks: unable to erase block (0x10). Marking bad..
    FMD: block 17 is locked !
    EraseBlocks: unable to erase block (0x11). Marking bad..
    FMD: block 18 is locked !
    EraseBlocks: unable to erase block (0x12). Marking bad..
    Done.
    Done.


    Success
    Create partition for kernel section ... FindFreeSector: FreeSector is: 0x12b aft
    er processing part 0x20.
    Success
    Create partition for FFSDISK section ... FindFreeSector: FreeSector is: 0x12b af
    ter processing part 0x20.
    FindFreeSector: FreeSector is: 0xc141 after processing part 0x21.
    Success
    Create partition for EXTENDED section ... FindFreeSector: FreeSector is: 0x12b a
    fter processing part 0x20.
    FindFreeSector: FreeSector is: 0xc141 after processing part 0x21.
    FindFreeSector: FreeSector is: 0x14161 after processing part 0xb.
    CreatePartition: Num sectors set to 0xbac0 to allow for compaction blocks.
    Success


    WARNING: Boot configuration signature invalid - choosing defaults...
    ERROR: C:\WINCE600\PLATFORM\PicoMOD4\src\bootloader\Eboot\.\psd.c line 56: BOOT_
    CFG structure error


    Any ideas?
    Thanks

  • Ok, please enter the MACs as discribed above.
    Does this help?


    At last you could try to reflash EBoot from NBoot. You can enter NBoot by press "s" into the terminal prg. while power on. Then download EBoot via serial line (DCUTerm -> File -> Transmit Binary File) ... .

    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.

  • I've set the MAC addresses as above.


    Downloaded a new EBoot to memory (v.146)


    This time when I reset to defaults, it does NOT give the ERROR: C:\WINCE600\PLATFORM\PicoMOD4\src\bootloader\Eboot\
    .\psd.c line 56: BOOT_CFG structure error - so the EBoot re-flash must have solved that problem.


    So I downloaded new kernel image through USB. Still giving the error on reboot:
    ERROR: Image Signature in Flash Memory not found (dwSig=0xFFFFFFFF)
    Error reading Kernel from Flash


    Still, when I try and perform the erase command, I get the same errors as before (FMD: block 0 is locked ! FMD: Can't erase block 0x0) etc.

  • Quote

    ERROR: Image Signature in Flash Memory not found (dwSig=0xFFFFFFFF)
    Error reading Kernel from Flash


    I looks like that there is no kernel downloaded!
    Serial debug output while download?


    Quote

    Still, when I try and perform the erase command, I get the same errors as before (FMD: block 0 is locked ! FMD: Can't erase block 0x0) etc.


    Thats ok.

    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.

  • How do I find the serial debug output when downloading? Is it from the same serial port as EBoot is running on?


    The only boot output I get is:


    Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Feb 5
    2010 13:54:28
    Microsoft Windows CE Bootloader for PicoMOD4 Built Feb 19 2010
    Portions copyright (c) 2009 F&S Elektronik Systeme GmbH
    Boot Loader, Version 1.46
    NBoot, Version P418


    HW-Watchdog: ON
    System ready!
    Preparing for download...
    Press >S< to step into monitor...
    AUTO BOOT enabled
    ERROR: Image Signature in Flash Memory not found (dwSig=0xFFFFFFFF)
    Error reading Kernel from Flash
    Disable AUTO BOOT
    Press >S< to step into monitor...
    HW-Watchdog: OFF


    PicoMOD4 - WindowsCE Bootloader


    :>

  • Quote

    How do I find the serial debug output when downloading? Is it from the same serial port as EBoot is running on?


    Enter "DU" into terminal and start download by press "start button" in NetDCUUSBLoader.
    Are there any output in the terminal?

    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.

  • This is what I get:


    Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Feb 5
    2010 13:54:28
    Microsoft Windows CE Bootloader for PicoMOD4 Built Feb 19 2010
    Portions copyright (c) 2009 F&S Elektronik Systeme GmbH
    Boot Loader, Version 1.46
    NBoot, Version P418


    HW-Watchdog: ON
    System ready!
    Preparing for download...
    Press >S< to step into monitor...
    HW-Watchdog: OFF


    PicoMOD4 - WindowsCE Bootloader


    :> ------------------------------------------------------>Pressed 'DU'
    HW-Watchdog: OFF
    Waiting for USB download
    High Speed detected
    High Speed detected



    On the NetDCUUSBLoader I get:
    Read Configuration File
    Download: Path to image file
    Elapsed time: 00.03


    The progress bar in the USBLoader is 100% and I'm using version 1.009


    Nothing else happens after this, the USB light on the USBLoader still stays green and there is nothing more printed to the com port

  • Hello do you use the "usb high speed" cable which was deliverd with the SKIT?
    Do not use very long cable.
    You can also try to use an other PC.


    If nothing helps you may handle the board as RMA.

    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.