Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/12/06 13:02
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#126300 - maybe
Responding to: ???'s previous message
Erik Malund said:
the dangers of uncharted waters withou a pilots license.

Aaaaah there would be no excitement in electronics if you'd never sail away from your home lake...

Erik Malund said:
My guess is that you have written to the ISP area of the flash.


Maybe yes, maybe not. There are 3 factors in "loosing" the P89V51RD2 (i.e. corrupting the bootloader in bootFLASH - this is not inadvertent, a parallel programmer (if available :-( ) can be used to reprogram the boot sector):
  • as you said, accidental overwriting of ISP area by the application. This sounds reasonable, but it is not easy to accomplish at all, at least not if one is not aware of the exact procedures of FLASH writing, which are hidden from the user by the IAP interface.
  • an unfortunate flaw in the ISP protocol, due to which the SoftICE mode is set when programmed using FlashMagic and - by (not too uncommon) mistake - the P89C51RD2 is chosen. In this case the chip stops responing to FlashMagic, but remedy exists (see "unsoftice" on my webpage).
  • Circuitry - the classic example. What is the power supply characteristic and what is the RESET circuit? RC, isn't it? Although the datasheet claims some POR and BOD, the explanation - ehm - leaves a lot behind - and the SST's datasheet is not any clearer in this regard (I'd guess they simply sc****d it up and it does not work properly - as in so many other mcus...).
And, of course, the fourth - completely damaged chip, for a zillion of reasons.

Erik Malund said:
but guarantee that you will not lose more chips - that we can not do

The only thinkg I dare to guarantee is that there will be a sunset tonight... :-)

However, if I managed to use IAP (consider my innate stupidity), I believe it is not so complicated - one just needs to read what has been written here and in the datasheet, very very carefully.... But wait, oh, isn't this the case of so many troubles? :-)

Jan Waclawek


List of 50 messages in thread
TopicAuthorDate
how to write in EEPROM in P89V51RD2 ?            01/01/70 00:00      
   there is no such thing as an EEPROM            01/01/70 00:00      
   eh?            01/01/70 00:00      
      I mean FLASH ...            01/01/70 00:00      
         FlashMagic            01/01/70 00:00      
            I have flash magic            01/01/70 00:00      
               that IS what FlashMagic does            01/01/70 00:00      
                  All of them ...            01/01/70 00:00      
                     I'm at a loss            01/01/70 00:00      
                  Probs is password storing ...            01/01/70 00:00      
                     you have not, see above            01/01/70 00:00      
                        just give me an idea            01/01/70 00:00      
                           datasheet            01/01/70 00:00      
                     clear question will help            01/01/70 00:00      
         read the ... datasheet            01/01/70 00:00      
            P89V51 IAP (access)            01/01/70 00:00      
         Unfortunate terminology!            01/01/70 00:00      
   I read data sheet            01/01/70 00:00      
      read about IAP!!!            01/01/70 00:00      
         IAP code example...            01/01/70 00:00      
            this is NOT for P89V51RD2!            01/01/70 00:00      
               Use 89S52 / 89S8252            01/01/70 00:00      
                  I\'d guess...            01/01/70 00:00      
            few questions ...            01/01/70 00:00      
               Do you read my posts?            01/01/70 00:00      
   I have tried but failed ...            01/01/70 00:00      
      corrupted???            01/01/70 00:00      
         Dont know            01/01/70 00:00      
            How do you know that they are corrupted?            01/01/70 00:00      
            Refer the application notes for the P89V51RD2            01/01/70 00:00      
               Detail Problem ...            01/01/70 00:00      
                  think!            01/01/70 00:00      
                     program ...            01/01/70 00:00      
                        ehm....            01/01/70 00:00      
                           Well confused!            01/01/70 00:00      
                              one has to start somewhere...            01/01/70 00:00      
                                 Flowcharts            01/01/70 00:00      
                                    I don't think it's a good idea...            01/01/70 00:00      
                        Jan ... Guide me more            01/01/70 00:00      
                           where to place the code            01/01/70 00:00      
                  BIBLE TIME            01/01/70 00:00      
                     BASICs            01/01/70 00:00      
                        A very basic question            01/01/70 00:00      
                           to Arvind            01/01/70 00:00      
                           if you mean BASIC52/RD2 v1.4beta4...            01/01/70 00:00      
      the dangers of uncharted waters withou a pilots            01/01/70 00:00      
         maybe            01/01/70 00:00      
            I would not dare that            01/01/70 00:00      
               sunset...            01/01/70 00:00      
                  Mr. Shrivastava you are Wasting other's time            01/01/70 00:00      

Back to Subject List