Light Weight Semaphore

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

Light Weight Semaphore

760 次查看
snehahegde
Contributor I

Hi,

 

I am using the TWRK70F120M and the IAR compiler in my project and I am trying to save the screen calibration values into Flash. I have got two tasks , one of which is the PegTask in which the calibration screen values are initialised and the Main Task in which I am trying to write and read those values into Flash. In order to share the data between the two tasks, I am trying to use the light weight semaphore. But  once I read it from Flash, control gets into the MQX interrupt handler.

PFA the code for PegTouch Task. Also, I have attached the code where I am writing and reading the calibration values to and From Flash. Please let me know how this can be resolved.

 

Thanks and Regards,

Sneha Hegde

 

Original Attachment has been moved to: PegTask.txt.zip

Original Attachment has been moved to: FlashTask.txt.zip

0 项奖励
回复
1 回复

577 次查看
soledad
NXP Employee
NXP Employee

Hello Sneha,

Could you please let me know which MQX version are you using???

Regards

Soledad

0 项奖励
回复