In reply to yuvraj khare:
This is not an issue. It reflects the real behavior. A RO register cannot be written using the write command. This results in an error.
If you want to do this you have to use instead of the write the poke, which is a backdoor write. This is legal.
But you should think about if a bit bash sequence is useful for RO registers.