PPL, Multilink and Code Warrior

Started by Darren October 28, 2003

Hi All,

I am using Code Warrior and a DP256, once I enable
the PPL in the startup code, the True Time Sim
seems to loose the connection to the target. Is
there a trick to changing the Multilink clock
rate so that the True Time Sim will keep working. Regards,
Darren Moore



Hi Darren.

If your application changes (even only once) the bus speed via PLL:
-make sure a PLL Loop Filter is installed.
-check the "set CLKSW bit in BDM control register (MC9S12 only)" checkbox
in the "Communication Device Specification" dialog (menu: "ICD-12" then
"Connect...").

If you open a "Command" component, speed variation detections by the cable
should be reported there.

Darren, could you indicate your Metrowerks CodeWarrior version: Typing
"ver" in the "Command" window gives directly a list of DLL versions.

Thanks.

Regards,
Gilles At 10:02 AM 10/28/2003, you wrote:

>Hi All,
>
>I am using Code Warrior and a DP256, once I enable
>the PPL in the startup code, the True Time Sim
>seems to loose the connection to the target. Is
>there a trick to changing the Multilink clock
>rate so that the True Time Sim will keep working. >Regards,
>Darren Moore >
>-------------------- >
>">http://docs.yahoo.com/info/terms/





Hi Gilles,

Thanks for your quick reply. It was the CLKSW bit in BDM
control register that need to be set, I had checked it
in an earlier project. For the record I'm running version
3 special edition, downloaded this copy just two days ago.

Thanks again,
Darren > -----Original Message-----
> From: Gilles Blanquin [mailto:]
>
> Hi Darren.
>
> If your application changes (even only once) the bus speed via PLL:
> -make sure a PLL Loop Filter is installed.
> -check the "set CLKSW bit in BDM control register (MC9S12
> only)" checkbox in the "Communication Device Specification"
> dialog (menu: "ICD-12" then "Connect...").
>
> If you open a "Command" component, speed variation detections
> by the cable should be reported there.
>
> Darren, could you indicate your Metrowerks CodeWarrior
> version: Typing "ver" in the "Command" window gives directly
> a list of DLL versions.
>
> Thanks.
>
> Regards,
> Gilles




Hi.
I've the same problem with Multilink BDM, and my program stops.
With NoIce, my program can run without problem (but I don't know if I can debug it).

So, for the moment, I use NoIce and ICC12 compiler.
I hope I'll find other explanations here.

Joel

----- Original Message -----
From: Darren
To:
Sent: Tuesday, October 28, 2003 10:02 AM
Subject: [68HC12] PPL, Multilink and Code Warrior
Hi All,

I am using Code Warrior and a DP256, once I enable
the PPL in the startup code, the True Time Sim
seems to loose the connection to the target. Is
there a trick to changing the Multilink clock
rate so that the True Time Sim will keep working. Regards,
Darren Moore





Hi Joel.

I already replied to this in the newsgroup, so just pasting again:

If your application changes (even only once) the bus speed via PLL:
-make sure a PLL Loop Filter is installed.
-check the "set CLKSW bit in BDM control register (MC9S12 only)" checkbox
in the "Communication Device Specification" dialog (menu: "ICD-12" then
"Connect...").

If you open a "Command" component, speed variation detections by the cable
should be reported there.

Regards,
Gilles At 05:28 PM 11/5/2003, you wrote:
>Hi.
>I've the same problem with Multilink BDM, and my program stops.
>With NoIce, my program can run without problem (but I don't know if I can
>debug it).
>
>So, for the moment, I use NoIce and ICC12 compiler.
>I hope I'll find other explanations here.
>
>Joel
>
> ----- Original Message -----
> From: Darren
> To:
> Sent: Tuesday, October 28, 2003 10:02 AM
> Subject: [68HC12] PPL, Multilink and Code Warrior >
> Hi All,
>
> I am using Code Warrior and a DP256, once I enable
> the PPL in the startup code, the True Time Sim
> seems to loose the connection to the target. Is
> there a trick to changing the Multilink clock
> rate so that the True Time Sim will keep working. > Regards,
> Darren Moore >-------------------- >
>">http://docs.yahoo.com/info/terms/