posts - 20 , comments - 57 , trackbacks - 0

Microsoft

Debugging PCI bus with Windows CE
This time I will write about something I don't understand :-( Or at least not completely. Some time ago I was debugging a new Intel hardware platform (Adlink ETX-BT, Celeron J1900) and I experienced unexpected hangups during boot of the DEBUG version of my WINCE800 image. The RELEASE version never gave problems and started properly. After narrowing down the problem, I came across this piece of code inside PCIBUS.DLL (pcicfg.c line ±800) ... // Set the bus numbers & secondary latency // Need to ......

Posted On Wednesday, October 21, 2015 9:56 AM | Comments (0) | Filed Under [ Windows CE Windows Embedded Compact Microsoft Visual Studio 2012 Visual Studio 2013 Intel PCI Debugging ]

x86 bootloader for WCE8
This blog will reveal how to build the Windows CE bootloader for x86 that shipped with Windows CE 6. This bootloader also works for Windows CE 7 and 8 (CE2013) Locate the x86 bootloader code in WINCE600\PLATFORM\CEPC\SRC\... and copy it "as is" to WINCE600\PLATFORM\<YourB... Making any changes now to <YourBsp> prevents that the CEPC sources are "polluted" with your changes. You can also copy the BOOTLOADER sources to a Windows CE 7 or 8 platform directory. The bootloader ......

Posted On Monday, August 3, 2015 8:48 PM | Comments (0) | Filed Under [ Windows Embedded Compact Embedded Microsoft BootLoader ]

PCI Latency Timer
In my previous blog I mentioned I was involved in searching for Windows socket data that got corrupted upon reception in a Windows CE 6 executable. The short explanation is that the Realtek 100MBit (RTL8139, RTL8101) network interface card simply couldn’t swallow high load bursts of TCP packets (The long explanation took weeks...). The Realtek card couldn’t transfer its data fast enough to the cpu’s main memory for further handling by NDIS and the Windows CE 6 TCP/IP stack. The loss of data showed ......

Posted On Tuesday, July 1, 2014 9:29 PM | Comments (0) | Filed Under [ Windows CE Windows Embedded Compact Microsoft NDIS TCP/IP ]

NDIS Packet Capturing DLL
Recently I was involved in searching for Windows socket data that got corrupted upon reception in a Windows CE 6 executable. The data was transmitted from a Windows 7 desktop PC. At first it was not clear where the problem was located. Was it the Windows 7 (C#) application? Was it the Windows 7 TCP/IP stack? Was it the Windows 7 NDIS? Was it the Windows 7 network interface driver? Was it the Windows 7 PCI interface between the network card and the cpu (main memory)? Was it the Windows 7 network interface ......

Posted On Tuesday, July 1, 2014 9:25 PM | Comments (0) | Filed Under [ Windows CE Windows Embedded Compact Microsoft NDIS TCP/IP ]

APIC for x86 BSP (how to build it for WCE8)
As promised I will talk about how to replace the “old” PIC (Peripheral Interrupt Controller) with the “new” APIC (Advanced Peripheral Interrupt Controller) in a CEPC (x86) BSP. I will refer to the “MyBSP” BSP in my explanation, your clone of the CEPC BSP. As APIC is mostly only available for (Intel) x86 platforms, this talk will only be valid for x86, not ARM. The Windows CE Boot to Kernel startup phase There are a few good MSDN links that explain quite a bit about the Windows CE startup phase. This ......

Posted On Monday, June 23, 2014 8:39 PM | Comments (7) | Filed Under [ Windows CE Windows Embedded Compact Embedded RTOS Microsoft APIC ACPI ACPICA BSP Visual Studio 2013 ]

Installing the Windows Embedded Compact Edition 2013 Update for Visual Studio 2013
I wanted to install the Windows Embedded Compact Edition 2013 Update that is compatible with Visual Studio 2013. But I discovered that the install process is poorly described. What follows is what I found out (most of it) myself. The Windows Embedded Compact Edition 2013 download link itself has been updated with a more recent image named “Windows Compact Edition 2013 Update 5”. So you just need to re-download through the original link where you could find the original image (year 2012). I installed ......

Posted On Sunday, April 27, 2014 7:45 PM | Comments (2) | Filed Under [ Windows CE Windows Embedded Compact Microsoft Visual Studio 2012 Smart Device application Visual Studio 2013 ]

SetDbgZone
In my previous post I spoke about finding a problem with the Intel UHCI USB driver. In this post I will explain how we found the cause of problem and what tools we used. Already a long time ago I wrote a little tool called ‘SetDbgZone.exe’. What is it and why did I wrote it? Well, sometimes your Windows CE image drivers suffer from intermittent problems that you didn’t encounter when you were developing and testing the driver. Even worse, a bug shows up in a RELEASE build and not in a DEBUG build. ......

Posted On Tuesday, December 31, 2013 4:51 PM | Comments (0) | Filed Under [ Windows CE Windows Embedded Compact Embedded Microsoft CeLog ]

Building Windows CE 6 or 7 Smart Device Application with Visual Studio 2012 (Part 2)
In Part 1 of this blog post we learned how to create a Visual Studio 2012 compatible Windows CE 6 or 7 SDK. Now I show you how you can create Visual Studio 2012 C++ projects (vcxproj) for it. Or if you want, how to upgrade your Visual Studio 2008 projects (vcproj) for Windows CE 6/7 to Visual Studio 2012 projects (vcxproj) for Windows CE 6/7. If you followed the steps in Part 1 carefully, you should have now the following situation (the same applies to Windows CE 7): A Windows CE 6 SDK folder compatible ......

Posted On Friday, September 13, 2013 10:19 PM | Comments (5) | Filed Under [ Windows CE Windows Embedded Compact Microsoft Visual Studio 2012 Smart Device application ]

Building Windows CE 6 or 7 Smart Device Application with Visual Studio 2012 (Part 1)
With every new release of Windows CE (Windows Embedded CE, Windows Embedded Compact Edition) version 4.x, 5.0, 6.0, 7.0, 2013 (aka 8.0), people ask what version of Visual Studio they should use for Smart Device development. And how much it is different from the Visual Studio you use for developing the OS image, or how much it is different from the latest Visual Studio version? For those people that don’t understand what I am talking, a summary: OS image : the image (NK.BIN) that will include kernel, ......

Posted On Friday, September 13, 2013 10:00 PM | Comments (25) | Filed Under [ Windows CE Windows Embedded Compact Microsoft Visual Studio 2012 Smart Device application ]

Windows Embedded Compact 2013 Smart Device application projects in Visual Studio 2012 (and their bugs)
After I built my first new Windows Embedded Compact 2013 image (named “MyDevice8”) and corresponding SDK, I was eager to test how you can build Smart Device applications with VS2012. I mean with that: without the need to install Platform Builder, but only the SDK and create a VS2012 Smart Device application project (as you would do for a desktop WIN32 project). Before you can start however creating a new “MyDevice8” based project, these are the installation steps to follow: Install Visual Studio ......

Posted On Friday, September 6, 2013 10:54 PM | Comments (9) | Filed Under [ Windows CE Windows Embedded Compact Microsoft Visual Studio 2012 Smart Device application ]

Full Microsoft Archive

Powered by: