CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

What does RESTART_TRAP_CONFLICT cause mean?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
stoyanoff



Joined: 20 Jul 2011
Posts: 375

View user's profile Send private message

What does RESTART_TRAP_CONFLICT cause mean?
PostPosted: Mon Sep 09, 2013 12:35 am     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Sep 09, 2013 12:56 am     Reply with quote

See
http://www.ccsinfo.com/forum/viewtopic.php?t=45398
stoyanoff



Joined: 20 Jul 2011
Posts: 375

View user's profile Send private message

PostPosted: Mon Sep 09, 2013 3:56 am     Reply with quote

OK! So how could I find the source of this restart?
Thanks!
Ttelmah



Joined: 11 Mar 2010
Posts: 19391

View user's profile Send private message

PostPosted: Mon Sep 09, 2013 8:03 am     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Sep 09, 2013 11:59 pm     Reply with quote

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: 19391

View user's profile Send private message

PostPosted: Tue Sep 10, 2013 12:52 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group