Author Topic: P89C51RD2 not booting at 00 after successful programming  (Read 2750 times)

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: P89C51RD2 not booting at 00 after successful programming
« Reply #135 on: September 15, 2017, 12:12:03 am »
Yes, FM sets the status byte to zero after successful programming. Perhaps age has affected the parts in some way and it takes two attempts to program that location to make it stick?

Probably the best thing to do for the future is to use the command line version so you always explicitly set the status byte after programming.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Nick Daniel

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: P89C51RD2 not booting at 00 after successful programming
« Reply #136 on: September 17, 2017, 08:33:36 pm »
Thanks for your reply Andy.

I can confirm that the status byte is 0x00 by reading it back but it still takes another go at programming for it to change the boot location.

This is the last of our stock so I have to switch to an Atmel device next time anyway.

Nick