Any changes in flash and bootloder procedures when moving from S12 to S12X

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

Any changes in flash and bootloder procedures when moving from S12 to S12X

2,631件の閲覧回数
AndersJ
Contributor IV
When migrating from S12 to S12X,
are there any significant differences to consider when
writing bootloaders, executing from ram/stack... etc?
 
Is it likely that legacy code will work?
Will XGATE have any implications?
Any other cracks to fall into?
 
Thanks,
Anders J
 
 
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,118件の閲覧回数
Steve
NXP Employee
NXP Employee
Anders, you should be able to find what to change from the various app notes that cover the main aspects of the transition. Either AN2615, AN3469, AN3510 will apply.
0 件の賞賛
返信

1,118件の閲覧回数
colinh
Contributor I
Hi Anders

It's not likely, but not impossible, that your legacy code will work without change.  Most migrations from S12 to S12X require the usual review of memory map, peripheral features etc.

There should be no real need to consider the XGATE in your loader.

One feature you can probably take advantage of (and I'm 90% certain it is not supported in the S12) is the ability to set the vector base address.  This lets you more easily utilise interrupts in your loader if that is something that would be useful to you.

Hope this helps

Colin

0 件の賞賛
返信

1,118件の閲覧回数
kef
Specialist I
Yes, VBR is certainly an advantage, but also probably a problem for Anders. S12X doesn't allow any resource remapping, there are no more INITRM, INITRG and INITEE registers. Old Freescale S12 bootloaders were moving all bootloader code from flash to RAM and remapping RAM to the vector area. Serious code modifications are required to port such S12 bootloader to S12X.
0 件の賞賛
返信