AnsweredAssumed Answered

Starting with MQX - KSDK - Strange behavior

Question asked by Marco Aurelio P. Coelho on Feb 26, 2015
Latest reply on Mar 18, 2015 by Marco Aurelio P. Coelho

Hello, Sirs.

 

I just wrote a simple code with MQX - KSDK: I created two tasks; one prints out "Hello" and the other prints out "World" on a Windows Terminal. I used two semaphores to control the usage of the serial output by both tasks.

 

I don't know why after the fifth print ("Hello"), the tasks stop running and it falls into "Default ISR". I can't identify what could be causing that:

 

terminal_screenshot_2.jpg

 

Strange to realize that lwsemaphore demo for FRDM-K64F is running perfectly.

 

Did anybody ever experienced anything similar to that?

 

I would really appreciate any help or tips.

 

My project is attached.

 

 

Thanks,

 

Marco Coelho

Original Attachment has been moved to: projeto_novo_mqx.zip

Outcomes