EmbLogic's Blog

Author Archives: prakhar_saxena

Character Driver VS Block Driver

There are two main types of devices under all systems, character and block devices. Character devices are those for which no buffering is performed, and block devices are those which are accessed through a cache. Block devices must be random … Continue reading

Posted in Device Drivers | Leave a comment

Interrupts in Parallel Port

A parallel port can generate interrupts when the voltage level on a certain input pin changes. The parallel port has to be instructed explicitly to generate interrupts and it is also possible to inhibit interrupts (e.g., while serving a previous … Continue reading

Posted in Parallel Port Driver | Leave a comment

Kernel Timers

Timers are used to schedule execution of a function (a timer handler) at a particular time in the future. They thus work differently from task queues and in that you can specify when in the future your function will be … Continue reading

Posted in Character Driver | Leave a comment

What is Python?

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting … Continue reading

Posted in Uncategorized | Leave a comment

LSEEK() system call

The lseek() function repositions the offset of the file descriptor fildes to the argument offset according to the directive whence. The argument fildes must be an open file descriptor. Lseek() repositions the file position pointer associated with the file descriptor … Continue reading

Posted in Data Structures with C | Leave a comment

Memset,Memmove,Memcopy Function

The memset() Function To set all the bytes in a block of memory to a particular value, use memset(). The function prototype is void * memset(void *dest, int c, size_t count); The argument dest points to the block of memory. … Continue reading

Posted in Project 11: A Character Device Drivers Based Project | Leave a comment

Threads Vs Processes

Difference Between threads and processes Following are some of the major differences between the thread and the processes : Processes do not share their address space while threads executing under same process share the address space. From the above point … Continue reading

Posted in Project 04: FTP based Client Server using Threads and Sockets | Leave a comment

Socket

A socket is one end-point of a two-way communication link between two programs running on the network. A server application normally listens to a specific port waiting for connection requests from a client. When a connection request arrives, the client … Continue reading

Posted in Project 04: FTP based Client Server using Threads and Sockets, Uncategorized | Leave a comment

GRUB

GNU GRUB is a bootloader capable of loading a variety of free and proprietary operating systems. GRUB will work well with Linux, DOS, Windows, or BSD. GRUB stands for GRand Unified Bootloader. GRUB is dynamically configurable. This means that the … Continue reading

Posted in Project 9: Embedded Linux on ARM | Leave a comment

Message Queues

Message queue is a circular queue which transfer data by giving a tag,tag is generally the id of the data package to be transfered and it differentiates the data from one another. Message queuing allows distributed applications to communicate asynchronously … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Semaphore

Its a synchronization mechanism in which one process can access shared resource at one time and other processes are in a wait stage.Its used in synchronizing multiple processes.The processes are in a queue,when semaphore increments or when its greater than … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

fork

fork is an operation or a process which creates a copy of itself. It is usually a system call, implemented in the kernel. Fork is the primary method of process creation on Unix-like operating systems. If fork() returns a negative … Continue reading

Posted in Data Structures with C | Leave a comment

Bit Recognition Time

Time taken to give low input or low voltage plus closing of a switch and the propagation time is known as Bit Recognition Time(BRT).The switch is connected to the Flip Flop,thus input is entered into the flip flop. If threshold … Continue reading

Posted in Data Structures with C | Leave a comment