Author Topic: Problem Programming the P89V51RD2  (Read 3224 times)

aadilrj

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
    • Email
Problem Programming the P89V51RD2
« on: March 12, 2009, 06:27:20 am »
hello....

i m working on a project where we intend to program a phillips 89v51rd2 using a 89v51rd2. The flow of operations is as follows.

1) by serial port we download the main program (hex file) in the external memory via the 89v51rd2. (read operation)
2) then we transfer this program (from the memory) into the target controller 89v51rd2, through a serial port.

basically we are making a portable controller which is more like an emulation of flash magic. So, that means a hardware implementation of flash magic.

we are facing the following problems and would be grateful to you if send in some suggestions on the same.

1)  Does 89v51rd2 support I2C protocol for memory read and write operations ??

2)  we are facing some problems with the basic serial communication. we have connected DTR to RST for programming the main controller. Do we have to remove this connection while the execution of the program ?? what are the other considerations for serial communication ?? like RTS DST ??

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2121
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Problem Programming the P89V51RD2
« Reply #1 on: March 12, 2009, 08:55:53 am »
I'm not aware of any need to disconnect DTR and RTS to execute firmware, but then it depends on how they are connected to the device RST and VCC.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com