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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/05/05 18:00
Read: times


 
#93024 - clear and do not fiddle
Responding to: ???'s previous message
I am using a parallel programmer for programming the chips. Do I need to program the Status bytes explicitly?
Yes, if you want them not to be in isp mode when you insert them

Is it possible that the chip is going into the ISP mode straight away when plugged into the target. If yes, then how can it be avoided?
If you have no "funny levels" (e.g. if you do not monkey with PSEN) the status byte determines the mode.

extract from AN-461
If the Status Byte is set to zero, power-up execution starts at location 0000H which is the normal start address of the user’s application code. When the Status Byte is set to a value other than zero, the contents of the Boot Vector is used as the high byte of the execution address.

So, if you program the status byte to zero and do not fiddle with PSEN you will execute the program

Erik

List of 11 messages in thread
TopicAuthorDate
Problem using 89C51RD2BN            01/01/70 00:00      
   Some hints...            01/01/70 00:00      
      could be the famous open pin            01/01/70 00:00      
      EA is tied to VCC            01/01/70 00:00      
         are they H?            01/01/70 00:00      
            without 'H'            01/01/70 00:00      
               AN-461            01/01/70 00:00      
                  I am using a parallel programmer            01/01/70 00:00      
                  can the chip go into ISP mode directly            01/01/70 00:00      
                     clear and do not fiddle            01/01/70 00:00      
                        Thanks, it worked            01/01/70 00:00      

Back to Subject List