Flash Magic Forum

In-System Programming Support => P89V51Rx2/P89LV51Rx2 => Topic started by: dptxp on October 18, 2008, 04:57:01 am

Title: Lock bit does not get programmed in first attempt. - 89V51RD2
Post by: dptxp on October 18, 2008, 04:57:01 am
When I program 89V51RD2 with Set Security Bit 1 and Prog Clocks bits enabled,
two things happen -

1) I get message that Clock bits could not be programmed. But a read shows that it is.
2) The security bit is unset. I then reprogram without ERASE . Now I do not get any
messages and the security bit too gets set.
This is dangerous as after programming with the parameters enabled, one assumes that
security bit is set.

I am programming new device without any erase at 57600 baudrate.

I have tried with latest version too, in fact today, same thing happens.




Title: Re: Lock bit does not get programmed in first attempt. - 89V51RD2
Post by: Andy Ayre on October 20, 2008, 08:25:54 am
I think this may be a bug in the bootloader. Try updating to the latest bootloader and let us know if you still see the problem. You can get it from here:

  http://www.flashmagictool.com/resources.html

Andy