I have created a project with HEW with assembler init code
when I use the E8a debugger to run the program I found that global variables can't change their values, instead of that in the tab "memory" the read values of global variables are not the same values that variables must have in the running program...
The only variables that behave well are the local funtions variables...
Do you have any clues on that? maybe I have to change some compiler/link options in -> Build -> Renesas Standard Toolchains ?? but I don't found any significant choices to select there
Thanks in advance!
PD: I attach a picture of the debug session to clarify the problem
UINT8 = typedef unsigned char
the compiler locates tmp in 0x00000419 which is in fact RAM memory according to datasheet.
FrankL, you got right, I have checked the .map and found a starting address to fit the E8a debug code... after reallocate the RAM code, the globals vars have thery're correct value