Stuart Schechter

IGC Trim does match Flashed Trim on reset

Discussion created by Stuart Schechter on Jun 11, 2012
Latest reply on Jun 11, 2012 by David Payne

I am using the MC9S08GT16, CW 6.3, P+E USB multilink

 

In Debug I can see the IGC trim value in 0x004E matches the FLASH value in 0xFFBE

Resetting the part through the debugger also places the value from Flash into the IGC trim reg (or at least they are the same)

 

The problem is when the debugger is not attached and I do a power cycle. Fortunately on this particular chip the trim is almost 0 (actually 0x88) so I can communicate via serial port. When I look at register 0x004E it has the default value (0x80) even though the flash has the value 0x88.

 

Does the part actually use location 0xFFBE on reset? Spec sheet says it does.

 

Thanks...

Outcomes