Electronic – 8051 serial programmer issue

8051microcontroller

enter image description here

I am trying to implement this, but there are a few problems I am facing..

  1. Should I connect PIN 5 of DB9 to Earth ground or the negative pin of the source.
  2. When the serial Rx and Tx cables are attached to the MAX232, loopback in occurring. I have checked, there is no short in the breadboard. How is the data coming back? Yes the 'echo' is off in hyperterminal.

Best Answer

Have a look at this: -

enter image description here

Pin 2 is shown as the input receive line to the PC and this means you connect this line to your 232 transmit output. At the moment your diagram shows it connected to your receive input.

I'm not saying it'll fix your "loopback" problem - that may be connected to this wiring error so try this first.