Exclude address from memory zeroing

cancel
Showing results for 
Search instead for 
Did you mean: 

Exclude address from memory zeroing

118 Views
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 Kudos
2 Replies

78 Views
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 Kudos

59 Views
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 Kudos