software_trap problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

software_trap problem

389件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
1 返信

267件の閲覧回数
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 件の賞賛
返信