This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Init Vars and Clear Memory

I have these set to 1 in my startup file, CLR_MEMORY INIT_VARS.
I would like to know if this clears all internal and external ram ? and the vars ?
I ask because when i start to debug, upto main, via JTAG, some global vars i have are holding some values! should they not be 0, especially if they are set in a .c file, at the top of the file, not in a function.