Unable to create event using KSDK1.2.0

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

Unable to create event using KSDK1.2.0

858 次查看
priya_dwivedula
Contributor III

I am having issues creating an event. Here is my code:

 

void  *event_ptr;

 

 

_event_create("event.global");

 

I keep getting a hard fault exception whenever _event_create() is called. It used to work earlier but it suddenly started throwing an error. I also noticed that calling _event_create from another source file works sometimes which is very strange. Could it be related to the stack size?

 

Thanks,

Priya

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

767 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Priya,

- Under the KSDK1.2 installation directory , there is a even demo , have you test it , does it can work well on your side :

...\Freescale\KSDK_1.2.0\rtos\mqx\mqx\examples\event

- And where do you create the event ?  Please pay attention that , the task which create the event must prior to the task which use the event .

Hope it helps

Alice

0 项奖励
回复