<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=WinCE%3A_Sysconf</id>
	<title>WinCE: Sysconf - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=WinCE%3A_Sysconf"/>
	<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=WinCE:_Sysconf&amp;action=history"/>
	<updated>2026-04-30T15:23:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://www.mediawiki.compulab.com/w/index.php?title=WinCE:_Sysconf&amp;diff=931&amp;oldid=prev</id>
		<title>Mike at 12:59, 15 March 2010</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=WinCE:_Sysconf&amp;diff=931&amp;oldid=prev"/>
		<updated>2010-03-15T12:59:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
{{Cmd|Sysconf.exe}} is a command line tool recommended for advanced system debugging. The tool enables access to the internal registers of  PXA CPU and peripheral devices. Please consult the [[WinCE:_Sysconf#See also|PXA Processor Developers Manual]] before using {{Cmd|Sysconf.exe}} utility.&lt;br /&gt;
&lt;br /&gt;
== Sysconf Usage == &lt;br /&gt;
&lt;br /&gt;
=== SysConf Syntax ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        SysConf  - to print this help&lt;br /&gt;
	SysConf  &amp;lt;name&amp;gt;         - to dump named register&lt;br /&gt;
	SysConf  &amp;lt;address&amp;gt;      - to dump memory address (prefix with 0x for hex number)&lt;br /&gt;
	SysConf  &amp;lt;name&amp;gt; &amp;lt;value&amp;gt; - to set named register&lt;br /&gt;
	SysConf  ALL    - to dump all registers&lt;br /&gt;
	SysConf  LCD    - to dump all LCCR registers&lt;br /&gt;
	SysConf  AC97 &amp;lt;address&amp;gt; &amp;lt;value&amp;gt; - to update AC97 Codec register&lt;br /&gt;
	SysConf  AC97_ALL       - to dump all AC97 Codec registers&lt;br /&gt;
	SysConf  DA9030 &amp;lt;address&amp;gt; &amp;lt;value&amp;gt;  - to update DA9030 register&lt;br /&gt;
	SysConf  DA9030_ALL -to dump all DA9030 Codec registers&lt;br /&gt;
	SysConf  GPIO &amp;lt;pin number&amp;gt;      - to print all the relevant gpio data for the specified pin&lt;br /&gt;
	SysConf  GPIO &amp;lt;pin number&amp;gt; L&amp;lt;#&amp;gt; D&amp;lt;#&amp;gt; RE&amp;lt;#&amp;gt; FE&amp;lt;#&amp;gt; AF&amp;lt;#&amp;gt; - to manually set a certain pin with desired config args meaning:&lt;br /&gt;
                 L-Level(set=1/clear=0) D-direction(1 for output) RE-rise edge set AF- between 0-3&lt;br /&gt;
	SysConf  GPIO - to dump all GPIO registers&lt;br /&gt;
	SysConf  DEVICE &amp;lt;name&amp;gt; START - to activate a device&lt;br /&gt;
	SysConf  DEVICE &amp;lt;name&amp;gt; STOP - to activate a device&lt;br /&gt;
	SysConf  DEVICE &amp;lt;name&amp;gt; RESTART - to activate a device &amp;lt;name&amp;gt; - is the alias as specified in the documentation&lt;br /&gt;
	SysConf  ALLDEVICES - to print all active devices&lt;br /&gt;
	SysConf  ALLALIAS - to print all active devices with Alias name&lt;br /&gt;
	SysConf  NETIF  - to list all available network interfaces&lt;br /&gt;
	SysConf  NETIF &amp;lt;name&amp;gt; &amp;lt;cmd&amp;gt;  - to START/STOP/RESTART a network interface for example - SysConf NETIF WLAN1 STOP                       &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Note|The {{Cmd|Sysconf}} tool is NOT case sensitive}}&lt;br /&gt;
=== Sysconf Usage Examples ===&lt;br /&gt;
* {{Cmd|SysConf &amp;lt;RegName&amp;gt;}} - print register value.&lt;br /&gt;
:- {{Parameter|RegName}} - register name as defined in the PXA3xx documentation&lt;br /&gt;
:- The following example will print GRER0 value: &lt;br /&gt;
 &amp;gt; SysConf GRER0&lt;br /&gt;
* {{Cmd|SysConf &amp;lt;address&amp;gt;}} - print value at the specified address&lt;br /&gt;
:- {{Parameter|address}} - address in the PXA3xx internal address space&lt;br /&gt;
:- The following example will print the value of the GPLR0 register mapped at 0x40e00000:&lt;br /&gt;
 &amp;gt; SysConf 0x40e00000&lt;br /&gt;
* {{Cmd|SysConf GPIO &amp;lt;pin number&amp;gt;}} - print GPIO state &lt;br /&gt;
:- Example:&lt;br /&gt;
  &amp;gt; SysConf GPIO 86&lt;br /&gt;
  Level=HIGH&lt;br /&gt;
  Direction=INPUT&lt;br /&gt;
  Rising edge=DISABLED&lt;br /&gt;
  Falling edge=DISABLED&lt;br /&gt;
  Edge transition NOT DETECTED&lt;br /&gt;
  AlternateFunction=0&lt;br /&gt;
* {{Cmd|SysConf  GPIO &amp;lt;pin number&amp;gt; [L&amp;lt;#&amp;gt;] [D&amp;lt;#&amp;gt;] [RE&amp;lt;#&amp;gt;] [FE&amp;lt;#&amp;gt;] [AF&amp;lt;#&amp;gt;]}} - set GPIO pin attributes&lt;br /&gt;
** L - set GPIO logical state (low=0, high=1), &lt;br /&gt;
** D - set GPIO direction (input=0, output=1)&lt;br /&gt;
** RE - rising edge detection control (disable=0, enable=1)&lt;br /&gt;
** FE - falling edge detection control (disable=0, enable=1)&lt;br /&gt;
** AF - GPIO alternate function (values are from 0-3)&lt;br /&gt;
:- The following example will configure GPIO 86 as output, logical 1, alternate function 0:&lt;br /&gt;
  &amp;gt; SysConf GPIO 86 L1 D1 AF0&lt;br /&gt;
:- The following example will configure GPIO 86 as input, rising edge detection enabled, alternate function 1:&lt;br /&gt;
 &amp;gt; SysConf GPIO 86 D0 RE1 AF1&lt;br /&gt;
* {{Cmd|SysConf  ALLALIAS}} - print all active devices that have an alias name.&lt;br /&gt;
An alias is defined in the registry value {{Cmd|Alias}} in the BuiltIn registry key of the driver. The alias name is case sensitive and has to be in capital letters.&amp;lt;br&amp;gt;&lt;br /&gt;
:- Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1: WLN1: -&amp;gt; Drivers\BuiltIn\SPI, Alias=WLAN, key name is: 50&lt;br /&gt;
2: UFN1: -&amp;gt; Drivers\BuiltIn\Usbfn, Alias=USBFN, key name is: 39&lt;br /&gt;
3: COM3: -&amp;gt; Drivers\BuiltIn\Serial4, Alias=SERIALD, key name is: 35&lt;br /&gt;
4: COM2: -&amp;gt; Drivers\BuiltIn\Serial3, Alias=SERIALC, key name is: 30&lt;br /&gt;
5: COM1: -&amp;gt; Drivers\BuiltIn\Serial2, Alias=SERIALB, key name is: 29&lt;br /&gt;
6: SDH1: -&amp;gt; Drivers\BuiltIn\SDHC, Alias=SDCARD, key name is: 27&lt;br /&gt;
7: HCD2: -&amp;gt; Drivers\BuiltIn\PCI\Instance\OHCI2, Alias=OHCIITE, key name is: 26&lt;br /&gt;
8: NDS1: -&amp;gt; Drivers\BuiltIn\PCI\Instance\RTL81392, Alias=RTL8319, key name is: 25&lt;br /&gt;
9: HCD1: -&amp;gt; Drivers\BuiltIn\OHCI, Alias=OHCIPXA, key name is: 21&lt;br /&gt;
10: DSK1: -&amp;gt; Drivers\BuiltIn\NorFlashV3, Alias=NOR, key name is: 18&lt;br /&gt;
11: I2C1: -&amp;gt; Drivers\BuiltIn\I2C, Alias=I2C, key name is: 14&lt;br /&gt;
12: GIO1: -&amp;gt; Drivers\BuiltIn\GIO, Alias=GPIO, key name is: 11&lt;br /&gt;
13: DSK0: -&amp;gt; Drivers\BuiltIn\NandFlashV3, Alias=NAND, key name is: 02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* {{Cmd|SysConf  DEVICE &amp;lt;DevName&amp;gt; STOP}} - stop a device driver and unload it from the system.&lt;br /&gt;
:- {{Parameter|DevName}} - device alias name as displayed by the {{Cmd|SysConf ALLALIAS}} command&lt;br /&gt;
:- Example:&lt;br /&gt;
 &amp;gt; SysConf DEVICE WLAN STOP&lt;br /&gt;
* {{Cmd|SysConf  DEVICE &amp;lt;DevName&amp;gt; START}} - load a device driver and start it&lt;br /&gt;
:- {{Parameter|DevName}} - device alias name as displayed by the {{Cmd|SysConf ALLALIAS}} command&lt;br /&gt;
:- Example:&lt;br /&gt;
  &amp;gt; SysConf DEVICE WLAN START&lt;br /&gt;
* {{Cmd|SysConf  ALLDEVICES}} - print all active devices that have a prefix name.&lt;br /&gt;
:- Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1: TEL1: -&amp;gt; services\TELNETD\NewSession, key name is: 62&lt;br /&gt;
2: NTP0: -&amp;gt; Services\TIMESVC, key name is: 59&lt;br /&gt;
3: SMB0: -&amp;gt; Services\SMBServer, key name is: 58&lt;br /&gt;
4: TEL0: -&amp;gt; Services\TELNETD, key name is: 57&lt;br /&gt;
5: FTP0: -&amp;gt; Services\FTPD, key name is: 56&lt;br /&gt;
6: HTP0: -&amp;gt; Services\HTTPD, key name is: 54&lt;br /&gt;
7: UIP1: -&amp;gt; uiproxy, key name is: 52&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* {{Cmd|SysConf  NETIF}} - print a list of all network interfaces.&lt;br /&gt;
* {{Cmd|SysConf  NETIF &amp;lt;IfName&amp;gt; &amp;lt;cmd&amp;gt;}} - change network interface state&lt;br /&gt;
:- {{Parameter|IfName}} - the interface name as displayed by the {{Cmd|SysConf  NETIF}} command&lt;br /&gt;
:- {{Parameter|cmd}} - can be STOP, START or RESTART&lt;br /&gt;
:- The following example will disable WLAN1 network interface in the GUI:&lt;br /&gt;
 &amp;gt; SysConf NETIF WLAN1 STOP&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://www.marvell.com/products/processors/applications/pxa_3xx/PXA3xx_Developers_Manual.zip PXA3xx Processor Family Developers Manual]&lt;br /&gt;
* [http://www.marvell.com/products/processors/applications/pxa_27x/pxa_27x_dev_man.pdf PXA27x Developers Manual]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Windows CE|Sysconf Usage]]&lt;br /&gt;
[[Category:CM-X300|WinCE: Sysconf Usage]]&lt;br /&gt;
[[Category:EM-X270|WinCE: Sysconf Usage]]&lt;/div&gt;</summary>
		<author><name>Mike</name></author>
		
	</entry>
</feed>