dinu capatina - embedded software bug fixing

Post on 17-Jun-2015

178 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Embedded Software Bug Fixing

Dinu Capatina

10th of November 2012

Top causes of nasty embedded software bugs

Race condition

Symptoms : radio mode 0h0m0s

First approach

TRON

I-TRON / µITRON

OS Kernel

Japanese open Standard for RTOSHard real-time

Priority basedEvent driven

Ready queue

Timer interrupt wlftime = TCK_DEN*slp

Sleeping taskswlftime = 0x28431f70 ms

Memory map

SYSMT

IRQSTKFFF000CF

TCK_NUM

TCK_DEN FFF000C0

SP = FFF000C0

System status

Best practice : 0xDEADBEEF

Questions ?

Diamond Sponsors

Platinum Sponsors Gold Sponsors

Training Partners Media Partners Other Partners

top related