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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/20/07 08:43
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#147237 - stack overflow
Responding to: ???'s previous message
Attila Strba said:
Hi guys,

I am having a strange problem - it seems something with the UART interrupt. Simple when returning from the UART interrupt vector in one specific moment it seems the PC is not set to the adress where the program was interrupted.



What is exactly behavior of MCU in this "one specific momemnt" ?
Is Your MCU dead or executes unexpected routines? If last - maybe some PUSHs or POPs, CALLs or RETs ar in plus.

As Jan says You can check/store SP in every ISR (if default SP is deepest than last saved).
But from You letters i think You have problem with ASIC , rather than with software. Did You try to execute same software on standard 8052?
regards

List of 6 messages in thread
TopicAuthorDate
Stack overflow checking method            01/01/70 00:00      
   stack overflow check            01/01/70 00:00      
      KISS - would be nice to have but..            01/01/70 00:00      
         long interrupts are not taboo...            01/01/70 00:00      
   stack overflow            01/01/70 00:00      
      Problem found no stack overflow ...            01/01/70 00:00      

Back to Subject List