Mulitple writes to Flash

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

Mulitple writes to Flash

2,023 Views
Franky_TJ_
Contributor I
I'm writing to the Flash of a mc9s12xdp512 but i cant finished and the problem varies..
 
some times i can write a 100 words at a time some times more sometimes less...  is there a ristriction in how many words you can write at a time?...
 
i'm using the BDM to write them.
Labels (1)
0 Kudos
Reply
4 Replies

820 Views
J2MEJediMaster
Specialist I
What loader are you using? If it's a custom one, are you disabling the COP and interrupts?

---Tom
0 Kudos
Reply

820 Views
Franky_TJ_
Contributor I
Yes it is a custom, and no i dont .. ido it for the Mass Erase but not for this... I'll try it thanks
 
0 Kudos
Reply

820 Views
Franky_TJ_
Contributor I
 still have the same problem even with Interrupts/and COP disabled
0 Kudos
Reply

820 Views
J2MEJediMaster
Specialist I
I'm kind of stumped at this point. For my fallback position, let me suggest you study app notes AN2720 and AN2548. Both provide source code examples of Flash programming routines for the HC(S)12 processor. HTH.

---Tom
0 Kudos
Reply