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

Nick Daniel

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
P89C51RD2 not booting at 00 after successful programming
« on: September 14, 2017, 05:49:42 pm »
We have recently programmed 100 pieces of a product that uses the P89C51RD2HBBD MCU.  This is old Philips stock with date code D0047 G (I think - can't find any doco on this!).
 
On 12 of the boards it was noticed that after programming, verifying successfully then being reset the MCU did not run the application code.  Later investigation showed that the MCU would continue to start in boot loader mode (i.e. boot from 0xFC00).  When power was applied I could communicate with FlashMagic without needing to force entry to the boot loader mode by holding PSEN low at turn on.  With FlashMagic I checked that the device was not blank and verified the code successfully with the hex file.

Using FlashMagic I was able to program the status byte and boot vector separately to the memory space.  I set the status byte to 0x00 and left the boot vector at 0xFC.  After this operation the MCU restarted running the application code.

It is my understanding that FlashMagic would set the status byte to 0x00 after successful programming.

Has anyone seen this behaviour before?  Is there some timing relationship between finishing the verify and programming the status/boot vector bytes that is marginal on these MCUs?

There is a momentary switch attached to PSEN to pull low if ISP mode is needed after programming but I think it unlikely that that this pin was getting a repeatable low glitch at boot up on only these 12 units.

We used FlashMagic 6.77.2724 (this is the free version - we also own a production version license but this was not installed).

Thanks in advance,
Nick

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 #1 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 #2 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

HardhopH

  • Jr. Member
  • **
  • Posts: 16
    • Yahoo Instant Messenger - Buy Original Documents of Canada
    • View Profile
    • Email
w w w. buyrealdocuments.cc Our team is a unique producer of quality Original ID cards, drivers license.
We offer only original high-quality Registered Passport, driver's licenses, id card, certificate, Diplomas, stamps and other products for a number of countries like:
UK, Australia, Belgium, Malaysia, Canada, Italy, Finland, France, Germany, Netherlands, Portugal, Spain, Sweden, Norway, Malaysia, Poland, United Kingdom. This list is not full.
 
To  the additional information and place the order just visit our website:
 
 
 
http://www.buyrealdocuments.cc  w w w. buyrealdocuments.cc
 
 
>> Contact e-mail:
 
 
General support: support(a)buyrealdocuments.cc
 
 
 
-----------------------------
Keywords:
 
obtain Malaysia Registered Passport,
obtain Malaysia false Passport,
obtain Malaysia novelty Passport,
obtain Malaysia Registered driver license,
obtain Malaysia false driver license,
obtain Malaysia novelty driver license,
obtain Malaysia Diplomatic Passport,
purchase Malaysian Registered Passport,
purchase Malaysian false Passport,
purchase Malaysian novelty passport,
purchase Malaysian Registered driver licenses,
purchase Malaysian false driver license,
purchase Malaysian novelty driver license,
purchase Malaysian Diplomatic Passport
sell Malaysia Registered Passport,
sell Malaysia false Passport,
sell Malaysia novelty Passport,
sell Malaysia Registered driver license,
sell Malaysia false driver license,
sell Malaysia novelty driver license,
Malaysian Registered Passport,
Malaysian false Passport,
Malaysian novelty Passport,
Malaysian Registered driving license,
Malaysian false driving license,
Malaysian novelty driver license,
Malaysian Diplomatic Passport,
 
Argentine Fake passports for sale
Australian Fake passports for sale
Austrian Fake passports for sale
Belgian Fake passports for sale
Brazilian Fake passports for sale
Bulgarian Fake passports for sale
Canadian Fake passports for sale
Chinese Fake passports for sale
Cuban Fake passports for sale
Cypriot Fake passports for sale
Czech Fake passports for sale
Danish Fake passports for sale
Dominican Republic Fake passports for sale
Ecuadorian Fake passports for sale
Estonian Fake passports for sale
Finnish Fake passports for sale
French Fake passports for sale
German Fake passports for sale
Greek Fake passports for sale
Hungarian Fake passports for sale
Icelandic Fake passports for sale
Malaysian Fake passports for sale
Indonesian Fake passports for sale
Irish Fake passports for sale
Israeli Fake passports for sale
Italian Fake passports for sale
Japanese Fake passports for sale
Korean Fake passports for sale
Latvian Fake passports for sale
Lithuanian Fake passports for sale
Luxembourgian Fake passports for sale
Malaysian Fake passports for sale
Mexican Fake passports for sale
Monegasque Fake passports for sale
Dutch Fake passports for sale
New Zealand Fake passports for sale
Norwegian Fake passports for sale
Philippine Fake passports for sale
Polish Fake passports for sale
Portuguese Fake passports for sale
Romanian Fake passports for sale
Russian Fake passports for sale
Saudi Arabia Fake passports for sale
Singapore Fake passports for sale
Slovak Fake passports for sale
Slovenian Fake passports for sale
South African Fake passports for sale
Spanish Fake passports for sale
Swedish Fake passports for sale
Swiss Fake passports for sale
Taiwan Fake passports for sale
Thai Fake passports for sale
Turkish Fake passports for sale
Emirati Fake passports for sale
British Fake passports for sale
American Fake passports for sale
 
 
To  the additional information and place the order just visit our website:
 
 
 
http://www.buyrealdocuments.cc  w w w. buyrealdocuments.cc
 
 
>> Contact e-mail:
 
 
General support: support(a)buyrealdocuments.cc