• In progress
  • FlashUpdate

    FlashUpdate is a program run from Windows Embedded Compact to dump, update or erase the flash or a part of it. See FlashTool.doc for a description of program-usage.
    The /d option used for raw-dumps is only important for debug-purposes, where you do not want an extra bootheader to be included.
    See Flash Division of Trizeps I to VI for information on how the flash is divided.

    Calling Options

    FlashUpdate.exe <options>

    Option

    Description

    Notes

    Option

    Description

    Notes

    /BC

    Add additional bootflag: Continue boot

     

    /BP

    Add additional bootflag: Erase PSM

     

    /BR

    Add additional bootflag: Erase Registry

     

    /dA

    Dump whole flash (raw)

     

    /dB

    Dump bootloader (raw)

     

    /dC

    Dump bootbitmap (raw)

    not supported on Trizeps VI

    /dD

    Dump OS (raw)

    xip-partition on Trizeps VI

    /dE

    Dump everything except bootloader (raw)

     

    /dO

    Dump OS and bootbitmap (raw)

    xip-partition on Trizeps VI

    /dP

    Dump PSM(User-Store, Flashdisk) (raw)

     

    /dR

    Dump registry (raw)

    not supported on Trizeps VI

    /dX

    Dump reserved partition (raw)

    boot-partition(nanddisk) on Trizeps VI

    /dS<adress>,<size>

    Dump (raw) starting from address with size in bytes

     

    /DA

    Dump whole flash (with bootheader)

     

    /DB

    Dump bootloader (with bootheader)

     

    /DC

    Dump bootbitmap (with bootheader)

    not supported on Trizeps VI

    /DD

    Dump OS (with bootheader)

    xip-partition on Trizeps VI

    /DE

    Dump everything except bootloader (with bootheader)

     

    /DO

    Dump OS and bootbitmap (with bootheader)

    xip-partition on Trizeps VI

    /DP

    Dump PSM(User-Store, Flashdisk) partition (with bootheader)

     

    /DR

    Dump registry (with bootheader)

    not supported on Trizeps VI

    /DX

    Dump reserved partition (with bootheader)

    boot-partition(nanddisk) on Trizeps VI

    /DS<address>,<size>

    Dump (with bootheader) starting from address with size in bytes

     

    /UA

    Update whole flash

     

    /UB

    Update bootloader

     

    /UC

    Update bootbitmap

    not supported on Trizeps VI

    /UD

    Update OS

    xip-partition on Trizeps VI

    /UE

    Update everything except bootloader

     

    /UO

    Update OS and bootbitmap

    xip-partition on Trizeps VI

    /UP

    Update PSM partition

     

    /UR

    Update registry

    not supported on Trizeps VI

    /UX

    Update reserved partition

    boot-partition(nanddisk) on Trizeps VI

    /US<address>,<size>

    Update starting from address

     

    /EA

    Erase whole flash

     

    /EB

    Erase bootloader

     

    /ED

    Erase OS

    xip-partition on Trizeps VI

    /EE

    Erase everything except bootloader

     

    /EO

    Erase OS and bootbitmap

    xip-partition on Trizeps VI

    /EP

    Erase PSM(User-Store, Flashdisk) partition

     

    /ER

    Erase registry

    not supported on Trizeps VI

    /EX

    Erase reserved partition

    boot-partition(nanddisk) on Trizeps VI

    /ES<address>,<size>

    Erase starting from address address, size bytes

     

    /Z

    Compress/Uncompress file during backup/update operation

     

    /Y

    Erase registry when finished

     

    /RW

    Perform warm reset when finished

     

    /RC

    Perform cold reset when finished

     

    /Q

    Quiet mode; do not wait for user entries

     

    /P<path>

    Set path for dump or update

     

    /F<filename>

    Set filename for dump or update

     

    /S<imagestamp>

    Set string to stamp to image-header

    ver. 3.200

    /V<n>

    Set verbosity n = {0,1,2,3,4}; 4 = highest

     

    /VERIFY

    Verify written image

     

    /L

    Use LEDs of deployment-board to show status.

     

    /T<n>

    Unmount DSK1: before flashupdate. n = 1 Unmount, = 2 Keep unmounted after flashupdate Exits.

    ver. 4.200

    /C<x>

    On dump include parameters. On Update check against these parameters before update.

    x is a hexadecimal number: 0x0002 flash-size. 0x0004 ram-size. 0x0008 WinCE-version. 0x0010 WinCE-license. 0x0020 processor. 0x0040 frequency. 0x0080 processor-revision. 0x0100 support WM9715L-codec. If used with dump, ensure image supports WM9715L.(04/2013)

     

    /O<x>

    Option:

    Default for V4.6 and before: /O0 Default for V4.7 and later: /O1 x is a hexadecimal number: 0x0001 Dump/Update including whole spare-area of flash. Otherwise only metadata will be stored. ( Trizeps VI only) 0x0002 Add 0x6E657763 to checksum on dump. Only V4.8 and later will see this as valid checksum for updates.

     

    /?

    Help

     

    Flash-Layout

    Trizeps IV,V (NOR-Flash)

    See Flash Division of Trizeps I to VI for details.

    Area

    Option

    Area

    Option

     

    A

    B

    C

    D

    E

    O

    P

    R

    X

    Bootloader

    x

    x

     

     

     

     

     

     

     

    Boot-Bitmap

    x

     

    x

     

    x

    x

     

     

     

    OS

    x

     

     

    x

    x

    x

     

     

     

    Flashdisk

    x

     

     

     

    x

     

    x

     

     

    Registry

    x

     

     

     

    x

     

     

    x

     

    Trizeps VI (NAND-Flash)

    Area

    Option

    Area

    Option

     

    A

    B

    C

    D

    E

    O

    P

    R

    X

    Bootloader

    x

    x

     

     

     

     

     

     

     

    Bootloader-Config

    x

     

     

     

    x

     

     

     

     

    MBR

    x

     

     

     

    x

     

     

     

     

    nandisk (boot-Picture, nk.nb0, registry)

    x

     

     

     

    x

     

     

     

    x

    xip.bin

    x

     

     

    x

    x

     

     

     

     

    Flashdisk

    x

     

     

     

    x

     

    x

     

     

    Bootloader-Config contains the information you store through the eboot-menu.
    MBR is the master-boot-record, which contains the partition-table. Because of that only the A and E Option should be used. Use caution when using D, X and P option!
    When using the P option, the device should be reset after update, because the cached data of the flashdisk-driver could corrupt the newly installed Flashdisk.

    Examples

    Dump whole flash-contents to SD-card:

    Update OS image, Erase registry and reboot

    Downloads

    FlashUpdate-Tool (WinCE6,WinCE7): flashupdate_v4_8.zip
    FlashUpdate-Tool (all OS): flashupdatev4_1.zip