Flash Magic Forum

In-System Programming Support => P89C51Rx+/P89C51Rx2/P89C66x/P89C6xX2/P89V66x => Topic started by: Marc N. on April 25, 2005, 11:05:31 pm

Title: 89C51RD2 ISP mutterings
Post by: Marc N. on April 25, 2005, 11:05:31 pm

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.
Title: Re: 89C51RD2 ISP mutterings
Post by: Andy Ayre 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.