PLL and Debugging Problem (aka PLLSEL=1 lost comunication)

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

PLL and Debugging Problem (aka PLLSEL=1 lost comunication)

跳至解决方案
2,439 次查看
SebaS
Contributor III
Hi, I've got this problem with the PLL and the Debugger...
I'm using Codewarriror v4.6 with MC9S12A128. I'm also using the USB BDM, and the debugging tool is HiWave.
I want to debug in a speed up to 40Mhz but I can't... I've got the same problem at 24Mhz... That's because, as Alban, the bus clock changes when PLLSEL=1... And he also said that "
Depending on your BDM debugging tool, you can have an option to get automatic speed and synchronization if the bus changes."
How can I do that??

Now, I'm running at 16Mhz with external Clock... But if I can get higher speed that would be great... I'd like to push the uC to its maximun speed... Will the debugger tool / BDM have any problem with that?


THANKS!!

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,361 次查看
CrasyCat
Specialist III
Hello
 
You have to go to "Multilink/CyclonePro" -> "Connect"
Then change to "Special Setup" tab and check the box "Set CLKSW bit in BDM control register (MC9S12only)".
 
That should be it
 
CrasyCat

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,362 次查看
CrasyCat
Specialist III
Hello
 
You have to go to "Multilink/CyclonePro" -> "Connect"
Then change to "Special Setup" tab and check the box "Set CLKSW bit in BDM control register (MC9S12only)".
 
That should be it
 
CrasyCat
0 项奖励
回复
1,361 次查看
SebaS
Contributor III
Thank, you!!.... I'll try that and then let you know if that works....
0 项奖励
回复