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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/07/03 22:30
Read: times


 
#38552 - RE: step thru it
Responding to: ???'s previous message
<html>
step thru it on the board if you can.

for one thing, the END just marks the end of the assembler code, it doesn't stop program execution at that point. the uC is free to proceed thru PROM, rolling over to address 0 when it hits the end of PROM, executing whatever garbage was left in PROM, including old clear-all-the-XRAM routines, if they are there. put a spin loop (SJMP $) at the end of your program, so it will stop executed.

a sim will probably clear simulated external RAM at every reset, so you would not get the same results as stepping thru the PROM that's actually on the board, unless that PROM is zeroed prior to upload of your program.

are you sure that address is supported by the board you have? if you can read it, you should be able to write to it. try writing a test byte to it, read it back, then execute and see if it gets overwritten. you could put a write breakpoint at that point, too.

<table><tr><td>james</td><td> </td><td>
www.jameshinnant.com
</td></tr></table>
</html>


List of 12 messages in thread
TopicAuthorDate
Program NOT running            01/01/70 00:00      
   RE: Program NOT running            01/01/70 00:00      
      RE: Program NOT running            01/01/70 00:00      
         RE: Program NOT running            01/01/70 00:00      
   RE: Program NOT running            01/01/70 00:00      
      RE: Program NOT running            01/01/70 00:00      
   RE: step thru it            01/01/70 00:00      
      RE: step thru it            01/01/70 00:00      
         RE: step thru it            01/01/70 00:00      
         RE: step thru it            01/01/70 00:00      
            RE: step thru it            01/01/70 00:00      
               RE: step thru it Raghu & Steve            01/01/70 00:00      

Back to Subject List