Example Code writing to FLASH on K60

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Example Code writing to FLASH on K60

2,624件の閲覧回数
FirmEE
Contributor II

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.

0 件の賞賛
返信
2 返答(返信)

878件の閲覧回数
Thommi_Tulpe
Contributor IV

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

 

0 件の賞賛
返信

878件の閲覧回数
Dekiru
Contributor IV

The guide to have SSD Flash driver working on CW10.1 is posted here: https://community.freescale.com/thread/97094

 

Regards

0 件の賞賛
返信