Author Topic: Flash Magic Fails  (Read 3266 times)

Aric

  • Guest
Flash Magic Fails
« 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

Aric

  • Guest
Re: Flash Magic Fails
« Reply #1 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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Flash Magic Fails
« Reply #2 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.

Embedded Systems Academy, Inc.
support at esacademy dot com