AnsweredAssumed Answered

Program Once field in [MC9S12XET256]

Question asked by g g on Dec 28, 2016
Latest reply on Jan 10, 2017 by g g

Hi all,


I need to write a Serial Number of a device to the CPU memory. I don't want to change it in the future so it would be the best to use Program Once field placed at 0x400100 address but I'm not albe to write there anything.
If I set PGMIFRON bit in the MMCCTL1 register and then try writing under the Program Once field address via far pointer I'm getting ILLEGAL_BP in HiWave.
I've tried using debugger commands but all i'm getting is "Error: error while writing to the memory".
Could someone please give me a simple step by step instruction how can I do this?


Best regards