Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 7

EMBEDDED FIRMWARE DESIGN

APPROACHES :
There are two approaches:

1.Conventional Procedural Based Firmware


design
(Super loop model)

2.Embedded Operating System (OS) Based


design
Super Loop Model :

* It is adopted for applications that are not


time critical.

* Missing deadlines are acceptable.

* The code is executed task by task.


The firmware execution flow:
1.Configure the common parameters & perform initialisation.
2.Start the first task and execute it.
3.Execute the second task.
4.Execute the next task.
5.....
6.....
7.Execute the last defined task.
8.Jump back to the first task & follow the same flow.
Example C program:
int main()
{
/*PINs configuration, interrupts, timers initialization etc*/
initialize();

/*Super/Infinite Loop*/
while(1)
{
/*application's tasks*/
...;
anything();
...;
}
It is very simple to use, edit, debug and
understand.

Less or no dependencies on the hardware.


The embedded operating
system(OS) based approach:
It contains OS to host the user written
application firmware.

OS can be either General purpose or Real time


OS.

You might also like