USE P89C51RD2BN to ISP (Flash Magic) => only once !?

Started by losas, September 20, 2009, 07:14:39 PM

Previous topic - Next topic

losas

HI ...

I have some new P89C51RD2BN IC and setup FlashMagic V5.35 OK.

FlashMagic Step 1 to 4 OK and run Step 5 to start.

But only once program is OK ...

Use the same HEX file(or another) to 2nd program was filded.

Step 1~4 no change , why only 1st program is ok ? (test smoe new P89C51RD2BN)

more than once ... get error message is

"Unable to connect at the specified baud rate. Try reducing the baud rate. Failed to autobaud. See http://www.flashmagictool.com/autobaud.html Reset the hardware into ISP mode again."

Baud rate is 9600. Change it to test ... get the same error message .

Help me ... thank you .

Andy Ayre

When devices are new from the factory the status byte is set. This causes the device to run the bootloader when it is powered up or reset.

Once you have programmed the device Flash Magic will clear the status byte.

Now if you want to run the bootloader you must meet the AC and DC conditions described in the user manual for the device. Use a scope to verify you are meeting all of the conditions.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

losas

Thank you,I check in the user manual for the device.

GeeMott

Maybe you have the same problem I had:
http://forum.flashmagictool.com/index.php?topic=3497.0

The solution was (and still is), I have to update the bootloader BEFORE I program the device the first time.  If I fail to do this, the part programs only once.  Then if I need to update it, it goes into a little box labeled "parts not worth keeping."

Andy Ayre

The "V" devices are very different from the "C" devices. The bootloader cannot be upgraded in the "C" devices and the bootloader is different code.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com