I use chip of mc9s12xep100. I want to make a bootloader and I have some problem!!! First, I use bootloader write some code of application to flash, and now I want to copy data from rom to ram,and jump to run this updated applicaiton.how to do?
I do not have SW for XEP100 but attached examples could help you as an development platform. Do not forget the functions which are copied from flash to ram must be PIC code (position independent code) to avoid absolute jumps. Everything must be relative.
Moreover, there is an application note which provides you bootloader code. It is easier to go this way......
Thanks for your documents. It is great help for me!
Retrieving data ...