Skip to main content

Setconfig Command

The setconfig or set command is a commandPrompt command of the Bootloader. It writes settings to the Config Block. By typing 'set' or 'setconfig', you will get a list of all main configuration items.

Config List:
[* mac: Ethernet MAC Address](/windows-ce/knowledge-base/mac-config-block-settings)
* mult: Clocks Multipliers
[  ip: IP Config](/windows-ce/knowledge-base/ip-config-block-settings)
[  boot: Boot Config](/windows-ce/knowledge-base/boot-config-block-settings)
[  ser: Serial Port Config](/knowledge-base/change-bootloader-output-port)
[  loc: Flash Locations (Layout)](/windows-ce/knowledge-base/flash-layout-pxa)
[  gpio: GPIOs Config](/windows-ce/knowledge-base/gpio-config-block-settings)
[  msc: Static ChipSelect Timings](/knowledge-base/external-memory-bus)
* hw: HW Version
[  dbg: Debug Config](/knowledge-base/debug-config-block-settings)
  mbs: Memory Buffer Strength
[  ss: SplasScreen Config](/windows-ce/knowledge-base/splash-screen-on-windows-ce)
[  karg: Kernel Arguments](/windows-ce/knowledge-base/eboot-bootloader-wince)

The * (Asterisk) symbol indicates that this setting has been added to the Config Block by the Save command. In this case the Bootloader uses this additional setting and not the default setting. If the additional setting is deleted using the Clear command, the persistent default value will be used again.

The items mac, mult and hw have always additional settings, programmed during final testing at the factory. Because there are no valid default settings for these items, it is not recommended to delete them.

By typing set, you will get a list of attributes available for that specific item. Example: "set dbg" will show you the attributes of the item dbg:

>set dbg
dbg.serial: 0 (Debug Serial Output)
dbg.regread: 1 (Read from persistent Registry)
dbg.regwrite: 1 (Write to persistent Registry)

Syntax: To set an attribute of a specific item type set<item.attribute=value>

Example: Enabling the serial debug output.

>set dbg.serial=1

After you changed an attribute, you need to save the corresponding item. This can be done with the Save command. If you don't save the item, the changes will be ignored and the default value will be used.

Send Feedback!