Exclude address from memory zeroing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Exclude address from memory zeroing

709 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

669 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

650 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