Invention Grant
- Patent Title: Tracking method for embedded system
- Patent Title (中): 嵌入式系统跟踪方法
-
Application No.: US11896321Application Date: 2007-08-31
-
Publication No.: US08099717B2Publication Date: 2012-01-17
- Inventor: Hung Kai Shen
- Applicant: Hung Kai Shen
- Applicant Address: TW Hsinchu
- Assignee: Arcadyan Technology Corporation
- Current Assignee: Arcadyan Technology Corporation
- Current Assignee Address: TW Hsinchu
- Agency: Rosenberg, Klein & Lee
- Priority: TW96112913A 20070412
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
A tracking method for embedded systems is disclosed. A stacking way is used for viewing and tracing. In the beginning, a program counter (PC) and a stack segment of a function are found out. Then an instruction of the function is learned according to the stack segment and further stack size of the function is calculated. In accordance with the stack size, a stack frame is viewed to find out a recursive program counter of a previous function. Next according to the recursive program counter, an entry point of the previous function is calculated. Therefore, the system knows the memory block is required by which function and further finds out what causes computer shut-down or program errors. Moreover, stack status before the error occurred in the stack frame is got so as to get a returning path that enables the processor going back to status before the error occurred.
Public/Granted literature
- US20080256519A1 Tracking method for embedded system Public/Granted day:2008-10-16
Information query