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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,499 Views
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!!

Labels (1)
Tags (1)
0 Kudos
1 Solution
421 Views
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

View solution in original post

0 Kudos
2 Replies
422 Views
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 Kudos
421 Views
SebaS
Contributor III
Thank, you!!.... I'll try that and then let you know if that works....
0 Kudos