Flash Magic Fails

Started by Aric, September 13, 2005, 10:49:56 PM

Previous topic - Next topic

Aric

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

Aric

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

Andy Ayre

Thanks for letting us know. Note that WinISP does not support your device - it only supports the previous two generations of Rx2.

Embedded Systems Academy, Inc.
support at esacademy dot com