IMHO, using pragmas and modifying scatter file is overkill for this.But if you desperately have to do it this way, just initialize the const variables.These const variables will be put in place long before you powerup that hardware.I dont know your particular hardware but there should be no problem. Even if thehardware block is running, writing to a read-only hardware register should not matter.That particular hardware should simply ignore that write request, and that is all...