ARMCM3 does not write correct data in register of CMSIS-SVD file

ARMCM3 can read from  address from custom CMSIS-SVD file and it is correct value but in write it is unable to write on that address , at start of debugger reg1 value is not 0x00 but its some garbage value {0x00000495 },in system viewer after write sequences reg1 should have 0x00000805 but its not coming , can any body help me in this regard. thanks in advance

  • Sorry, probably no one can comment on this based on the data you provided. Are you sure there is write-able memory at address 0x0000004 to which your SVD file seems to point the "reg1". Does this match with the address your program uses? What device are you actually using? What kind of debug session is this (some target debugging or simulation)?