Barry Bond

The DeviceEmulator 2.0 Community Tech. Preview has gone live, at http://www.microsoft.com/downloads/details.aspx FamilyId=13F5DE85-30CD-4506-9C5B-A2068FA1EE9E&displaylang=en.

V2 has:

  • Much improved performance
  • DEComInterfaces.idl - the COM interface to the emulator, along with sample code showing how to use DMA to communicate between a Windows app and an app or driver running inside the emulator. This is the DeviceEmulator's equivalent of the "Building DMA Drivers for the Windows CE.NET Emulator" article at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncenet/html/builddmadriver.asp.
  • An eXDI driver for Windows CE Platform Builder 5.0, giving you a hardware debugger interface to the emulator.
  • TabletPC ink input support
  • Countless bug fixes

The V2 CTP installs side-by-side with the V1 CTP and Visual Studio 2005 emulators, and is backward-compatible with V1. If you wish to use the V2 CTP from Visual Studio, the readme.rtf file explains how to do that. The same process can be done to revert back to the original DeviceEmulator if you run into a blocking problem with the V2 CTP.

Enjoy!

Barry (and the DeviceEmulator team)



Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

jazure

Can the emulator run standalone without VS2005

I installed it on windows XP and when I started "Device Emulator Manager" from the Start menu. I got this error: "Cannot start the emulator. Error: 0x80040154".

Can you help





Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

Mohit Gogia

Did you carried out the registration step mentioned here in the download link

To install the emulator, run the MSI that is provided with this download. After installation is done, you must regsiter it in order to do get the Visual Studio use this V 2.0 Emulator instead of the one that came with Visual Studio 2005. Run the register.bat file to do this. This step is provided for you to choose to replace the V1.0 emulator.

Hope this helps.

-Thanks,

Mohit





Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

jazure

You misunderstood my question. My question was "Can the emulator run standalone without visual studio installed "

The installation of emulator did not complaint about any missing dependency, but it does not run after installation.





Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

akheron

jazure, yes this emulator does not require you to have VS. :)

Now I have a few questions,

I installed V2 over the old preview version and its a lot faster than the older version.. GREAT! But it seems like V2 doesn't come with any OS images. Can anybody post a step by step (with download links) how to add OS images (especially WM5).

Thanks in advance.




Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

40th Floor

How can this be a version 2 when it's still doing 1995 ARM opcodes   If you won't default to CPUs that have been around since 2001, at least put in a switch to turn on support for CPUs that pretty much everyone has been using for the past half decade.  Hah, it's sort of like releasing a debugger that only runs on Pentium (1995) CPUs.



Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

IgorP

Hello,

I have installed DeviceEmulator 2.0. The problem is, that I am unable to register Emulator, to use it inside VS 2005.

When running register.bat the line "DeviceEmulatoreXdi.exe /register" throws an error saying "Failed to register."

I haven't found anything about this problem. How could I check if the emulator was registered (Visual Studio shows me only Mobile 5.0 emulators -- I guess a CE emulator should be showed there).

How about VS 2005 integration and expandind New Smart Device project options Should the emulator also add some new posibilites to the new project Dialog or is this in the SDK domain

Thank you for your answers.





Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

Michael Koster

Hello

edit the register.bat file and remove the DeviceEmulatoreXdi.exe lines and try again.
This is file not required for VS 2005.

No, the V2 Emulator does not add new features to VS 2005. It just upgrades the emulator engine.






Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

IgorP

OK, I did it.

Is it somehow possible to chech which emulator am I using I don't see any difference between 1.0 and 2.0 version, thatswhy i am not sure if am I using the no. 2. :-)

How to check which engine am I using.

Thanks for your answer.





Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

Michael Koster

Lauch the device emulator manager. If the Help - About screen reports a version greater than 8.0.50727.42 -> your using the V2 CTP.

The final V2 release (Available in Windows Embedded CE 6.0) has the version 8.0.60801.00.

Michael






Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

IgorP

Thank you. Looks like I am using v2. ;-)



Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

IgorP

Ok, just to be sure.

I checked version info (about box) in Device Emulator and the version written is the version you mentioned.

8.0.50727.42

On the other side Device Emulator Manager is showing me the version 8.0.60317.00.

Which one helps me determinate emulator engine i'm using

Should the no. 2 engine be faster (readme says so...) I haven't noticed, that the emulator is working faster and am not more so sure, that I am using version 2. :-)





Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

Michael Koster

8.0.60317.00 is the V2 CTP.
Both the DvcEmuManager.exe and DeviceEmulator.exe should show this version.
It seams that the emulator is not properly registered. Change to the directory where you installed the V2 CTP (<Program Files>\Microsoft\Device Emulator 2.0 Preview) and rerun the following commands:
DeviceEmulator.exe /regserver
DvcEmuManager.exe /regserver
regsvr32 /s DeviceEmulatorProxy.dll
regsvr32 /s SerDMAASPlugin.dll






Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

IgorP

I tried to rerun those commands. (In second line you probably meant DvcEmuManager.exe /register.)

But the result is the same. The commands are executed without any messages, but the Emulator About Box is showing me the old version.

I checked the registry for the keys registering and all of them had the Default atributte pointing to the Emulator 1.0.

(

"C:\Program Files\Microsoft Device Emulator\1.0\DeviceEmulatorProxy.dll"

C:\Program Files\Microsoft Device Emulator\1.0\SERDMAAsPlugin.dll

C:\Program Files\Microsoft Device Emulator\1.0\DeviceEmulator.exe,-1033

"C:\Program Files\Microsoft Device Emulator\1.0\dvcemumanager.exe"

)

I manually changed the path to 2.0 version ("C:\Program Files\Microsoft\Device Emulator 2.0 Preview\..."), but the result is still the same...

I would appreciate some ideas, because I run out of them. :-)

Thanks.





Re: Device Emulator General Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

IgorP

Just bupming the topic. Maybe someone knows the answer and hasn't seen the topic.