I'm trying to copy the program from p89lv51rb2 by read the memory on flash magic and save the code in hex file and load it to a new MCU, when i read a new memory of new MCU it displays fffff and it does not work, can anyone help me please?
So if the read out hex file not empty (not 0xFF), then obviously it's not written correctly into the new microcontroller.
How can we help?
We don't know which programmer, which setup, which wiring, which microcontroller, which power supply, which programming software you use.
Nor do we see the programmer's messages.
And, what is the content of your hex file from original controller? If it's 0xFF, you have locked controller so no reading from it's flash is possible.
And, what is the content of your hex file from original controller? If it's 0xFF, you have locked controller so no reading from it's flash is possible.