Flash programming problem with P89C51RD2BA

Started by Koen De Ganck, January 16, 2006, 02:43:05 AM

Previous topic - Next topic

Koen De Ganck

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

erikm

erik

Andy Ayre

Uncheck "Use Checksums" the main window. This feature is described in the manual.

Embedded Systems Academy, Inc.
support at esacademy dot com

Koen De Ganck

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.

Sanjay

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