I use a KE04Z8 processor with Codewarrior for MCU and PEMICRO Multilin Universal programmer.
I need a custm trim reference frequency at 34560 .
If i program directly with pemicro comamnd (CUSTOMTRIMREF 34560) all is OK.
But if i use the codewarrior debug mode dont't work.
I set the custom trim value
When run in address 0x3FE - 0x3FF there isn't the trim value and hence the clock is wrong !
Thanks all
Hello
Hope you are well.
Unfortunately, the SCTRIM value is not loaded if the device is in debug mode. To load correctly the value from the reserved flash location the device must not be in debug mode.
I apologize for the inconvenience this may cause you. If you have more questions do not hesitate to ask me.
Best regards,
Omar