Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
I am working on a firmware update for the mc9s12dj256. We have reserved half of the on chip flash for storing a firmware update. After transferring the entire image I plan to copy the update to the other half of flash. I need the copying routine to run off the stack since the area containing the program code will be erased and then programmed with the new flash. I downloaded some assembly code from Motorola (Freescale...whatever) that copies flash from one page to another. Is there any available that handles the spanning of multiple pages? Thanks for any help. Jason M. Liszewski |