Flash Magic Forum

In-System Programming Support => P89C51Rx+/P89C51Rx2/P89C66x/P89C6xX2/P89V66x => Topic started by: Koen De Ganck on January 16, 2006, 02:43:05 AM

Title: Flash programming problem with P89C51RD2BA
Post by: Koen De Ganck on January 16, 2006, 02:43:05 AM
I found out that there is a problem with programming this chip. The last byte of  each boundary is wrong. (I checked 4 flashblocks).  Flashmagic give 'OK' after verifying the programmed code. Reading out the last byte(0XFFFh) of each block  with Flashmagic and my application gives the same wrong byte. '1' can be '0' or vice verse, reprogramming a second time without erasing does not solve the problem.
I also tried with 'FREQ = 0' and 'FREQ = 20' as my device works at maximum speed in 6-clk mode.
I have the problem in Flashmagic V1.74 and V2.47
What could be wrong ?
Thanks for your response.

Koen De Ganck
Title: Re: Flash programming problem with P89C51RD2BA
Post by: erikm on January 16, 2006, 05:05:00 AM
are you using checksum?

Erik

Title: Re: Flash programming problem with P89C51RD2BA
Post by: Andy Ayre on January 16, 2006, 06:11:14 AM
Uncheck "Use Checksums" the main window. This feature is described in the manual.

Title: Re: Flash programming problem with P89C51RD2BA
Post by: Koen De Ganck on January 16, 2006, 07:23:11 AM
Thanks, indeed the problem is now solved. Erik Malund gave me this tip too.
Maybe it would be nice to give a warning when overwriting programcode.
Title: Re: Flash programming problem with P89C51RD2BA
Post by: Sanjay on January 28, 2006, 03:54:14 AM
Hello there,

I am using 89v51RD2FN alongwith a 12MHz crystal.The problem is that whenever I try to check the Device Signature, Flash Magic displays me the message in red colored text  "Reset the Device in ISP mode now".

I have checked the device name in step 1 and have tried using different Baud rates.I am still unable to reset 89v51RD2FN in ISP mode.I have also tried switching ON and OFF the power supply.

I am using Flash Magic version 2.40 (DLL VERSION 1.90).

Shall appreciate if you can find me a solution to this problem.

Regards,

SANJAY
Title: Re: Flash programming problem with P89C51RD2BA
Post by: Jan Waclawek on January 29, 2006, 11:19:52 PM
Ehm, the same question by "nirbhay" - I answered there.
http://www.esacademy.com/software/flashmagic/forum/read.php?f=1&i=2676&t=2676

Jan Waclawek