Embedded Software Engineering
Embedded Software Engineering
Engineering
Ingo Sander
[email protected]
Some Pitfalls
Some Pitfalls
Does it take more time to add two 32-bit numbers than two 16
bit numbers?
How much time does it take to add two floats, integer and
float?
Some Pitfalls
Some Pitfalls
Some Pitfalls
Some Pitfalls
10
Some Pitfalls
11
Some Pitfalls
12
Some Pitfalls
#5 No code reviews
13
Some Pitfalls
Interrupt handlers are often overloaded with code and even make
I/O requests
Interrupt handlers reduce the schedulable time for normal
periodic tasks
Interrupts are very difficult to debug
Minimize the use of interrupts
Interrupt handler shall be short and shall only be used to signal
another task that a specific event has occurred
Take interrupt overhead into account
14
Some Pitfalls
15
Some Pitfalls
16
Some Pitfalls
17
18
This is important
19
Read Further
20
21