In fact we do not deliver implementation of file management function in our CodeWarrior for HC12 tool.
Extract from the Compiler manual:
"In microcontroller applications however, one usually does not need file I/O. In the few cases where one would need it, the implementation depends on the actual setup of the target system.It is therefore impossible for Freescale to provide an implementation for these features that the user has to specifically implement."
Basically usage of file I/O functions would require a file system to be available on the target system. Not sure this is ever possible on a HC12 CPU.
Why do you want to use file I/O?
Retrieving data ...