Unable to create event using KSDK1.2.0

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

Unable to create event using KSDK1.2.0

410 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Reply

319 Views
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 Kudos