Possible bug in CW 10.6 Processor Expert for KE06 Microcontrollers

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

Possible bug in CW 10.6 Processor Expert for KE06 Microcontrollers

跳至解决方案
725 次查看
joellanger
Contributor II

Hello everyone, I tried to set the external crystal specifically in MKE06Z128VQH4 using the CW for MCU 10.6 with Processor Expert and did not work.

In debugguer I saw that the configuration of the OSC was zero.

Searching for the problem I noticed that the CPU_Init.c file that CPU_TClockConfigDescriptor structure is not filled completely missing the define CPU_OSC_CR_CONFIG_0.

Then I added the define and it worked.

I created a Service Request without success. 1-3447186434.

Maybe I'm wrong or can help someone.

16884_16884.pngPrint1.png

16885_16885.pngPrint2.png

16883_16883.pngPrint6.png

16886_16886.pngPrint3.png

标签 (1)
0 项奖励
1 解答
562 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi David.

I just tested with CW10.6 with the latest update installed. CPU_OSC_CR_CONFIG_0 is generated. see

Untitled.png

my CW Build Id:140329. here is CW10.6 updates and service pack link:

http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_UPDATES_MCU_10_6

can you please test your project under the latest version? how does it work?

================================

this answer is for you. if it helps, please click on "Correct Answer" button. thanks!

Best Regards.

Zhang Jun

在原帖中查看解决方案

0 项奖励
3 回复数
562 次查看
davidsherman
Senior Contributor I

Joel, I had the same problem in Kinetis Design Studio using processor expert to configure for an external crystal.  Same thing, entries were missing in those tables and the values were wrong.  Although this problem has been fixed in KDS, I don't know if there are plans to fix it in CodeWarrior, since Freescale isn't promoting CodeWarrior for Kinetis development and pushing KDS instead.  Until they fixed it, I just disabled the code generation in Processor Expert and wrote to the OSC and ICS registers directly.

0 项奖励
563 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi David.

I just tested with CW10.6 with the latest update installed. CPU_OSC_CR_CONFIG_0 is generated. see

Untitled.png

my CW Build Id:140329. here is CW10.6 updates and service pack link:

http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_UPDATES_MCU_10_6

can you please test your project under the latest version? how does it work?

================================

this answer is for you. if it helps, please click on "Correct Answer" button. thanks!

Best Regards.

Zhang Jun

0 项奖励
562 次查看
joellanger
Contributor II

Hello, I made updates in Help > Check For Updates, and the problem was solved. Thanks.