Unhandled exception while running samples

durai durai at isofttech.com
Mon Jan 19 06:05:25 UTC 2004


Hi all,

CPU - MIPS R3000 core (LX4189)
RTEMS-4.6-pre5
When I run the ticker and hello sample applications in my board, I am
getting an Unhandled exception at the end of execution (ie, after executing
all statements in the Init() functions, it throws the exception).
------------------------  crash dump --------------------
TA1  - rtems_clock_get - 09:00:00   12/31/1988
TA2  - rtems_clock_get - 09:00:00   12/31/1988
TA3  - rtems_clock_get - 09:00:00   12/31/1988
TA1  - rtems_clock_get - 09:00:05   12/31/1988
TA1  - rtems_clock_get - 09:00:10   12/31/1988
TA2  - rtems_clock_get - 09:00:10   12/31/1988
TA1  - rtems_clock_get - 09:00:15   12/31/1988
TA3  - rtems_clock_get - 09:00:15   12/31/1988
TA2  - rtems_clock_get - 09:00:20   12/31/1988
TA1  - rtems_clock_get - 09:00:20   12/31/1988
TA1  - rtems_clock_get - 09:00:25   12/31/1988
TA3  - rtems_clock_get - 09:00:30   12/31/1988
TA2  - rtems_clock_get - 09:00:30   12/31/1988
TA1  - rtems_clock_get - 09:00:30   12/31/1988

Unhandled exception 9
                      sr: 0x0000FF00  cause: 0x00000024 --> Breakpoint
                       R_RA         802010E0         R_V0         00000020
R_V1           B9020014    R_A0         00000000
                       R_A1         80222CD0        R_A2         80248ED4
R_A3          00000004    R_T0         0000FF01
                       R_T1         0000FF01          R_T2         DFFF00EA
R_T3         00000001    R_T4         FFFFFFFE
                       R_T5         FFFFFFFE        R_T6         80222E28
R_T7     00000009    R_T8         FFFFFFFF
                       R_MDLO  0000012C         R_MDHI         00000000
R_GP  80228DB0    R_FP         FFFFFFFF
                       R_AT         B9020000           R_EPC
80200068
------------------------  crash dump --------------------

The EPC shows 80200068, from the disassembly I can find  sys_exit is located
there.

80200068 <_sys_exit>:
80200068:       03ff000d        break   0x3ff
8020006c:       00000000       nop
80200070:       1000fffd        b       80200068 <_sys_exit>
80200074:       00000000        nop

Should I implent the handler for software break?

regards
durai




More information about the users mailing list