September 2008 Entries

Chat Opportunity with the WIndows CE Team at Microsoft
On September 30, 2008 Microsoft is giving us an opportunity to chat with some members of the Windows CE development team. These chats are a great opportunity for us to communicate with the team and ask questions about development issues with Windows CE. Date and time: September 30, 2008 9:00 A.M. Pacific Time Add this to your calender: Add to Calendar For full details and a list of other chats: www.microsoft.com/communiti... ......

Posted On Friday, September 12, 2008 11:47 AM

Filtering Public Files
Michel Verhagen at GuruCE has just published a very nice blog post about Filtering Dat Files. In the article, he shows how to use a batch file to remove lines from the Public DAT files during makeimg. Note that this technique can be used to filter lines out of other file types as well, including bib and db files. Tags: Makeimg, Dat Files Copyright © 2008 – Bruce Eitman All Rights Reserved ......

Posted On Thursday, September 11, 2008 12:59 PM | Comments (0)

Platform Builder: Cesysgen.bat, what happens when a SYSGEN Variable is set?
There isn’t any magic that occurs when you set a SYSGEN variable, or drag a component from the catalog into your project. I know that sometimes it sure seems like it, but if I know anything about computers I know that there isn’t any magic involved. Instead, there are some batch files, makefiles, and few applications that work together to define the OS that you want to build and then to build it. During the sysgen of your project, a file in your project (OSDesign or PBWorkspace) is used to convert ......

Posted On Tuesday, September 9, 2008 11:00 PM | Comments (0)

Platform Builder: Understanding the Serial Debug Port
Recently, there have been a few questions in the newsgroups about the serial debug port. The questions were along the lines of: · Which COM port do I use for debug output? · How do I change the COM port that is used for debug output? These are actually quite common questions, so I thought I would address these. Every CPU and/or UART is different so I won’t give you a how to lesson, but I will provide you with enough information to look inside your BSP to figure it out for yourself. First, let’s address ......

Posted On Monday, September 8, 2008 9:32 PM | Comments (2)

My Blog: How to search within a blog
This weekend I received an email from one of my blog’s readers asking my how to search for content on my blog. To be honest, my first reaction was to wonder why someone would ask me such a silly question. But then I thought on it and realize that I didn’t know the answer, but I was pretty sure that Google could do it. For the few of you that watched the video that Microsoft produced where I answered some questions that were asked of me off camera, I said that the most important tools that a Platform ......

Posted On Monday, September 8, 2008 8:08 PM | Comments (0)

Windows CE: Data Synchronization using Interlocked Functions
Windows CE provides several ways to synchronize threads and access to data by multiple threads. These include the synchronization objects that are typical for a multithreaded operating system: mutex, semaphores, events and critical sections. These synchronization objects may be overkill for protecting access to a single variable. The Interlocked functions can be used to control access to a single 32 bit variable. The interlocked functions are: Function Name Action InterlockedCompareExchange Compares ......

Posted On Wednesday, September 3, 2008 8:42 PM | Comments (0)

Platform Builder: Data Misalignment
I ran into a problem today with data misalignment. The problem would have taken a lot of time to find if I wasn’t already familiar with the problem (kicking myself now.) I was porting an existing driver into an old platform to update the platform. So I know that the driver works, but when it started it would data abort. This particular driver is quite large and complex, so a simple read of the code would not be possible in a reasonable amount of time. I have some experience with tracking the cause ......

Posted On Wednesday, September 3, 2008 4:04 PM | Comments (2)