Thursday, April 27, 2017

What is AJAX ?

What is AJAX ?

AJAX = Asynchronous Javascript And Xml Ajax is not a tehnology by itself but rather a combination of existing technologies (HTML/CSS/DOM/Javascript/XML/JSON). What is it intended for ? Ajax is typically used to refresh data on a web page without having to reload the entire page (e.g. asynchronously). It involves

Monday, April 10, 2017

What is inside a WCE7 BSP

What is inside a WCE7 BSP

The BSP (Board Support Package) is the layer that will interface the Operating System with the hardware. It consists of the following items: [Optional] Bootloader OAL (OEM Abstraction layer) KITL to debug the OS in development phase Configuration files that specifies the board (Ex: config.bib for memory settings)

Friday, April 7, 2017

WCE : Build process

WCE : Build process

Build process BSP top Folder BSP Folder Description CATALOG BSP's catalog file (.pbcxml) CESYSGEN BSP's makefile FILES Files to be copied to the final image (nk.bin). Here are the main BSP configuration files. See What is a BSP ? SRC Files needed to build the BSP BSP SRC
WCE7 : Clone existing BSP

WCE7 : Clone existing BSP

Platform Builder offers a wizard to clone an existing BSP. By doing so, we ensure that the original BSP won't be modified and we can tweak the new one for our needs. The menu is accessible from VS2008->Tools->Platform Builder->Clone BSP: Note: If your source BSP is not in
Windows CE 7 Architecture

Windows CE 7 Architecture

Windows CE5 was based on a microkernel architecture. In this type of architecture, the device drivers run in user mode which means that I/O handling routines are embedded into user-mode applications. It also means that the synchronization between the processes that share driver access needs to be done
WCE7 detailed boot procedure

WCE7 detailed boot procedure

Here is a detailed description of how, theoretically, Windows CE boots on a device.. BUILD-TIME: 1. ROMIMAGE fixes up binaries in the OS image An EXE or a DLL can be fixed up, which means that they are modified to adjust the variables and functions addresses depending on
WCE7 : Types of drivers

WCE7 : Types of drivers

The Windows CE device drivers model takes into consideration 3 types of drivers: Type of driver Description Native drivers Built-in device drivers. They implement a feature-specific interface (Device Drivers Interface, DDI). They are loaded by GWES. Typical built-in drivers are: - Display driver - Touchscreen driver - Keyboard
WCE7 : Customize your BSP

WCE7 : Customize your BSP

We suppose here that all the components required for your OSDesign are already in the catalog of your source platform. This is basically the case when you clone an existing BSP. To customize your BSP, you will have to check the features you want to include in your OS
WCE7 : How to write a device driver

WCE7 : How to write a device driver

Quick introduction An application interacts with a device driver thanks to file system functions (CreateFile, ReadFile, WriteFile,...). To identify the driver to be opened, the application needs to specify a file name to CreateFile: * [Usual format] "XXXy:" : with X a capital letter and y a number
WCE7 : Develop a touchscreen driver

WCE7 : Develop a touchscreen driver

The Compact 7 touch driver architecture includes a touch driver and a touch proxy driver (WinCE 6 legacy interface). Component Description Touch driver Stream interface driver implemented as a layered driver. MDD exports standard stream interface functions (Init, PreDeInit, PreClose, Close, PowerDown, PowerUp, Read and IOContol). Since this
WCE7 : How to debug the BSP

WCE7 : How to debug the BSP

Debugging is a key part in driver development. It helps to step into the code at runtime and analyze the memory stacks.   How to enable debugging ? Debugging is handled by KITL (Kernel Independent Transport Layer) in Windows Embedded Compact. KITL makes the connection between host and
WCE7 : Stamp license key

WCE7 : Stamp license key

From Visual Studio After you building a Release version of NK.Bin, the license key can be "stamped" using Platform Builder : Here are the steps: Make sure that you have selected a Release configuration of your OS design to build a run-time image from. (WINCESHIP option shall be
WCE7 : Connection loss with device on breakpoint

WCE7 : Connection loss with device on breakpoint

Connection with device lost on Breakpoint After a successful deployment of the application to the remote device, the application starts (no breakpoint set so far).However, if the user sets his first breakpoint in code, the debugging session immediately ends due to a "Connection lost" issue. There is a
TPS65217 : The power management chip on BBB

TPS65217 : The power management chip on BBB

TPS65217 is mounted in its C revision on BeagleBlone Black rev C and BeagleCore. This chip is in charge of power up/ power down and handles the voltages needed by the board.For this note, we will ignore the push button action on the chip as we are not using
WCE7 : Disable the Input panel (SIP)

WCE7 : Disable the Input panel (SIP)

SIP=System Input Panel.It is the official virtual keyboard that pops up in windows CE when we are in edition mode. To disable it, the registry need to be edited. The following key needs to be changed: [HKEY_CURRENT_USER\ControlPanel\SIP] "TurnOffAutoDeploy"=dword:0 to [HKEY_CURRENT_USER\ControlPanel\SIP] "TurnOffAutoDeploy"=dword:1 When the modification has been saved, the input
Hard drive layout and boot requirements

Hard drive layout and boot requirements

How does software boot from hard drive ?What are the requirements to boot any operating system from a hard drive ?What means MBR, FAT, cluster, sector ... ?   MBR, the cornerstone The Master Boot Record is a memory zone located at: Logical address 0 (if the hard
WCE7 : Read CPU registers on BeagleBone

WCE7 : Read CPU registers on BeagleBone

Sometimes, it may be useful to watch the CPUs registers to confirm that a peripheral is configured properly or to monitor a signal change from the CPU point of view. Here are some hints to achieve that easily. Monitor MPU registers MPU is the central processing unit in
Pages (14)123456

 
biz.