I have studied that it is possible to write values in code memory during the execution time in A51.But when tried the test gets failed.If possible what is the actual procedure to do it?
"it is possible only with devices which have built-in bootloader flash API" Not true: this might be the easiest way, but it's not the only way. with a suitable memory architecture you can do this on any 8051 - but it requires the user to provice the necessary hardware and software support.