software_trap problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

software_trap problem

376 Views
Jason871004
Contributor I

Hello everyone,I have a question.

1.What's the use of software_trap in the vectors.c?

2.I use SCI receive interrupt in my project,but I found that the mcu get stuck on the software_trap function,why?

Anybody help!!Thanks.

Labels (1)
0 Kudos
Reply
1 Reply

254 Views
kef
Specialist I

Which vectors.c? How does it look like?

Unimplemented instruction TRAP is called by CPU, when CPU finds unknown instruction. It could be coused by not initialized function pointer, stack overflow or something like that.

0 Kudos
Reply