Hello!
Suddenly we have problems with variables that are located in CODE space. We declare them with 'uint code varname[8] = {value1, value2,..etc.}'. The normal way.
After compilation we load the HEX file into HiTop. If I then look into the code space where the variables are located, the values are changed.
The C51 compiler config was not changed and this hasn't happen before.
Any clue? We are desperate. After years of using Keil C51 package and Hitex Hitop 4.11 with DProbeHS we never had such an error.
TIA.
... a few things to check:
Have you checked the Hex file?
If you load the Hex file into the Keil simulator, is it OK?
Can you find your data elsewhere in CODE space?
Are you sure that you're not somehow getting the Hex file out-of-step with the build...?
@Andy: I can't load it into the simulator, because we have no license for the debugger.
Can you reproduce the problem in a sample that will fit within the limits of the evaluation debugger?