Author Topic: 89C51RD2 ISP mutterings  (Read 3499 times)

Marc N.

  • Guest
89C51RD2 ISP mutterings
« on: April 25, 2005, 11:05:31 pm »
Hiya!

I'm trying to establish comms through an isolated RS232 port to an 89C51RD2 processor, and am having problems.

I've checked the port using a terminal program, and it works happily in loopback up to 28800 kbps. With the processor attached, I can send and receive an uppercase "U" - a scope confirms the baud rate and the reception and transmission of the character.

However, Flashmagic does not seem to want to connect. I've tried different baud rates, communication settings, cable configurations, and nothing seems to work. I cannot read security bits, device IDs, etc. From startup FM has problems. I can, however, clearly see communication taking place on the processor TX/RX lines and at the serial port I/O.

Is there any way to confirm that the processor is in bootROM mode?

Processor oscillator is running at 20 MHz, supply is +5V, PSEN held low on reset.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: 89C51RD2 ISP mutterings
« Reply #1 on: April 26, 2005, 08:04:38 am »
Please generate a debug file:

Press F1 so [Debug] appears at the top
Reset the device
Attempt to read the security bits
Press F2 so [Debug] dissappears.

Email me the generated debug file C:\flashmagic.fmd. My email address is at the bottom of this post.

Embedded Systems Academy, Inc.
support at esacademy dot com