View previous topic :: View next topic |
Author |
Message |
alzomor
Joined: 09 Mar 2006 Posts: 3
|
CCS with Proteus VSM |
Posted: Thu Mar 09, 2006 10:29 pm |
|
|
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
|
|
Posted: Thu Mar 09, 2006 10:50 pm |
|
|
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
|
|
Posted: Thu Mar 09, 2006 11:53 pm |
|
|
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
|
|
Posted: Fri Mar 10, 2006 6:07 am |
|
|
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
|
|
Posted: Fri Mar 10, 2006 10:04 pm |
|
|
Thanks rberek _________________ Salam
Hossam Alzomor
www.i-g.org |
|
|
PICoHolic
Joined: 04 Jan 2005 Posts: 224
|
|
Posted: Mon Mar 13, 2006 3:26 am |
|
|
Which version of PROTEUS are you using? |
|
|
Guest
|
|
Posted: Mon Mar 13, 2006 7:39 am |
|
|
Hi
Proteus 6.7 SP3
Salam
Hossam Alzomor
www.i-g.org |
|
|
PICoHolic
Joined: 04 Jan 2005 Posts: 224
|
|
Posted: Tue Mar 14, 2006 5:27 am |
|
|
Ok
Try to put the COF file instead of the HEX file
ex: Prog.hex -> Prog.cof |
|
|
|