uART Interrupt Issue for T1042

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

uART Interrupt Issue for T1042

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

I mentioned this problem in another question without giving my uART driver example and  I want to share my uART Interrupt Driver Application with you  maybe you can help to solve this problem. I spent a lot of time to solve this problem but I didnt solve in any manner. I run this application as standalone on T1042 board. I place uART driver to ram by u-boot tftp command and after that i run bootelf command of u-boot to execute uART Driver application. by the way, The content of IVPR register is 0x7ff10000

when I send serial data to the board  Interrupt handler doesnt run or CPU doesnt call interrupt handler function. It jumps another exception handler like below picture. uART Driver  is attached. you can look at it and say what i make mistakes in code side.

after i run application, I send serial data to the application over uART but i get this message like below.

error.jpg

thanks in advance.

0 件の賞賛
返信
1 解決策
1,722件の閲覧回数
love_hate_and_repeat
Contributor III

I resolved my problem.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,723件の閲覧回数
love_hate_and_repeat
Contributor III

I resolved my problem.

0 件の賞賛
返信
1,722件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the attached T1042 UART driver provided in CodeWarrior.

0 件の賞賛
返信
1,722件の閲覧回数
love_hate_and_repeat
Contributor III

I reviewed driver and it's using polling method to receive character. I'm new for driver concept and i wonder why my code is not working. which part of code is inadequate because when new character is received interrupt doesnt happen I mean another interrupt handler is called by processor like external interrupt exception , floatin point unavailable exception.

If you know the reason my interrupt handler is not being called  please can you explain it with a lot of details.

0 件の賞賛
返信