Possible bug in CW 10.6 Processor Expert for KE06 Microcontrollers

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

Possible bug in CW 10.6 Processor Expert for KE06 Microcontrollers

ソリューションへジャンプ
702件の閲覧回数
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 解決策
539件の閲覧回数
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 返答(返信)
539件の閲覧回数
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 件の賞賛
540件の閲覧回数
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 件の賞賛
539件の閲覧回数
joellanger
Contributor II

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