Tuesday, November 21, 2017

Host a django app in Apache [Windows]

Host a django app in Apache [Windows]

This article explains how to host a django application in Apache server. The following steps are valid for both 32 and 64 bits machine but be sure to install all of the tools for the same architecture. For the following steps, we imagine that our project is located in

Thursday, October 26, 2017

WCE7 : Add chinese characters support

WCE7 : Add chinese characters support

This article explains how chinese characters can be added to WinCE7 OSDesign. Without this feature, the views would display empty square shapes instead of chinese text, meaning that the decoding of input strings failed. Project properties Right-click on your OSDesign project and select Locale in the left panel. On

Thursday, October 5, 2017

Application logs

Application logs

Logging is a fundamental mechanism for the application. It brings valuable information to support teams when something goes wrong and saves a lot of time in bug investigation. But this utility can easily turn into a "spam engine" if the developers do not carefully select what/when/how much to log.

Friday, July 21, 2017

Build U-Boot for BeagleCore

Build U-Boot for BeagleCore

BeagleCore is a variant of the BeagleBone Black. It consists of 2 modules : BCM1 and BCS2: * BCM1 is the System-On-Module that contains most of the BeagleBone Black design * BCS2 is a mainboard with the form factor of the original BeagleBone Black. The BCM1 is soldered on

Tuesday, June 20, 2017

Machine learning basics

Machine learning basics

There are several types of machine learning but we will focus on the followings in this article: Supervised learning Unsupervised learning Reinforcement learning Supervised learning Basically used to make predictions about future data from labeled/categorized training dataset. A dataset is a table where: each row is a sample each

Thursday, June 15, 2017

Django + Js : display counting timedelta in view

Django + Js : display counting timedelta in view

Suppose you have an entry in DB with a timestamp 'start_date'. You want to display the time elapsed since 'start_date' in your view and you want that delay to grow in real time like a clock. In the following example, the user can select one entry at a time

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
Pages (14)123456

 
biz.