Author Topic: PROBLEM TO RUN THE PROGRAM  (Read 2077 times)

KE NG

  • Guest
PROBLEM TO RUN THE PROGRAM
« on: August 03, 2005, 07:48:08 pm »
Hi,
I had a program which is running with other device P89C52UB by using external device to Load the Hex.

I try to load the same program by using P89C51RD2BH though
FLASH MAGIC its look fine the program transfer but can't
execute after I Reset the system.

Should I include any program at Initialization.

If yes. Any sample or note can be refer.

Please advice.

Regards,
KE NG

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2142
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: PROBLEM TO RUN THE PROGRAM
« Reply #1 on: August 04, 2005, 08:56:47 am »
Those devices are likely quite different in some respects, for example memory sizes, pinouts, clocks/cycle, etc. You really need to compare the datasheets of the two devices, find the differences then consider how they might affect your program. From there you can start debugging to see where your program stops working.

Use the verify feature in Flash Magic to check that the hex file was programmed correctly.

Embedded Systems Academy, Inc.
support at esacademy dot com