Wednesday, July 30, 2008

[ XP Embedded ] Feature Pack 2007 Database Installation Problem! - SOLVED

Lately, I was moving my XPE development to my new laptop with Windows XP OS. So first, I installed SP1(Service Pack 1) then SP2 then SP1 MUI(Multilingual support) and SP2 MUI. Lastly I when I was installing Feature Pack 2007, the Database update would always fail. A pop-up warning saying "A new platform object needs to be installed before this update ........ " will appear and installation will stop. This kept me going round in circles in installing and uninstalling the Service Packs for almost 3 days. Finally, I realize that I have not modified the Sharing property of the Repository Folder. The Repository folder (C:\Windows Embedded Data\Repositories) after installing SP1 should be modified such that it will allow change for the update to reflect. Here's how to do it:

1. Right Click on Repository folder.
2. Go to Sharing->Permission.
3. Make sure you enable (tick) on "Change" under permission.
4, Then go to Security tab >Advance.
5. Tick on "Replace Permission .... "
6. Apply All changes.
7. Re-install SP2 Database.
8. Install Feature Pack 2007 database.

This should fix it.

Tuesday, July 29, 2008

[Windows CE ] Flash Drivers

I just had a question from one developer about NANDFlash on WinCE yesterday. It took me quite sometime to check this out. So I'll just post some links in here.

Flash Media Driver Reference:
http://msdn.microsoft.com/en-us/library/aa931998.aspx
Flash Media Driver IOCTLs:
http://msdn.microsoft.com/en-us/library/aa927166.aspx
Flash Media Driver Functions:
http://msdn.microsoft.com/en-us/library/aa912628.aspx

[Windows CE ] What is ceconfig.h?

How will you know what components are in my CE image?

This is how ceconfig.h file comes in handy. This file list all the components that are included with your CE image. In cases where an application may run well on one system(say x86) but when moved to other system(say SH4) it just won't work. The possible cause for this issue might be that the BSP provided for the SH4 system lacks a few components which were available in the x86 system. To verify this, you can compare the ceconfigs used on both system and you should be able to find a hint from it.

Here's a snapshot of this file:

#ifndef __CECONFIG_H__
#define __CECONFIG_H__
// CEFilter Component List:
#define CE_MODULES_COREDLL 1
#define CE_MODULES_KCOREDLL 1
#define CE_MODULES_NK 1
#define CE_MODULES_NKLOADER 1
#define CE_MODULES_OEM 1
#define CE_MODULES_OALIOCTL 1
#define CE_MODULES_FPCRT 1
#define CE_MODULES_CONSOLE 1
#define CE_MODULES_CMD 1
#define CE_MODULES_COMMCTRL 1
#define CE_MODULES_COMMDLG 1
#define CE_MODULES_SHELL 1
#define CE_MODULES_LOADDBG 1
#define CE_MODULES_SHELLCELOG 1


Sunday, July 27, 2008

Ahoo!

I would like to dedicate this blog to all the wondering minds out there looking for solutions for embedded designs and development. Although everything is almost in the net, sometimes Google just brings out so many search results that looking for the best solution eats up a lot of time. I hope through this blog I can be of help in some way to provide enlightenment.

- Marlon