PrabuKumar's WinCE Blog

December 21, 2013

e-con Systems’s Almach kit boots Compact 2013(WEC2013) OS in less than a Second!!!

Filed under: WEC2013 — Prabu Kumar @ 3:29 pm
Tags: , , , , ,

Check out this great video which shows the recently released Windows Embedded Compact 2013(WEC2013) OS boots in ~830 milliseconds(ms) and also it does the decoding of 1D/2D barcode using the 5MP camera.

This Almach kit is based on TI DM3730 which will serve as very good starting point for the beginners of WinCE and also will be used as data generation source for the people who are trying to build the Internet of Things(IoT) systems.It is available for sale on the e-con’s webstore!!!!!!

July 30, 2012

OMAP35x\DM37x VRFB and Video Capture in WEC7

Filed under: WinCE 7 — Prabu Kumar @ 4:14 pm
Tags: , , , , , , ,

With OMAP35x/DM37x EVM ,we will face issue of image corruption while rendering the camera output to the screen because of presence of Virtual Rotate Frame Buffer(VRFB). But if we want to use  both VRFB and Camera preview to work together in WinCE 6.0 ,we can set the renderer of the DShow  camera application to use the GDI mode instead of the DirectDraw renderer.The code used in WinCE 6.0,


IAMVideoRendererMode::SetMode(DWORD dwMode)






But in the WEC7,there is a change in the DShow renderer (i.e., Video Mixing Renderer(VMR)),which does not support the IAMVideoRendererMode interface or method which we used in WinCE 6.0 to switch the GDI mode.


In this blog ,I will show how to fix this issue. But it will have a disadvantage of very low frame rate in the rendering because of not using the hardware overlay.


In VMR we can control the renderer preferences using the IVMRFilterConfig::SetRenderingPrefs() method.


For this issue here is the fix, we can force the VMR to use the RenderPrefs_ForceOffscreen instead of Overlays, which is more or less the same functionality as used in the WinCE 6.0.


IVMRFilterConfig    *pVMRConfig;


hr = m_pVMRRenderer.QueryInterface(&pVMRConfig );

if(FAILED(hr) || pVMRConfig == NULL)


            FAIL(TEXT("Retrieving the IID_IVMRFilterConfig failed."));




hr = pVMRConfig->SetRenderingPrefs( RenderPrefs_ForceOffscreen| RenderPrefs_AllowOffscreen );

if ( FAILED(hr) )


FAIL( TEXT("%S: ERROR %d@%S – failed to set the rendering prefs. (0x%08x)" ), __FUNCTION__, __LINE__, __FILE__, hr );






June 16, 2012

MIPI camera(CSI2) working with OMAP35x/37x on WinCE 6.0

Filed under: WinCE 6.0 — Prabu Kumar @ 11:18 pm
Tags: , , , , ,

Since MIPI camera interface(CSI2) is not officially supported by TI on the OMAP35x/37x processors ,we had a little bit a struggle in getting the same working. We developed a DirectShow Camera driver on WinCE 6.0 to get the MIPI camera working in TI OMAP35x/37x EVM kit.

Check out this blog post for images of the same.

Blog at