Does anyone have example of Erasing and Writing FLASH sectors on the K60? One would think that these functions would be provided as an library extension in the compiler. Any help would be appreciated. Do not want to re-invent the wheel.
Mike B.
Hello Mike
you can download a flash driver for K60and K40.
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
The guide to have SSD Flash driver working on CW10.1 is posted here: https://community.freescale.com/thread/97094
Regards