Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Alternative Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 03-09-2010, 12:26 PM   #1
rfog
Guru
rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.
 
Posts: 694
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
Cool JE100/JE200 Windows CE Emulator (for development)

I’ve just created an ARM Windows CE 5.0 Emulator image and SDK that mimics the JE200 hardware and has some other useful additions like a Command Line console and other network tools. This emulator has some advantages over the old offered by Microsoft: it is an arm4i emulator that integrates into new Visual Studio way of manage emulators. Old one is a Virtual PC x86 emulator that cannot be integrated into new VS versions.

To work with this you need:
  • My Image Emulator that you can download from here.
  • Visual Studio 2005/2008 Standard or upper (Express versions does not work). I recommend Visual Studio 2008SP1.

The only restriction I impose is that only non commercial development can be done with this image. It has been made with a Platform Builder legal copy owned by the company I work for. Then I can add any reasonable feature you will want, but only for homebrew, Open Source or free programs.

To install this image you need to follow the next steps.
  1. Have a working Visual Studio installation.
  2. Deactivate UAC and restart if you are using Vista or Windows 7. Don’t be afraid, once installed you will reactivate UAC. This is caused by a limitation in the installer, which has a script that fails silently if UAC is active. Does not matter if you have accepted UAC elevation in program installation: the script fails.
  3. Install the SDK with a full installation.
  4. Restart your computer.
  5. Launch Visual Studio. Close Visual Studio (this is to force any pending script upgrade).
  6. Activate UAC.
  7. Restart your computer.
  8. Done! Now you have a new Device in your Visual Studio that says “WindowsCE5Emulator”.

Now, the best way is to test the image. Open Visual Studio, go to “Tools -> Connect to device” and select in Platform “WindowsCE5Emulator”. In Devices select “Windows CE 5.0 Emulator” and click in “Connect” button. After some seconds you will have a Windows CE emulated session with a Windows Mobile screen size and in the “Connecting” dialog box you will see “Connection succeeded”.
That is!

In the Devices list you can see two devices: the one described and other called “Microsoft DeviceEmulator: ARMV4I_Release” and if you try to use that device it won’t work. It is for Microsoft eMbedded Visual C++ 4sp4 and older Visual Studio versions that connect via TCP/IP layer and we can ignore it.

Some customizations for JE100/JE200. Once we have the emulator installed, we can customize it to obtain a device like the JE100/JE200. We need to open Visual Studio and go to “Tools -> Options” and select “Device Tools”, open the tree and click in “Devices”.
Now open the combo “Show devices for platform” and select “WindowsCE5Emulator”. Select “Windows CE 5.0 Emulator” and click “Save as…”. Type a useful name like “JE200 Emulator”. Now we have 3 emulators available.

Select the new one, click in “Properties…” and be sure that “DMA Transport” and “Device Emulation Startup Provider” is selected. Now click in “Emulator Options…” and we can personalize it. For example, to mimic a JE200, you need to select “Specify RAM size” in “General” tab and type 64. Go to Display tab and select “Video” option and type 480 as screen width, 800 has screen height and 16 to color depth.

You need to specify 16 bit color depth because an emulator software limitation: the video memory is limited to 1 MB. It seems there is a hack to avoid this but it is untested and you need to mess in depth source code of Windows CE.

And finally you have a device emulator similar to JE100/JE200. Of course you can specify and play with any screen size or any other characteristic that will offer the emulator. And as it has a persistent registry you can copy the JE files and have exactly the same device, but then you need to save your personalization.

[NOTE TO MOBILEREAD ADMINS: SDK size is about 55 MB size. Can it be hosted here?

Last edited by rfog; 03-09-2010 at 12:30 PM.
rfog is offline   Reply With Quote
Old 03-09-2010, 03:21 PM   #2
rfog
Guru
rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.
 
Posts: 694
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
Until uploaded in other place, you can download here:

http://cid-f1c8bb586bc9f3b9.skydrive...e.aspx/.Public

NOTE: I'm going to travel and won't be available until Saturday night.
rfog is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
JE100 Vs JE200 (review with pics) imaredr Alternative Devices 19 06-01-2010 12:25 AM
Upgrading JoinTech JE100 with JE200 firmware...!?! bambi Alternative Devices 10 05-31-2010 02:19 AM
JoinTech JE100 and JE200 on Google Groups ondabeach Alternative Devices 5 04-16-2010 03:14 AM
Calibre Windows Development ilovejedd Calibre 9 07-12-2009 11:09 PM
Microsoft Windows CE 5.0 Device Emulator Colin Dunstan Lounge 0 08-27-2004 04:16 AM


All times are GMT -4. The time now is 09:59 AM.


MobileRead.com is a privately owned, operated and funded community.