MQX Periodic timer stops

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

MQX Periodic timer stops

1,479件の閲覧回数
aussiemate
Contributor II

I have a 250ms periodic timer that is supposed to run forever, to update my display.

I have found that after a week or so this timer stops. and no longer updates the display.

_timer_start_periodic_every(user_interface_timer_expired, NULL ,TIMER_ELAPSED_TIME_MODE,250 );

Has anyone had issues with the Timers stopping?

タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,321件の閲覧回数
Carlos_Musich
NXP Employee
NXP Employee

Hi Matthew,

this case seems difficult to recreate... You can run your application and wait until it fails. Once it fails you can attach the debugger (hot sync) and check with the MQX TAD (task Aware Debugger) the status of tasks, stack and error codes.

What IDE are you using?

You can also turn on Kernel Log and review it when it fails. You can find an example in with documentation in MQX installation path:

Classic MQX: C:\Freescale\Freescale_MQX_4_2\mqx\examples\klog

MQX for KSDK: C:\Freescale\KSDK_1.3.0\rtos\mqx\mqx\examples\klog

Regards,

Carlos

0 件の賞賛
返信

1,321件の閲覧回数
aussiemate
Contributor II

I notice that there is a function _timer_test

How & why is this there? 

Do we need to assume that the timers are going to become corrupted at some point and test for a corruption?

How would one go about this?

0 件の賞賛
返信