Windows C++ :Enumeration USB child device

Introduction: This blog is related to listing USB child device for particular parent (USB HUB). I had some requirement in one of my project for this. So i thought of writing this. I’m using  SetupDixxxx APIs to implement this in C++. Under USB HUB there could be list of device available. After getting device id of […]

Unicode and ANSI string operation

In windows Unicode concept used a lot in application. Unicode is worldwide character-encoding standard.Used for string and character manipulation. Difference between different types is given in below link: Unicode, UTF, ASCII, ANSI format differences Size: Wide character : 2 bytes ASCII character: 1 byte Problem: In programming side sometimes we have problem when dealing with […]

Windows Driver debugging

For Windows Driver Developers BSOD(Blue Screen Of Death) is really headache to solve.To solve issue with any device driver it’s always suggested to go with Debugging techniques. WinDbg is really good tool for driver debugging.That is used for Windows user mode and kernel mode debugging. There are different ways to debug kernel mode driver.One of […]

Add Loadable Kernel module to Linux source code

Loadable kernel module (or LKM) is an object file that contains code to extend the running kernel, or so-called base kernel, of an OS. LKMs are typically used to add support for new hardware and/or filesystem, or for adding system callls. When the functionality provided by a LKM is no longer required, it can be […]

Check SPI driver for Raspberry PI B+

The Serial Peripheral Interface (SPI) bus is a synchronous serial communication interface specification used for short distance communication, primarily in embedded system. The interface was developed by Motorola. In latest trends,for development purpose Raspberry pi becomes most acceptable platform. Many sensors can communicate with raspberry pi using spi protocol. For doing experiment with SPI protocol,first […]

For Craneboard configure to enable TFTP

TFTP(Trivial File Transfer Protocol): TFTP is protocol which allows Client to get or put files onto or put file onto remote host(network). If u-boot is not configure in such a way that it can transfer file (like uImage) from Client PC to craneboard, need to configure   u-boot. To do that need to follow below […]