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 CCS Technical Support

CCS with Proteus VSM

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



Joined: 09 Mar 2006
Posts: 3

View user's profile Send private message

CCS with Proteus VSM
PostPosted: Thu Mar 09, 2006 10:29 pm     Reply with quote

Hi

I am using ccs for compiling my code.
and when trying to debug it on proteus.
I just only could navigate the assembly but can't navigate "step over , step into , set break points" with the C source code.

How to use CCS with Proteus VSM in order to be able to dbug at the C source code level

Salam
Hossam Alzomor
www.i-g.org
_________________
Salam
Hossam Alzomor
www.i-g.org
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Thu Mar 09, 2006 10:50 pm     Reply with quote

Proteus VSM is not 100% compatible with the CCS COFF format, so you cannot do source code debugging. See the Labcenter page for details.
_________________
The difference between genius and stupidity is that genius has its limits...
alzomor



Joined: 09 Mar 2006
Posts: 3

View user's profile Send private message

PostPosted: Thu Mar 09, 2006 11:53 pm     Reply with quote

Hi

Thanks for your support.

but how to do source code debugging for code generated by CCS
_________________
Salam
Hossam Alzomor
www.i-g.org
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Fri Mar 10, 2006 6:07 am     Reply with quote

If you're using Proteus, you can't.

MPLAB does provide that ability though, if I remember correctly. I use Proteus myself, and don't bother with source code debugging. I just step through program memory. Pretty primitive, but it works for me...
_________________
The difference between genius and stupidity is that genius has its limits...
alzomor



Joined: 09 Mar 2006
Posts: 3

View user's profile Send private message

PostPosted: Fri Mar 10, 2006 10:04 pm     Reply with quote

Thanks rberek
_________________
Salam
Hossam Alzomor
www.i-g.org
PICoHolic



Joined: 04 Jan 2005
Posts: 224

View user's profile Send private message

PostPosted: Mon Mar 13, 2006 3:26 am     Reply with quote

Which version of PROTEUS are you using?
Guest








PostPosted: Mon Mar 13, 2006 7:39 am     Reply with quote

Hi

Proteus 6.7 SP3

Salam
Hossam Alzomor
www.i-g.org
PICoHolic



Joined: 04 Jan 2005
Posts: 224

View user's profile Send private message

PostPosted: Tue Mar 14, 2006 5:27 am     Reply with quote

Ok

Try to put the COF file instead of the HEX file


ex: Prog.hex -> Prog.cof
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