I am using WinCE7 image built by a third party on a CC-WMX53-CE platform. I apply network settings that are saved in the registry (such as the IP address, or whether DHCP is enabled). These settings work correctly and are maintained between device suspend/resume cycles.
If the i.MX53 WinCE JSK board is power cycled, at some point during the WinCE boot-up, the registry settings for the network configuration are overwritten by the settings saved in U-Boot.
// Example U-Boot environment variables:
// Example WinCE boot log:
[FlashInfo]: System Hive restored successfully.
Starting [ShowIP /d] after ms delay
Starting [iDigiCopy] after ms delay
Windows IP configuration
Ethernet adapter [FEC1]:
IPv4 Address … : 192.168.42.30
Subnet Mask … : 255.255.255.0
IPv6 Address … : fe80::f877:78ac:5c80:17d%5
Default Gateway … : 0.0.0.0
I am assuming that the settings are overwritten by a Digi application after the registry hive is restored.
I can confirm that the rest of the registry settings appear to be saved and restored correctly.
This is supported by the fact that in the registry viewer for the remote device as the RegPersisted key for each of the hives (in the root of HKEY_CURRENT_USER & HKEY_LOCAL_MACHINE) is set to 1, indicating that the values stored in the registry have been loaded from persistent storage.
Is there some U-Boot or application setting I can change to disable this functionality?
If not, can anyone point me in the right direction with what settings need to be changed in the BSP to disable this behavior?