Exclude address from memory zeroing

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Exclude address from memory zeroing

733 次查看
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 回复数

693 次查看
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 项奖励

674 次查看
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 项奖励