RTOS Debugger for Symbian OS (EKA1)
Total Page:16
File Type:pdf, Size:1020Kb
RTOS-EPOC Technical Information Technical RTOS Debugger for Symbian OS (EKA1) ■ Real-time non-intrusive display of SymbianOS system resources ■ Symbian OS specific display of trace listing ■ Statistic evaluation and graphic display of thread run times ■ Thread related evaluation of function run times ■ Statistic evaluation and graphic display of thread states ARM ■ Thread stack coverage ■ Thread context display ■ PRACTICE functions for OS data ■ Symbian OS related pull-down menu The TRACE32 System includes a configurable RTOS debugger to provide symbolic debugging in real time oper- ating systems.Our software package contains a ready-to- run configuration for the Symbian OS Real Time Kernel (formerly called EPOC) from Symbian. In close cooperation with Symbian, we built a highly sophisticated Symbian OS awareness, which enables you to do a most effective debugging with the TRACE32 sys- tems on targets running Symbian OS. RTOS-EPOC 13.03.19 TRACE32 - Technical Information 2 RTOS Awareness on TRACE32 for Symbian OS Real Time, Non-Intrusive Display of Symbian OS System Resources The TRACE32 RTOS debugger for while the application is running, or by Symbian OS provides display functions using the emulators dual-port memory to show the system resources of Sym- (if available), the display of all these bian OS. All objects, such as pro- regions can be viewed non-intrusively cesses, threads, libraries and chunks in real time. The tables are updated can be displayed and inspected. In permanently (“On The Fly”), without addition, by using the processors capa- affecting the application at all. bility of reading the target memory Process list window and detailed window of one specific process Thread List and detailed window of one thread RTOS-EPOC RTOS Awareness on TRACE32 for Symbian OS TRACE32 - Technical Information 3 Thread Related Breakpoints Any breakpoint set in the TRACE32 breakpoint will then only halt, if hit by debugger can be set dependent to a the specified thread. This allows thread specific thread. This means, that the related debugging even in shared code. Thread Stack Coverage In real time systems it is quite impor- pose a special window shows the cur- tant to know, how much stack space rent and the maximum usage of each each thread consumes. For this pur- separate thread. Thread stack coverage window Thread Context Display The TRACE32 RTOS Debugger pro- are displayed related to the actual con- vides an easy way to to switch the cur- text (i.e. current executed thread). You rent displayed context to another can switch to the context of another thread. Normally all register related thread to see all this information at the windows (e.g. listing at current PC, time this thread was scheduled. local variables or function call stack) Debugging Drivers, Processes, Libraries and Applica- tions Due to the fact, that TRACE32 is a Additionally, TRACE32 has a special hardware debugging tool, you are able MMU support for several address to debug anything you want, including spaces, which allows you to debug sev- bootstrap code, initialization phase, eral Symbian OS processes and appli- interrupt routines, drivers, kernel, etc. cations at once. An internal logic TRACE32 includes a complete MMU provides you with an easy access to all support, providing mechanisms to process memory spaces. A special inspect the target memory using virtual process detection mechanism allows to addresses or physical addresses and halt the application exactly on the entry to show the translation tables. point of a process, allowing you to debug your process right from the beginning. RTOS-EPOC RTOS Awareness on TRACE32 for Symbian OS TRACE32 - Technical Information 4 Dynamic Thread Performance Measurement While Symbian OS is running, updated permanently. The longer time TRACE32 is capable of recurrently you let the measurement run, the more evaluating the current running thread exact are the results. This feature is and collecting the results. The percent- available even without any hardware age, each thread consumes of the sys- trace. tem, is then displayed graphically and Performance measurement list Symbian OS Specific Display of Trace Listing The data recorded in the trace buffer The thread switches are displayed can be displayed and interpreted spe- symbolically, either exclusively or in cific to the operating system. addition to other information. Statistic Evaluation and Graphic Display of Thread Run Times The analyzer can calculate statistic which thread was active at a specific tables of thread run times and thread time, giving a clear view of the behav- switches. A graphical diagram shows iour of the system. Thread Related Evaluation of Function Run Times The statistic and graphic evaluation of ferent threads call one single function function calls and function run times at the same time, or if a thread switch can be done dependant to the actual occurs in between the function. running thread. This is necessary, if dif- Statistic Evaluation and Graphic Display of Thread States These tabular and graphical analyses each thread spent in each state. A of the status of threads show the vari- graphical view of the data can help to ous states (i.e. running, ready, waiting, highlight prioritisation problems, criti- suspended and undefined) and times cal paths etc. RTOS-EPOC RTOS Awareness on TRACE32 for Symbian OS TRACE32 - Technical Information 5 PRACTICE functions for OS data. The support includes extended PRAC- (magic)” returns the address of the so TICE functions for Symbian OS specific called magic value, which corresponds data. E.g. the function “TASK.CONFIG to the id of the current executed thread. Symbian OS related pull-down menu Because the menu bar of the tem specific commands. We deliver TRACE32 user interface can be fully Symbian OS support with an example customized, you can create a new pull for such specific menues, which pro- down menu, including operating sys- vides fast access to the features. TRACE32 with Symbian OS menu RTOS-EPOC RTOS Awareness on TRACE32 for Symbian OS TRACE32 - Technical Information 6 Contact International Representative Argentina China Suzhou Anacom Eletronica Ltda. Lauterbach Technologies Co., Ltd Mr. Rafael Sorice Mr. Linglin He Rua Nazareth, 807, Barcelona Hengyu Square, Rm 709 BR-09551-200 São Caetano do Sul, SP No. 188, Xing Hai Street Phone: +55 11 3422 4200 Suzhou, 215021 P.R. of China FAX: +55 11 3422 4242 Phone: +86 512 6265 8030 EMAIL: [email protected] FAX: +86 512 6265 8032 EMAIL: [email protected] Australia Embedded Logic Solutions P/L Czech. Republic Mr. Ramzi Kattan Lauterbach GmbH Suite 2, Level 3 Altlaufstr. 40 144 Marsden Street D-85635 Höhenkirchen-Siegertsbrunn Parramatta NSW 2150 Phone: +49 8102 9876 130 Phone: +61 2 9687 1880 FAX: +49 8102 9876 187 FAX: +61 2 9687 1881 EMAIL: [email protected] EMAIL: [email protected] Denmark Austria Nohau Danmark A/S Lauterbach GmbH Mr. Flemming Jensen Altlaufstr. 40 Hørkær 26, Plan 4 D-85635 Höhenkirchen-Siegertsbrunn DK-2730 Herlev Phone: +49 8102 9876 190 Phone: +45 44 52 16 50 FAX: +49 8102 9876 187 FAX: +45 44 52 26 55 EMAIL: [email protected] EMAIL: [email protected] Belgium Egypt Tritec Benelux B.V. Lauterbach GmbH Mr. Robbert de Voogt Altlaufstr. 40 Stationspark 550 D-85635 Höhenkirchen-Siegertsbrunn NL-3364 DA Sliedrecht Phone: +49 8102 9876 130 Phone: +31 184 41 41 31 FAX: +49 8102 9876 187 FAX: +31 184 42 36 11 EMAIL: [email protected] EMAIL: [email protected] Finland Brazil Nohau Solutions Finland Anacom Eletronica Ltda. Mr. Martti Viljainen Mr. Rafael Sorice Tekniikantie 14 Rua Nazareth, 807, Barcelona FI-02150 Espoo BR-09551-200 São Caetano do Sul, SP Phone: +358 40 546 0142 Phone: +55 11 3422 4200 FAX: +358 9 2517 8101 FAX: +55 11 3422 4242 EMAIL: [email protected] EMAIL: [email protected] France Canada Lauterbach S.A.R.L. Lauterbach Inc. Mr. Jean-Pierre Paradiso Mr. Udo Zoettler Europarc - Le Hameau B 4 Mount Royal Ave. 135 Chemin Des Bassins USA-Marlborough, MA 01752 F-94035 Créteil Cedex Phone: +1 508 303 6812 Phone: +33 1 49 56 20 30 FAX: +1 508 303 6813 FAX: +33 1 49 56 20 39 EMAIL: [email protected] EMAIL: [email protected] China Beijing Germany Lauterbach Technologies Co., Ltd Lauterbach GmbH Mr. Linglin He Sales Team Germany Beijing Office Altlaufstr. 40 A3,South Lishi Road, XiCheng District D-85635 Höhenkirchen-Siegertsbrunn Beijing 100037, P.R. China Phone: +49 8102 9876 190 Phone: +86 10 68023502 FAX: +49 8102 9876 187 FAX: +86 10 68023523 EMAIL: [email protected] EMAIL: [email protected] Greece China Shenzhen Lauterbach GmbH Lauterbach Technologies Co., Ltd Altlaufstr. 40 1406/E Xihaimingzhu Building D-85635 Höhenkirchen-Siegertsbrunn No.1 Taoyuan Road, Nanshan District Phone: +49 8102 9876 190 Shenzhen 518052, P.R. China FAX: +49 8102 9876 187 Phone: +86 755 8621 0671 EMAIL: [email protected] FAX: +86 755 8621 0675 EMAIL: [email protected] Hungary Lauterbach GmbH Altlaufstr. 40 D-85635 Höhenkirchen-Siegertsbrunn Phone: +49 8102 9876 190 FAX: +49 8102 9876 187 EMAIL: [email protected] RTOS-EPOC Contact TRACE32 - Technical Information 7 India-Bangalore Japan Electro Systems Associates Pvt. Ltd. Lauterbach Japan, Ltd. Mr. G. V. Gurunatham Mr. Kenji Furukawa S-606, World Trade Center 3-8-8 Shinyokohama Malleswaram West, No.26/1, Dr. Rajkumar Kouhoku-ku, Nisso 16th Building Road Yokohama-shi, Japan 222-0033 India - Bangalore 560055 Phone: +81 45 477 4511 Phone: +91 80 67648888 FAX: +81 45 477 4519 FAX: +91 80 23475615 EMAIL: [email protected] EMAIL: [email protected] Luxembourg India-Chennai Tritec Benelux B.V. Electro Systems Associates Pvt. Ltd. Mr. Robbert de Voogt Mr. D. Kannan Stationspark 550 No.109 /59A , Ground Floor NL-3364 DA Sliedrecht IV Avenue, Ashok Nagar Phone: +31 184 41 41 31 India - Chennai - 600 083 Tamilnadu FAX: +31 184 42 36 11 Phone: +91 044-24715750 EMAIL: [email protected] FAX: ++91 44 24715750 EMAIL: [email protected] Malaysia Flash Technology India-Delhi Mr.