FSL UART Driver in Blocking Mode with MQX

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

FSL UART Driver in Blocking Mode with MQX

ソリューションへジャンプ
1,265件の閲覧回数
tomtalkington
Contributor III

I am using the FSL UART Driver in blocking mode with MQX as the RTOS.  When the IRQ posts to the rxIrqSync semaphore a hard fault is generated.  Have spent three days troubleshooting this problem and have run out of ideas as to what to try next. The _lwsem_post code executes to the _CHECK_RUN_SCHEDULER() function where the hard fault occurs.

 

Any troubleshooting suggestions would be greatly appreciated.

 

Thanks,

Tom

ラベル(1)
0 件の賞賛
返信
1 解決策
1,090件の閲覧回数
tomtalkington
Contributor III

After posting this I saw similar posts rewarding this issue which were also unanswered.  In my case I ditched MQX and went to FreeRTOS and now with the same code I no longer have the issue.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,091件の閲覧回数
tomtalkington
Contributor III

After posting this I saw similar posts rewarding this issue which were also unanswered.  In my case I ditched MQX and went to FreeRTOS and now with the same code I no longer have the issue.

0 件の賞賛
返信
1,090件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Tom,

If your application is confidential or complex, can you develop a simple example which can duplicate the issue and attach your simple example project here so that we can test on our board. I have installed KDS, CW and IAR tools.

It is difficult to estimate the root cause without debugging. In general, when you access a memory which is out of range or you access a peripheral register whose clock is disabled..., the hardware fault will happen.

BR

XiangJun Rong

0 件の賞賛
返信