[General] Help please - Copy the program from p89lv51rb2 to new MCU

Status
Not open for further replies.

Orwa Alhaider

Newbie
Joined
Dec 13, 2020
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
18
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?
 

Hi,

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.

Klaus
 
I'm using a serial port programmer
The Microcontroller is p89v51rd2
And the program is flash magic
 

Attachments

  • 1.gif
    25 KB · Views: 106
  • IMG_20201213_175329.jpg
    8.1 MB · Views: 92
  • lj.jpg
    76.6 KB · Views: 88
  • k.jpg
    419.7 KB · Views: 92
  • kk.jpg
    78.3 KB · Views: 90
  • 150951815_.jpg.2879c013622da1d705727fa69894895c.jpg
    66.2 KB · Views: 87

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.
it's a cod for HMI screen.
 

Attachments

  • k.jpg
    317.9 KB · Views: 93

Hi,

to me it seems you did not care of step 3: Choose the programming file.

in either case I´d expect the verify to fail. I don´t see any information ragarding this.

Klaus
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…