EmbLogic's Blog

Author Archives: gurpreet.singh

To Project Manager:- Regarding Project…(E1 Batch)

sir, Our project is on Beagle Board xM with ARM CORTEX A8 processor, we have to put our own linux OS on this Board and run the functionality of the Billing machine on this Board. In this project we will … Continue reading →

Posted in Uncategorized | 2 Comments

Parallel Port “nibble mode” query…

sir, in initialization and exit function i m sending 0 on data register. after it without changing data register from one pc, when i read status register from 2nd pc, sometimes it read 1111 in first nibble and some time … Continue reading →

Posted in Uncategorized | 1 Comment

driver’s problem…

driver is registered when i tried it in single file… but when i split the file in start.o and stop.o then it gives error ” -1 file exist “

Posted in Device Drivers | 1 Comment

today’s work…

implemeted socket’s inet …

Posted in Uncategorized | Leave a comment

Elarm-12, Group C (Members)

Project Title:- (Serial Port Device Drivers) Members:- Gurpreet singh Manoj Kumar Pankaj Hooda Pulkit Agarwal Arun Goyal …Thank you…

Posted in Uncategorized | Leave a comment

program not comparing with null…

#include<stdio.h> int main() { char a[]=”hello hellothethe hello the hello the hello”; char b[]=”the”; int c=0,i,j=0; for(j=0;a[j]!=”;j++) { /* if(a[j]==’\t’||a[j]==’\n’||a[j]==’ ‘) { printf(“space\n”); continue; } // else */ // { i=0; while(b[i]!=”) { if(b[i]!=a[j]) break; i++;j++; } if(b[i]==”) { c++; … Continue reading →

Posted in Data Structures with C | 1 Comment

loop counting 1 extra…why?

char *a,*b; int c,n,i; printf(“enter the word to be find: “); a=malloc(10*sizeof(char)); b=malloc(100*sizeof(char)); printf(“Address of b %d”,b); fgets(a,10,stdin); puts(a); i=0; printf(“len of the str:%d \n”,strlen(a)); //for(i=0;*(a+i)!=”;i++) while(*(a+i)!=”) { printf(“length= %d\n”,i); printf(“length======== %c\n”,*(a+i)); i++; }

Posted in Device Drivers | 1 Comment