Flash Magic Forum

In-System Programming Support => P89C51Rx+/P89C51Rx2/P89C66x/P89C6xX2/P89V66x => Topic started by: Aric on September 13, 2005, 10:49:56 PM

Title: Flash Magic Fails
Post by: Aric on September 13, 2005, 10:49:56 PM
I'm trying to use flash magic to program my p89c51rc2ba.
It is able to read from the device and erase the device, but after it try to program a few blocks it fails and says there is a communication error. Then I am unable to read anything from the device.
But if I wait a few minutes I am able to once again read from the device, and have a chance to reset the boot vector.
I've used WINISP in the lab to program the device, so I know the chip is not bad.
What is going on here? Why is Flash Magic failing. How can I fix it?
And why does Flash Magic change the boot vector everytime it tries to program?

Also where can I download WINISP? I would like to try in on my home computer to rule out any problems with my com port.

Thanks
-Aric
Title: Re: Flash Magic Fails
Post by: Aric on September 13, 2005, 11:45:37 PM
Ok I was able to fix the problem. I changed the timeouts to a larger value and that fixed everything.
I wish I found this earlier:
http://www.esacademy.com/software/flashmagic/appnotes/ISPProblemsAppNote.pdf
Title: Re: Flash Magic Fails
Post by: Andy Ayre on September 14, 2005, 07:38:41 AM
Thanks for letting us know. Note that WinISP does not support your device - it only supports the previous two generations of Rx2.