how to copy rom to ram(mc9s12xep100)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to copy rom to ram(mc9s12xep100)

1,797件の閲覧回数
chenchenchen
Contributor II

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?

ラベル(1)
2 返答(返信)

1,296件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

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......

http://www.nxp.com/docs/en/application-note/AN4258.pdf 

http://www.nxp.com/docs/en/application-note-software/AN4258SW.zip 

Best regards,

Ladislav

1,296件の閲覧回数
chenchenchen
Contributor II

Thanks for your documents. It is great help for me!

0 件の賞賛
返信