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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/31/08 19:14
Read: times


 
#152778 - Found issue, but why?
Responding to: ???'s previous message

I am using C, and I understand that the startup code is reseting memory. Thanks for that Andy.

My communication stack is a token passing, and I will only respond when I have the token and there is a request to my device id. I do know that I keeping up with the amount of data coming in.

I did find what is happening. When I try to write text to a property in my device, (text only, numbers fields work fine), my device never leaves the interrupt routine that I am using to call my communications stack. I am using timer 0, with a 5msec delay. Because I am never returning to main(), my heart_beat counter is never resetting back to 0. When it counts up and rolls over it resets my device.

I guess the questiosn is why will my program not return for the interrutp, back to main()?

List of 14 messages in thread
TopicAuthorDate
Device resetting issue            01/01/70 00:00      
   Overwriting memory? Bad program?            01/01/70 00:00      
   Language?            01/01/70 00:00      
      Found issue, but why?            01/01/70 00:00      
         Hard to anwser            01/01/70 00:00      
            also needed to answer            01/01/70 00:00      
               also needed to answer            01/01/70 00:00      
         Heartbeat?            01/01/70 00:00      
            heart_beat            01/01/70 00:00      
               OK, but that doesn't answer the question...            01/01/70 00:00      
                  No it shouldn't            01/01/70 00:00      
         JTAG?            01/01/70 00:00      
            JTAG            01/01/70 00:00      
               Showtime!            01/01/70 00:00      

Back to Subject List