Unable to create event using KSDK1.2.0

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

Unable to create event using KSDK1.2.0

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

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