Flash Magic Forum

In-System Programming Support => P89C51Rx+/P89C51Rx2/P89C66x/P89C6xX2/P89V66x => Topic started by: Valent on September 06, 2005, 08:12:33 AM

Title: Problems with FlashMagic 2.37
Post by: Valent on September 06, 2005, 08:12:33 AM
Hi everybody,

I have updated my old FlashMagic 2.08 to new version 2.37 and now I can't program the 89C51RD2H. I see that new version send a no documented ISP command after to check the signature and before to send the Progam Data commands:
:0100000508F2
Is that correct? Help please!

Best regards,

Valent
Title: Re: Problems with FlashMagic 2.37
Post by: Andy Ayre on September 06, 2005, 09:03:08 AM
That command resets the device. Do you have the "Execute" checkbox set in section 4, or are you using the Reset or Execution options on the ISP menu?

Nothing should have changed in 2.37 with respect to those devices.

Title: Re: Problems with FlashMagic 2.37
Post by: Jan Waclawek on September 07, 2005, 12:14:49 AM
> That command resets the device.

Andy, do you mean the same way if the RESET pin would be pulsed high?
I tried it with P89C51RD2H, it does not work like that.

Jan Waclawek
Title: Re: Problems with FlashMagic 2.37
Post by: Valent on September 07, 2005, 12:19:18 AM
Hi Andy,

The only checkbox set are Verify after programming and Generate checksums, so the answer is no. In fact if I use Execution options on the ISP menu, the command sent is :020000058001F2 and not :0100000508F2.

Best regards,

Valent
Title: Re: Problems with FlashMagic 2.37
Post by: Valent on September 07, 2005, 12:46:48 AM
Hi Andy,

ERRATA:
I am sorry by the mistake but the real command sent is
:02000005800178

Valent
Title: Re: Problems with FlashMagic 2.37
Post by: Andy Ayre on September 07, 2005, 09:15:56 AM
You've mentioned this record twice but with two different checksums. Please do the following:

Start FM
Pres F1 to enter Debug mode ([Debug] appears at the top
Attempt to program the device
Press F2 to exit debug mode
Email me the generated debug file C:\flashmagic.fmd
Delete the debug file.

My email address is at the bottom of this posting and in the Help -> About window.

Title: Re: Problems with FlashMagic 2.37
Post by: Andy Ayre on September 08, 2005, 02:13:56 PM
This is a confirmed bug in 2.37, that was introduced in that version. The command being sent is actually the one to read the first block security bits from an 89LPC9xx device.

Version 2.38 is now available that fixes this problem.