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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/07/05 22:12
Read: times


 
#91221 - No Go
Responding to: ???'s previous message
I just tried this. I have an 89C51RD2 where I have messed up the boot verctor. I have it plugged into a New Micros Inc board where EA is true and code runs from external ROM and RAM. The NMI monitor runs fine, I can load code into RAM is it runs OK. I wrote a small program to test your theory i.e.
org 8000H

BOOTROM EQU 0FC00H

orl 0A2H,#020H
nop
nop
nop
ljmp BOOTROM
end 

I ran it and I get no response to commands from the terminal. So I modified the code as follows:
org 8000H

START EQU 0000H

orl 0A2H,#020H
nop
nop
nop
ljmp START
end 

This changes the boot flag then restarts the monitor. So I dumped 20H bytes at FC00 before running the program and got:

FC00: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F etc

After running the second prog I dumped from FC00 again and got:

FC00: 75 89 02 75 C8 30 E4 F5 CD F5 CC 30 B0 FD 20 B0 etc

Which is clearly different but if I then run from FC00 I get no response from the terminal. I think we are on the right track though.

Ian

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