Hello Mike
you can download a flash driver for K60and K40.
C90TFS_FLASH_DRIVER:
http://cache.freescale.com/files/32bit/software/C90TFS_FLASH_DRIVER.zip?fpsp=1&WT_TYPE=Device Drivers&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=zip&WT_ASSET=Downloads&sr=16
The demo is for the IAR IDE.
I'm trying to change it for the CodeWarrior 10.1 IDE. First I copied the header files in the folder of my project headers.
Than I added the .c files to my project. I took the code of the NormalDemo.c in my main program.
I can compile my project, but it will not work. I think I have to change the .lcf - File, because the K60N512 has no D Flash.
I think I have to make the P Flash smaler.
Best Regards and good luck
Thomas