Multilink HCS08 Trimming changed in CW 6.1??? - MC9S08QG8

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

Multilink HCS08 Trimming changed in CW 6.1??? - MC9S08QG8

1,982 Views
FreesBrasil
Contributor I

I have been using the onboard multilink programmer/debugger of DEMO9S08QG8 with codewarrior 6.0 (and lower). I use a 18.432 MHz trimming frequency (which means 36khz internal clock generator) and all runs fine. But after i've upgraded to CW 6.1, the trimming frequency no longer gets correctly programmed (even if I choose to trim and program at 36khz). In fact, I changed the trimming frequency a couple of times, and the programmed value don´t change. So, anyhow the frequency I ask to be trimmed is not used. Anyone else is experiencing this issue? Setup: IDE: Codewarrior 6.1. Programmer: Demo board DEMO9S08QG8. Microcontroller: MC9s08QG8. Thanks.

 

 

 

 

Added p/n to subject



Message Edited by NLFSJ on 2008-01-17 03:32 PM
Labels (1)
0 Kudos
5 Replies

469 Views
Ake
Contributor II
Hi,
I plugged in my DEMO9S08QG8 board and ran CodeWarrior 6.0.
The first time I ran the debugger, I did not program any code, I just looked at 0xffaf (the TRIM byte).
It contained 0x82.
I then downloaded the code, and checked if the TRIM byte had been adjusted. It had. Now it contained 0x81.
 
So there doesn't seem to be any problems with the CodeWarrior 6.0.
 
One thing that you should check is the MultiLinkCyclone/Advanced pulled down menu.
There is a box that can be ticked if you want to have a new value calculated and burned into the Flash EPROM every time you change your program.
I would suspect that this might be the reason behind your problems.
 
Another reason would be if the TRIM value does not get written into the ICSTRM register.
 
 
Regards,
Ake
 
0 Kudos

469 Views
FreesBrasil
Contributor I
Thanks for the help Ake, but i´ve already configured that way. Under Codewarrior 6.1, the multilink is no longer calculating the right trim value. The value shown at programming time is stored at the positions 0xFFAE and 0xFFAF. But that value doens´t work (i think multilink is not taking into account the frequency i choose). I´ve already uninstalled CW6 and CW6.1 and reinstalled CW6.1, but didn´t work. I´ve also installed PE drivers (drivers_v9_01_install.exe), with no success. Does anybody upgraded to CW6.1 and is experiencing the same problem? Thanks.
0 Kudos

469 Views
Klined
Contributor I
I have recently upgraded my laptop to run CW6.1 (after uninstalling 6.0 first) and I have witnessed the same problem.  I use CW with two demo9s08 boards, and CW6.1 will not calculate a trim value based on the frequency I enter.  The values it stores to FLASH never change to accomodate my desired frequency, despite my changing the frequency parameter.  I had no such problems with CW6.0, other than that the trim/fine trim values would change slightly from one programming session to the next.

0 Kudos

469 Views
FreesBrasil
Contributor I
Below is the answer from Freescale's Technical Support: Unfortunatelly this is currently known bug in CodeWarrior for Microcontrolers v6.1 Our development is investigating the problem to fix it in a next version. For the moment we can not provide any information about the date of this release. Thank you for your interest in Freescale Semiconductor products and for the opportunity to serve you. Should you need to contact us with regard to this message, please see the notes below. Best Regards, Jiri Technical Support Freescale Semiconductor
0 Kudos

469 Views
bigmac
Specialist III
Hello,
 
Do you get the correct trimming for CW 6.0, or earlier versions?  If so, surely this is a good reason not to upgrade.  Does anyone know what are other differences between 6.0 and 6.1, apart from newer MCU devices supported?
 
Regards,
Mac
 
0 Kudos