Author Topic: 89C51RD2BN connectivity problems  (Read 6138 times)

Nikolai

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
    • Email
89C51RD2BN connectivity problems
« on: January 17, 2007, 06:30:01 am »
Im having the same old problem of "Unable to connect at specified baud rate"..

I double checked the connections. I tried communicating through the hyper terminal but "u" is also not being echoed.

any ideas as to wat could be wrong ?

Jan Waclawek

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
Re: 89C51RD2BN connectivity problems
« Reply #1 on: January 17, 2007, 09:54:03 am »
  • micro not working at all
    • no or bad power (check with DMM and/or oscilloscope)
    • no reset (throw away the RC reset if you use it) or "hanging" reset
    • oscillator not working (check with oscilloscope)
  • bad method of entering ISP - check with the appropriate datasheet/appnote
  • faulty RS232 connection - check by pulling the micro from socket (I hope it's socketed) and short Rx and Tx - in terminal you should see echoed characters
  • "bootvector loss" problem - search on this forum

What is the history of this chip? Did you already attempt to program it? Did you run it in a board with inappropriate (=RC) reset?

Jan Waclawek

Nikolai

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
    • Email
Re: 89C51RD2BN connectivity problems
« Reply #2 on: January 17, 2007, 10:22:35 am »
i checked the power supply...its working fine...
didnt try chucking the reset ckt...
oscillator is working fine

ISP conditions met...(PSEN pulled to GND,Vpp=5V,ALE=NC)

RS232 link is good.. i tried shorting rx n tx, n characters do echo back.

I just got a brand new IC (the second since the first failed for unknown reasons)... so lost boot vector is less probable.

erikm

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Re: 89C51RD2BN connectivity problems
« Reply #3 on: January 18, 2007, 12:41:19 pm »
do you have P2.6 and P2.7 high?

Erik
erik

Nikolai

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
    • Email
Re: 89C51RD2BN connectivity problems
« Reply #4 on: January 19, 2007, 08:26:30 am »
Yes P2.6  n P2.7 is high when the circuit is powered. As a matter of fact PSEN too is high(4.93 volts) when in run mode.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2163
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: 89C51RD2BN connectivity problems
« Reply #5 on: January 24, 2007, 09:33:52 am »
A brand new device should power up into ISP mode. Is that the case? If you take a new device and still cannot get the 'U' to echo back then there is something wrong with either the communication path between your PC and the device or an electrical problem.

Have you tried putting a scope on the RxD pin to see if the 'U' is getting there? If it is, put the scope on the TxD pin. Do you see the 'U'?
Embedded Systems Academy, Inc.
support at esacademy dot com