Search by Tags

Setconfig Command


Compare with Revision

Subscribe for this article updates

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
* mult: Clocks Multipliers
 ip: IP Config
 boot: Boot Config
 ser: Serial Port Config
 loc: Flash Locations (Layout)
 gpio: GPIOs Config
 msc: Static ChipSelect Timings
* hw: HW Version
 dbg: Debug Config
  mbs: Memory Buffer Strength
 ss: SplasScreen Config
 karg: Kernel Arguments

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.