K21 Tower Kit not booting

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

K21 Tower Kit not booting

跳至解决方案
837 次查看
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 解答
711 次查看
abbian
Contributor II

Hey Kan

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

Dan

在原帖中查看解决方案

0 项奖励
4 回复数
711 次查看
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 项奖励
711 次查看
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 项奖励
711 次查看
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 项奖励
712 次查看
abbian
Contributor II

Hey Kan

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

Dan

0 项奖励