Category: Embedded System

  • Microcontroller + FPGA

    The microcontroller performs the task of minimization of peripherals on the PCB by miniaturization and integrating them in one housing. FPGA on the other hand is used to implement digital logic. Since FPGA can be programmed in a remote location using standard tools. And the growing market of the FPGA has made the tools required…

  • Introduction to Embedded System

    An embedded system is a combination of software and hardware to perform a specific task at a instant of time. There are two types of embedded system: Real-TimeThese are the system in which the output has to reach the desired set-point within an allocated time. Non Real-TimeIn the system the output doesn’t depend on the…

  • How to use gdb debugger in raspberry pi for ARM assembly programs

    After you have written your program. You try to run your program, sometimes the output produced by your program is not as you would have desired. That’s when you use the debugger to look into the code and figure out what went wrong. Debugging gives you an insight look into the low level programming instructions…

  • Stack implementation without pointer

    Stack is a type of data structure, where data is stored in Last In First Out fashion. In embedded system there are different kind of stacks available. They are implemented in hardware and software. The hardware implementation of stack is faster than software stack; but the size of stack in hardware is limited. There are…

  • The command-line argument in C

    Lets say if we want our program to work with other programs and other program call our program. Then just like how we provide arguments in function call; we can call our program and the arguments can be given using the command line. argc contains the number of argument passed to the main function. argv…

  • Union

    Union is another user defined data type. The difference between union and struct is that; struct uses a contagious memory allocation for each individual item inside it; whereas union uses the size of biggest element for allocation of memory.

  • Convert program written in C into assembly

    Sometimes to understand code , you need to look into assembly language. I write mostly using C. So sometimes to better understand the program i converte the program into assembly. The syntax changes from machine to machine. Here is the program that i will use to convert to assembly using two different machine. One is…

  • Struct

    Variables are used for storage of individual data elements. But what if we want to group different data element and use them as a individual element. Nesting Struct is a way of creating more complex data structure.

  • First Program in C language

    The very first program in every language is “Hello World”. You can compile this program very easily.

  • Operating System and Embedded System

    An operating system is a software that runs directly on the hardware. It comes in between user software and hardware. The operating system is a combination of different software’s. Every software that operating system has to perform functions to manage the memory, processing time and complete utilization of resources without any deadlock situations. At the…