industrialNETworXnetx

David

David

| 12.02.2008 | 17:06 | 2 replies

Headless Operating Systems

Hi, I was wondering if you have an example of a headless platform builder file for winCE 5.

We purchased a developement board without a display and the BSP CD we have only has examples of operating systems with displays included.

We are using NDCM500HMI board.

I have made an attempt at creating a headless OS and cropping one of your exsisting examples to be headless and repeatly get an error.

Error: Could not find file 'C:\WINCE500\PBWorkspaces\HeadLess\RelDir\NetXBSP_ARMV4I_Release\KbdNopUs.dll' on disk
kbdmouse.dll C:\WINCE500\PBWorkspaces\HeadLess\RelDir\NetXBSP_ARMV4I_Release\KbdNopUs.dll NK SH
Error: failed setting line
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).

I have yet to find a solution to this problem and a headless example would be of great help to me.

or if someone has already solved this problem, the information on how to get around it would be brilliant.

Thanks David

M T

M T

Hilscher Gesellschaft für Systemautomation mbH

| 13.02.2008 | 08:45

Hi David,

The Problem with your headless device configuration is the following:

Platform Builder tries to include a keyboard stub driver per default. On Headless Configuration this one is not built,thus failung in adding it to the image.

The following environment variables (set them in Platform Settings/Environment) will prevent unneccessary (for headless devices) dll's to be integrated into the Image:

BSP_NOKEYBD = 1
BSP_NOMOUSE = 1
BSP_NOTOUCH = 1

These Variables can be found in the MSDN under the category of "Driver Catalog Items", or search for BSP_NOKEYBD.

The variables in this section control the files being placed in the ROMImage (nk.nb0/bin). You can also take a look at the Public\common\oak\files\common.bib to see which files can be excluded by setting an environment variable.

Regards

MT

David

David

| 13.02.2008 | 13:08

Thanks for your help, adding those variables allowed the operating system to build correctly.

Login