Author Topic: Lock bit does not get programmed in first attempt. - 89V51RD2  (Read 4107 times)

dptxp

  • Jr. Member
  • **
  • Posts: 31
    • View Profile
Lock bit does not get programmed in first attempt. - 89V51RD2
« 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.





Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2169
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Lock bit does not get programmed in first attempt. - 89V51RD2
« Reply #1 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
Embedded Systems Academy, Inc.
support at esacademy dot com