Author Topic: Problem with serial programming  (Read 1822 times)

0 Members and 1 Guest are viewing this topic.

Offline neo01124Topic starter

  • Jr. Member
  • **
  • Posts: 46
  • Helpful? 0
Problem with serial programming
« on: November 01, 2007, 07:23:21 AM »
We r trying to do serial programming.But somehow its not working.
We r taking signals from DB9 pin and r giving it to RxD pin of 8051 through MAX232.
It's not working. Don't know why??
Can't figure it out.
I've tried it a lot
Pls help as urgently as u can.

I'm attatching d circuit diagram.

Visit d circuit diag on:

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,695
  • Helpful? 173
    • Society of Robots
Re: Problem with serial programming
« Reply #1 on: November 01, 2007, 11:14:35 AM »
Tell us more about your setup.

Make sure your baud rates are correct.

A good way to debug is connect the tx and rx lines and see if a device can talk to itself. For example, connect the tx and rx lines on your db9, use hyperterminal, and see if you receive what you send.

Offline paulstreats

  • Supreme Robot
  • *****
  • Posts: 1,381
  • Helpful? 21
Re: Problem with serial programming
« Reply #2 on: November 01, 2007, 05:57:59 PM »
i would think you also need to connect the txd pin to the max232 aswell otherwise theres no 2 way communication?

The 8051 cant say its ready to transfer data if it cant transmit it


Get Your Ad Here