interrupt message information

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

interrupt message information

跳至解决方案
1,798 次查看
epl
Contributor I

*** UNHANDLED INTERRUPT ***
Vector #: 11  0xb
Offset  : 44  0x2c
Task Id: 0x10001 Td_ptr 0x2000529c Stack Frame: 0x2000652c
Interrupt_nesting level: 1   PC: 0x30000006   SR: 0x2600

 

what is the meaning of those parameters? This message is printed when calling _usb_device_recv_data() function.

 

Thanks in advanced!

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
905 次查看
JuroV
NXP Employee
NXP Employee

Hi,

 

first of all, it is out of scope and useless now to decode the text with really high probability. You probable wrote something out of RAM (you dont handle RAM properly) or your stack overflew.

 

To be complete, I explain the text:

*** UNHANDLED INTERRUPT *** <--- unhandled interrupt occured (unhandled in the term MQX kernel does not handle it
Vector #: 11  0xb <--- vector of unhandled interrupt (probably something like zero dividing, illegal instruction etc.)
Offset  : 44  0x2c <--- ISR vector table address
Task Id: 0x10001 Td_ptr 0x2000529c Stack Frame: 0x2000652c <--- information in which task's context it happened
Interrupt_nesting level: 1   PC: 0x30000006   SR: 0x2600 <--- if it happened in ISR context, then the information about ISR's nested, program counter and status register

在原帖中查看解决方案

0 项奖励
回复
1 回复
906 次查看
JuroV
NXP Employee
NXP Employee

Hi,

 

first of all, it is out of scope and useless now to decode the text with really high probability. You probable wrote something out of RAM (you dont handle RAM properly) or your stack overflew.

 

To be complete, I explain the text:

*** UNHANDLED INTERRUPT *** <--- unhandled interrupt occured (unhandled in the term MQX kernel does not handle it
Vector #: 11  0xb <--- vector of unhandled interrupt (probably something like zero dividing, illegal instruction etc.)
Offset  : 44  0x2c <--- ISR vector table address
Task Id: 0x10001 Td_ptr 0x2000529c Stack Frame: 0x2000652c <--- information in which task's context it happened
Interrupt_nesting level: 1   PC: 0x30000006   SR: 0x2600 <--- if it happened in ISR context, then the information about ISR's nested, program counter and status register

0 项奖励
回复