View previous topic :: View next topic |
Author |
Message |
stoyanoff
Joined: 20 Jul 2011 Posts: 375
|
What does RESTART_TRAP_CONFLICT cause mean? |
Posted: Mon Sep 09, 2013 12:35 am |
|
|
Greetings! I suppose it means my program reaches a point of dead trap or procedure where it can't get out. I want to be sure what to search for. Could anyone explain to me the meaning of this restart cause?
Thanks! |
|
|
alan
Joined: 12 Nov 2012 Posts: 357 Location: South Africa
|
|
|
stoyanoff
Joined: 20 Jul 2011 Posts: 375
|
|
Posted: Mon Sep 09, 2013 3:56 am |
|
|
OK! So how could I find the source of this restart?
Thanks! |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19520
|
|
Posted: Mon Sep 09, 2013 8:03 am |
|
|
Have a look at this:
<http://www.ccsinfo.com/forum/viewtopic.php?t=36479>
Shows how to implement an 'address error' trap. The same can be applied to other error types (there are links to some other examples).
Saves the address that _triggered_ the trap, so you can find out what is causing it.
Best Wishes |
|
|
stoyanoff
Joined: 20 Jul 2011 Posts: 375
|
|
Posted: Mon Sep 09, 2013 11:59 pm |
|
|
I found the address - 2FA0. How can i find where in the program I'm using it, so I be able fix it???
Thanks! |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19520
|
|
Posted: Tue Sep 10, 2013 12:52 am |
|
|
Look in the .lst file, either physically, or with any debugger.
You should see what assembler is here, and what C instruction line generates this.
Best Wishes |
|
|
|