Hello everyone
as we know, we use CW to create a PT60 project it's will generate a little piece code to zero out variables in startup code, not all ram.
now customer request to erase all contents in ram after start, so I find some tips:
use "FILL" in .prm file, as below:
PT60 ram address is from 0x0040 to 0x103F, after use this, most of them are zero out
What really make me confused is that from 0x0061 to 0x00E0 still keep some values.
Hope your help, thanks!
Hi Kehan Qin,
The reason you see the section 0x0060 to 0x00E0 not filled with 0x00 is because this section corresponds to the Stack Pointer which has a size of 0x80 in this case.
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------