MCF5223: using of CFM command to write a really big array in flash

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

MCF5223: using of CFM command to write a really big array in flash

2,080 Views
sev
Contributor I
Hi,
 
I use the CFM module to copy  128 char arrays (a file dowloaded throw the UART) into the flash by using the back door.
However, After several copy in flash, the process speed become really low.
 
has anybody any idea on the reason ?
 
Really thanks for your help.
Sév
Labels (1)
0 Kudos
2 Replies

493 Views
Kremer
Contributor I
Are you really waiting for it to finish write the current data?

while( !(MCF_CFM_CFMUSTAT & MCF_CFM_CFMUSTAT_CCIF));

I´ve did an ehternet bootloader using the CFM fro internal flash reprogram and never faced this behavior you mentioned.
0 Kudos

493 Views
doublev724
Contributor I

Hi Kremer

 

Did you use RTCS for ethernet and write new image to flash througth CFM commands?

 

I am working a similar project and find the "while( !(MCF_CFM_CFMUSTAT & MCF_CFM_CFMUSTAT_CCIF));" never returns. Did you get similar issues?

 

song

0 Kudos