I have the same issue when I use E-value8 for (R)S08 (another low cost debuger similar to OSBDM). My sulution is: Open the Debugger, Menu>HCS08 Open Source BDM>Show Status, some infomations are shown In the small window. "System Clock 8.98MHz" shows the curent clock frequency. I input trim value manually in to Trim register (for QG/QD, address is $003A, reset value is $80). Type "reset" in Command window then enter. Open the status window again, "System Clock" should be changed now. By trying different values, I can find out the right trim value. So the last thing is to write this value to the source code to save it to Flash.
The trim value varies for different chips. For development, we usualy just reprogram one chip time and time, so we don't need to modify trim value in souce code oftenl. Ofcause, this way is not sutable for volume production.
(bigger trim value = lower ICS clock)