Writing and reading internal flash from program.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Writing and reading internal flash from program.

2,149 Views
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
Labels (1)
0 Kudos
2 Replies

384 Views
PeterKirketerp
Contributor I
HI Bob
 
I am using the flash function from the Coldfire Lite Stack.
 
Mvh Peter
0 Kudos

384 Views
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 Kudos