Light Weight Semaphore

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

Light Weight Semaphore

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

591件の閲覧回数
soledad
NXP Employee
NXP Employee

Hello Sneha,

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

Regards

Soledad

0 件の賞賛
返信