Q: When I am debugging my application with eVC I get the following warning before the application is pushed to the device:
The targeted platform XXXX does not match the connected platform. Continue?
How can I fix this?
The XXXX in the above question is the defined platform name and may be IAGM, IAGMaster or BitsyX.
When eVC attempts to debug on a device it first checks to see if the connected device is the same Platform as the SDK Platform chosen in the development environment as the target. It does this by checking a device registry key that provides the device's Platform ID.
The warning mentioned above is displayed if the Platform ID on the device does not match the SDK's defined Platform ID. This does not affect in any way the debugging capabilities and can be safely ignored. However, if you want to eliminate the message, you simply need to add the correct Platform ID to the device's registry by appending one of the following keys to your ADSLOAD.REG file (the process is outlined in the Developer's Getting Started Guide). Choose only the key that matches the SDK you are using.
You can get the GUID associated with any SDK installed on your development PC by looking at the PC's Registry under the following key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Tools\ Platform Manager\{F384D888-F9AA-11D1-BB9E-00A0C9C9CCEE}]
Each GUID entry under this key represents an installed platform. The Default value listed below each key is the platform name that eVC displays. Here's an example for the BitsyX:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Tools\Platform Manager\ {F384D888-F9AA-11D1-BB9E-00A0C9C9CCEE}\{076F80D3-9B19-44C7-B891-326D7CB847F4}] @="IABITSYX"