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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/08/05 19:21
Read: times


 
#91267 - using the EA pin
Responding to: ???'s previous message
The user manuals always said don't switch the EA pin on-the-fly. The main reason is that you need to know when to time it. It was later discovered that this was a security hole using MOVC so manufacturers decided to latch the EA pin when you come out of reset if the read inhibit security bit was programmed. I actually have done this with a competitor's 80C51 part a long time ago - just for fun to see how easy it was to read their code using MOVC. It wasn't difficult (maybe I can find my notes from then) but I also had the resources of a chip designer who told me the timing window when to change the EA pin during the MOVC instruction.(I think a few devices in the industry latch the EA pin always coming out of reset). I have not switched the EA pin on the fly before on the Rx2 devices. I'm going to try it. Since there is a bit to prohibit external execution, I doubt that the EA/ pin is latched if no security bits are programmed. As to the timing, after fetching the third byte of a LJMP is the correct time. I, and the 8051, don't care if it corrupts the fourth byte because the CPU ignores the fourth byte fetched on a three byte instruction. I'll try it an let you know how it works.

List of 34 messages in thread
TopicAuthorDate
Philips p89c51RDx Programmer project            01/01/70 00:00      
   Useful Project            01/01/70 00:00      
   Useful Project. Count me in            01/01/70 00:00      
      lets try something....            01/01/70 00:00      
         No Go            01/01/70 00:00      
            see my "other things.."            01/01/70 00:00      
               bootrom code            01/01/70 00:00      
                  Jan, please email me at .....            01/01/70 00:00      
                  BootRom Code            01/01/70 00:00      
                     Boot ROM address range            01/01/70 00:00      
                        2kb boot code            01/01/70 00:00      
                           B oot from External Memory            01/01/70 00:00      
                              !EA/Vpp            01/01/70 00:00      
   why not the simple solution: NoTouch            01/01/70 00:00      
      Too Late            01/01/70 00:00      
         Try this, it has worked for some            01/01/70 00:00      
   Philips's angwer            01/01/70 00:00      
      the most often changed            01/01/70 00:00      
      an RX2 'fix' from the horse's mouth...            01/01/70 00:00      
         neat            01/01/70 00:00      
         Nice!            01/01/70 00:00      
            I'll look tomorrow...            01/01/70 00:00      
               I take it back            01/01/70 00:00      
                  you're NOT as stupid as you think.......            01/01/70 00:00      
         Not possible !!!            01/01/70 00:00      
            respectfully disagree...            01/01/70 00:00      
               Re: respectfully disagree...            01/01/70 00:00      
                  I didcussed it above earlier today...            01/01/70 00:00      
               difference Philips.vs.Atmel            01/01/70 00:00      
                  other things...            01/01/70 00:00      
                     lets make the ckt even simpler...            01/01/70 00:00      
                     maybe ?            01/01/70 00:00      
                        using the EA pin            01/01/70 00:00      
               which bits            01/01/70 00:00      

Back to Subject List