Bootloader : execution of flash write, flash erase functions from RAM.

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

Bootloader : execution of flash write, flash erase functions from RAM.

996件の閲覧回数
AjRj14
Contributor III

Hi,

 

I am following simple serial Bootloader for S12 application note.

Why the functions like flash erase and flash write are being executed from RAM? Could you please provide the reason .

Thanks in Advance

0 件の賞賛
1 返信

987件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

 

It is valid for entire S12 family that it is not allowed to execute code out of the memory block which is currently E/W.
This fact includes into consideration usage of interrupts (routines placement and/or their enable) as well as execution of the code which waits for the E/W command complete inside the flash memory. Because of this the code is moved to RAM.

Best regards,

Ladislav

0 件の賞賛