Hi again,
How can you assign a fixed memory region within RAM to a variable that will be modified i.e. that does not have the qualifier const?
e.g.
#pragma CONST_SEG CALIBRATION
Int16 Sb10_Constant8 ;
In this case this variable is not assigned an address in the RAM memory region CALIBRATION. When I add the "const" identifier, then this variable is put in the correct memory region, but I get an error when I try to modify it.
#pragma CONST_SEG CALIBRATION
const Int16 Sb10_Constant8 ;
=> Sb10_Constant8 is assigned the correct location, but elsewhere in the program the statement below gives me an errror - "modifiable value expected".
Sb10_Constant8 = Sb10_Constant8_ROM;
How can I get round this problem?
Raghav