software_trap problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

software_trap problem

375 次查看
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 回复

253 次查看
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 项奖励
回复