Problem Programming the P89V51RD2

Started by aadilrj, March 12, 2009, 06:27:20 AM

Previous topic - Next topic

aadilrj

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

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