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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/18/07 17:11
Read: times


 
#135205 - There's a special "once" mode ... for emulators
Responding to: ???'s previous message
The hardware manual will discuss this mode. Since I'm not a big emulator user, I don't know much about it, but it's entirely possible that the emulator uses this feature to alter the behavior of the system. Back in the day when the MCU was developed, it was common for emulators to use a separate MCU that took over the functions of the in-circuit MCU, but attached through the in-circuit MCU's pins. This necessitated that the in-circuit MCU "go away" and it's my understanding, however limited, that that's what this "once" mode does.

The hardware guide says, "
ONCE Mode
The ONCE (“on-circuit emulation”) mode facilitates testing and debugging of systems using the device without the device having to be removed from the circuit. The ONCE mode is invoked by:
1. Pull ALE low while the device in in reset and PSEN is high;
2. Hold ALE low as RST is deactivated.
While the device is in the ONCE mode, the Port 0 pins go into a float
state, and the other port pins and ALE and PSEN are weakly pulled
high. The oscillator circuit remains active. While the device is in this
mode, an emulator or test CPU can be used to drive the circuit.
Normal operation is restored after a normal reset is applied.

That might explain things.

A physical look inside the emulator hardware might reveal that it's using an external program store, since, years ago, they didn't have flash- or RAM-based MCU's. There were, of course, special bond-outs, that allowed substituting emulator RAM for the ROM program store, and they were intended for emulators. That, in turn, might explain why the P0 and P2 behavior is different from the P1 and P3 behavior.

RE


List of 29 messages in thread
TopicAuthorDate
Unable to use P0 and P2            01/01/70 00:00      
   How do you detect that it's ignored?            01/01/70 00:00      
      Philips 80C52            01/01/70 00:00      
         Re: 80xxx            01/01/70 00:00      
         External memory?            01/01/70 00:00      
            Re: External memory?            01/01/70 00:00      
               Check the datasheet!            01/01/70 00:00      
                  More information            01/01/70 00:00      
                     80C52            01/01/70 00:00      
                        I think it does have internal ROM            01/01/70 00:00      
                           oops!            01/01/70 00:00      
         ICE or Eprom Emulator ?            01/01/70 00:00      
            It is an in-circuit emulator            01/01/70 00:00      
   my assumption            01/01/70 00:00      
      I'm afraid it can't be            01/01/70 00:00      
         There's a special "once" mode ... for emulators            01/01/70 00:00      
         try this            01/01/70 00:00      
            Re: try this            01/01/70 00:00      
               My guess            01/01/70 00:00      
                  Read the datasheets and read the posts, Mike            01/01/70 00:00      
            How is all this supposed to help?            01/01/70 00:00      
               It has code space...            01/01/70 00:00      
                  Where did you get that nonsense, Mike?            01/01/70 00:00      
   My conclusion:            01/01/70 00:00      
      What has it to do with the original question?            01/01/70 00:00      
   I do not know your emulator, but            01/01/70 00:00      
      My conclusion (and thanks for everyone)            01/01/70 00:00      
         then why not say so            01/01/70 00:00      
         Emulator            01/01/70 00:00      

Back to Subject List