I would really appreciate if someone knows about S12G Driver Flash spec: at first I'm unable to understand if the built-in algorithms, accessible on Flash memory via pre-defined register, run on RAM or are somewhere written in rom...Then is there their availability as done for PPC (C90FL driver executables for example) anywhere in the Freescale material? Thanks
I recommend you to analyze the Application Note AN3275, it has a detailed explanation on the eeprom functionality and it also has a software sample in which you can refer to source file s12eeprom.c to view the eeprom routines. I have attached the AppNote to this response.