Dinu Capatina - Embedded software bug fixing

Post on 17-Jun-2015

178 views 0 download

Tags:

Transcript of Dinu Capatina - Embedded software bug fixing

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