Writing and reading internal flash from program.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Writing and reading internal flash from program.

2,167 次查看
tobiasplayer
Contributor I
Hi,
 
  Are there any canned routines anywhere that will help me read and write the internal flash of a M52235 from the program?
 
Thanks,
Bob
标签 (1)
0 项奖励
2 回复数

402 次查看
PeterKirketerp
Contributor I
HI Bob
 
I am using the flash function from the Coldfire Lite Stack.
 
Mvh Peter
0 项奖励

402 次查看
Nouchi
Senior Contributor II
Hi,

You should download dBug for M5223EVB here :
http://www.freescale.com/webapp/sps/download/license.jsp?colCode=M5223EVB_DBUG&;prodCode=M52235EVB&nodeId=0162468rH3YTLC00M98090&location=psp
and have look to this file which provide cfm_flash_program function :
\dbug\src\dev\flash\cfm_flash.c
It works fine for my house made M5213evb's bootloader.

Emmanuel
0 项奖励