K21 Tower Kit not booting

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

K21 Tower Kit not booting

ソリューションへジャンプ
798件の閲覧回数
abbian
Contributor II

Hi All -

I am developing a K21 application.  My code will run fine if I download and debug from within the IAR debugger, but it will not boot on it's own. 

Any ideas?

Thanks

ラベル(1)
0 件の賞賛
1 解決策
672件の閲覧回数
abbian
Contributor II

Hey Kan

I found the problem - the watchdog was not being disabled at startup.

Dan

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
672件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Dan,

Would you please specify the tower board version? Is it the TWR-K21F120M? and it would be better that you could send your code for a review.

Thanks for your patience!


Have a great day,
B.R
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
672件の閲覧回数
abbian
Contributor II

Hi Kan -

I'm using the TWR-K21F120M.  My code is based on the gpio example in the tower sample code.  If I specify the 512KPflash linker file in the gpio project and download it using the Jlink the board will boot into the gpio code.  When I do the same with my code it hangs unless I start it in the debugger.

What is the best way to send you my code?

Dan

0 件の賞賛
672件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Dan,

That looks like a software issue, so you may attach your project here, and I will try to reproduce this issue with my TWR-K21F120M. Thanks for your patience!


Have a great day,
B.R
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
673件の閲覧回数
abbian
Contributor II

Hey Kan

I found the problem - the watchdog was not being disabled at startup.

Dan

0 件の賞賛