Hi all,
we are using the MC9S12ZVMC128 from S12Z family.we try to set the clock to 100MHz.
but we are facing problem like not able to debug.Please share if any procedure need to follow.
Here We attached the code for your refenence.
Regards,
Raja S
Original Attachment has been moved to: freescale_share.c.zip
Hi maharaj,
I shortly looked at your code:
As AMEY already mentioned we know about some BDM connection issues during stepping over PLL init code. The second link in AMEY’s post contains workaround.
Which BDM debugger you use? If I remember correctly there were some issues with USB Multilink Rev.C (USB-ML-12E) with very old firmware.
I hope it helps you.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Raja,
Please look at answer here:Re: what is the difference between S12X and S12z MagnaV core?
S12ZVMx12EVB PLL configuration with External crystal.
There are sometimes problems caused by running the debugging interface with bus-clock speeds close to the limit the Multilink cables can actually support on the BDM interface (the limit is 50MHz, IIRC).
To resolve this the BDC interface can be set to use the fixed IRC clock (1MHz) instead of the bus-clock, so that the communication with Multilink is not affected by changes in the clocking set-up.
This is how to do it in CW 10.6:
Regards,
Amey