EmbLogic's Blog

Author Archives: Pooja Gaur

IEEE 1284-1994 std. device driver for 74LS244 Parallel port- BYTE MODE

RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: File contains header file and macros used —————————- revision 1.2 locked by: root; … Continue reading

Posted in Device Drivers, Parallel Port Driver | Leave a comment

Command to know CPU Architecture & Endianness

lscpu: lscpu gathers CPU architecture information like number of CPUs, threads, cores, sockets, NUMA nodes, information about CPU caches, CPU family, model, bogoMIPS, byte order and stepping from sysfs and /proc/cpuinfo, and prints it in a human-read?able format. Cmd to … Continue reading

Posted in Uncategorized | Leave a comment

IEEE std. 1284-1994 std. Signaling method for 74LS244 – NIBBLE MODE

RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 1 description: This is header file, which contains all the header file used in driver … Continue reading

Posted in Device Drivers, Parallel Port Driver | Leave a comment

CREATING STATIC LIBRARY

Static libraries are collection of ordinary object files. For a static library, the actual code is extracted from the library by the linker and used to build the final executable at the point you compile/build your application. Steps: 1.Creates .c … Continue reading

Posted in Linux Internals and System Programming, Uncategorized | Leave a comment

IEEE 1284 device driver for 74LS244 parallel port- Compatibility mode

Implementing read and write operations for Compatibility mode.In compatibility mode , the data is sent character by character on a hardware which consists of 8 led. It is tested by sending data on LEDs connected on a hardware. RCS file: … Continue reading

Posted in Uncategorized | Leave a comment

Difference between Hardlink & Softlink/Symbolic link

Hard link is a directory reference or pointer to a file. Hardlink is a label stored in a directory structure that refers the operating system to the file data when it is accessed. Symbolic links are automatically resolved by the … Continue reading

Posted in Uncategorized | Leave a comment

Program of concatenate 2 string without strcat

RCS file: fun_3.c,v Working file: fun_3.c head: branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 0 description: Program to concatenate two strings without strcat =============================================================================

Posted in Uncategorized | Leave a comment