Microcontrollers: What pins are used to upload a program to a 8051 IC?

By
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.

0 comments:

Post a Comment

If you have any questions or droughts feel free to ask here.