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

MPLAB Simulator usage with CCS

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



Joined: 19 Jan 2005
Posts: 22

View user's profile Send private message

MPLAB Simulator usage with CCS
PostPosted: Tue Feb 01, 2005 2:51 pm     Reply with quote

Hello,

Thanks to the forum I have succesfully integrated CCS uinto MPLA... Now I can compile. Now I want to use the MPLAB Simulator to test my program... I only see the C code of my program and each time I put a breakpoint and run I have an error sayon that my breakpoint could not been resolved...
1) How to handle Simulator with CCS?
2) Is it possible to have access during run, and step-by-step to the LST file in order to have a better view of where are exactly the PC

Thanks
Pascal
darrepac



Joined: 19 Jan 2005
Posts: 22

View user's profile Send private message

PostPosted: Wed Feb 02, 2005 3:23 pm     Reply with quote

Nobody is using MPLAB Simulator with CCS?
If you have other simulator (free if possible) to recommend...I am open.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Feb 02, 2005 3:43 pm     Reply with quote

Sure. It just works.
darrepac



Joined: 19 Jan 2005
Posts: 22

View user's profile Send private message

PostPosted: Wed Feb 02, 2005 4:06 pm     Reply with quote

Fine!
How are you using it? you are simulating with only the C code? not the corresponding assembler code?
Is there a trick to be able to put a breakpoint?

Thanks!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Feb 02, 2005 6:23 pm     Reply with quote

For a question like this, you should give the version of MPLAB
that you're using (and the compiler version, too).
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Feb 02, 2005 9:07 pm     Reply with quote

Post a small test program too. Keep it simple and specify what line you tried putting a break point.
darrepac



Joined: 19 Jan 2005
Posts: 22

View user's profile Send private message

PostPosted: Thu Feb 03, 2005 8:14 am     Reply with quote

I am using CCS 3.181 and MPLAB 7.0... for a small program test I will try to do it...
darrepac



Joined: 19 Jan 2005
Posts: 22

View user's profile Send private message

PostPosted: Thu Feb 03, 2005 8:25 am     Reply with quote

Ok by doing the small test program and seeing that it works I have found from where the mistake come.. In fact it doesn't work if I put for example a breakpoint on the if statement but it works well on other instruction (for exemple the instruction before or after the if)....is it normal?
darrepac



Joined: 19 Jan 2005
Posts: 22

View user's profile Send private message

PostPosted: Thu Feb 03, 2005 9:18 am     Reply with quote

OK, I finally found the disassembly listing view which is far easier for me...
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