Exclude address from memory zeroing

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

Exclude address from memory zeroing

1,182件の閲覧回数
JuanL
Contributor I

Hi, I'm using CW 10.2 and MC9S08AW60 with the standard ANSI-C initialization and was wondering if there is any way to exclude certain addresses from the ram zeroin. Say I need to keep the last 3 positions out of the ZeroOut function, is there any way of doing such thing?

Thanks, Juan.-

0 件の賞賛
返信
2 返答(返信)

1,142件の閲覧回数
vicentegomez
NXP TechSupport
NXP TechSupport

Hi  

 

I am not good in ASM 

but I believe that you need to update this function in the start08 file

vicentegomez_0-1615577774463.png

Regards

 

 

0 件の賞賛
返信

1,123件の閲覧回数
JuanL
Contributor I

Hi Vicente, thank you for answering.

Yes, I imagined it had something to do with that function, but could never figure out where or how it's obtaining the number of positions to erase or the starting address (nofZeroOuts / pZeroOut).

0 件の賞賛
返信