You need total four pins of the 8051 (P89V51RD2). viz RESET, TxD, RxD, GND
(of course IC should be properly powered).
Connect RxD of serial port of computer to TxD of 8051, TxD of serial port of computer to RxD of 8051, DTR of serial port of computer to RST pin of 8051 (all through RS232 interface only). Ground pins of both should be shorted.
The basic need of P89V51RD2 to be programmed serially is that, when you click on "start" button in flash magic, the controller should be RESET. So, when you click on "start" button in flash magic, it sends the reset signal on DTR (Data Terminal Ready) pin. So, connecting DTR to RST pin through RS232 converter will serve the purpose.
(of course IC should be properly powered).
Connect RxD of serial port of computer to TxD of 8051, TxD of serial port of computer to RxD of 8051, DTR of serial port of computer to RST pin of 8051 (all through RS232 interface only). Ground pins of both should be shorted.
The basic need of P89V51RD2 to be programmed serially is that, when you click on "start" button in flash magic, the controller should be RESET. So, when you click on "start" button in flash magic, it sends the reset signal on DTR (Data Terminal Ready) pin. So, connecting DTR to RST pin through RS232 converter will serve the purpose.
This comment has been removed by the author.
ReplyDeleteThank You for posting such a knowledgeable content i am curious about "8051 IC" to know
ReplyDeleteJTAG