Problem with MK21FX512VLQ12 + KDS + PE multilink

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

Problem with MK21FX512VLQ12 + KDS + PE multilink

跳至解决方案
1,467 次查看
cerma
Contributor IV

Hi everyone,

 

I am using processors MK10DN128VLH5 64pin, MK61FN1M0VMJ15 256pin BGA a MK60DN512ZVLQ10 144pin and programmer PE MUltilink universal. Every processor is used on variety PCBs. Currently I have problem with processor MK60DN512ZVLQ10, when I run Debug it can't find device. IDE CW10.5, CW10.6 i KDS3.0 behave all same way:
95942_95942.pngpastedImage_0.png
Because of this issue I had in our company a visitor from Freescale 2 years ago. He could not find anything so he wanted to log process of connecting to device after Debug was turn on. So he turned on logging:

95943_95943.pngpastedImage_1.png

95944_95944.pngpastedImage_2.png
Suddenly all was OK and working properly. After he turned off logging, IDE was not able to connect to device. I have settled with always having logging turned on. Exact same behavior was on 3 different PCB (different projects). Now after 2 years I start using processor MK21FX512VLQ12 144pin. It behaves same way as MK60DN512ZVLQ10 so I have to have logging turned on. I want to start using latest version of IDE (KDS3.0)  but I cannot find that "logging option" anywhere so I am not able to connect to processor.
From my point of view there are two options:
1) FInd out why has to be turned on logging so I could turn it off (maybe it could be releated with 144 pin version of processor)
2) Show me or tell me how I will turn on logging on KDS3.0. Perhaps it will start working same way as CW10.6.

 

Some idea?

标签 (1)
1 解答
1,223 次查看
cerma
Contributor IV

Hello Carlos,
I have tried to set MCG on FEI but PCB behaves same way. I have asked on PE Micro forum on same question and Jon G. answered to add 33pF to SWCLK. Since then I can upload code to MK21 via KDS3.0. I will try this with rest of PCB with MK21 and MK60 in the casing LQFP144 with which I was struggling until now. So far it seems that adding 33pF to SWCLK solves my issue.

Thank you

在原帖中查看解决方案

5 回复数
1,223 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Jaroslav,

Could you post your project so we can test this problem on our side?

Thanks in advance!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 项奖励
回复
1,223 次查看
cerma
Contributor IV

Hi Carlos,

In attachement is project EXPORT_TEST_K60_NoLog without logging. This one I can't upload to processor. Project EXPORT_TEST_K60_Log is the same project but there is logging. This one I can upload to processor without problems.

Hope that helps,

Jaroslav !

0 项奖励
回复
1,223 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Jaroslav,

Thanks for sending the projects, I have tested them on my side on the TWR-K60N512 and I was able to flash the program with and without the enable logging option, but I had to modify the external clock source of the system oscillator to use the 50 MHz on-board clock oscillator instead of the 16 MHz external crystal used on your board, could you try changing the MCG mode to FEI and see if you are able to flash the board without enabling the logging option?

Let me know the results!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 项奖励
回复
1,224 次查看
cerma
Contributor IV

Hello Carlos,
I have tried to set MCG on FEI but PCB behaves same way. I have asked on PE Micro forum on same question and Jon G. answered to add 33pF to SWCLK. Since then I can upload code to MK21 via KDS3.0. I will try this with rest of PCB with MK21 and MK60 in the casing LQFP144 with which I was struggling until now. So far it seems that adding 33pF to SWCLK solves my issue.

Thank you

1,223 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Jaroslav,

It is good to hear that the problem seems to be solved after adding the 33pF to SWCLK. Please let us know if you have any other question!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 项奖励
回复