VSM/ICD

Discuss the Integrated Development Environment (IDE)

Moderators: David Barker, Jerry Messina

Post Reply
User avatar
ohararp
Posts: 194
Joined: Tue Oct 03, 2006 11:29 pm
Location: Dayton, OH USA
Contact:

VSM/ICD

Post by ohararp » Thu Oct 05, 2006 7:09 pm

Dave,

Any chance the VSM from Proteus will be incorporated? What about some other form of ICD debugger? I have been able to run the sample code in isis, but can only run the .hex files and cannot "step" through the code.
Thanks Ryan
$25 SMT Stencils!!!
www.ohararp.com/Stencils.html

TimB
Posts: 262
Joined: Wed Oct 04, 2006 7:25 am
Location: London UK

Post by TimB » Thu Oct 05, 2006 7:31 pm

I agree a better form of debugging is needed. The likes of Proton are very well supported especially in a ISIS VSM. However In proton is a very much easier task as there is no concept of local and public variables. Imagine trying to debug a program were variables keep changing with no relation to the code.

To resolve this Dave needs to produce either a bespoke debugging file or a COFF style debug file. Or more probably both.

You can understand that to do that as well as ensure the compiler is 100% is impossible so the compiler has priority for now.

Back to ISIS to debug and see the code stepping through, it is possible but like any debugging looking at the asm is not the best option. Follow these steps

In Isis
1 goto the source menu and select Add/remove source files
2 Select from the code geneartion tool pull down MPASMWIN
3 Click New and direct your self to the ASM file you want to debug
4 Click ok to complete
5 right click on the Pic and in the Program file option select the Hex
5 Goto the source menu again and click on build all

Now you can run your code and single step the source as normal

TimB
Posts: 262
Joined: Wed Oct 04, 2006 7:25 am
Location: London UK

Post by TimB » Thu Oct 05, 2006 9:42 pm

I just wanted to add to my comments above once you start debugging all the basic lines are in there as comments.

User avatar
ohararp
Posts: 194
Joined: Tue Oct 03, 2006 11:29 pm
Location: Dayton, OH USA
Contact:

Post by ohararp » Fri Oct 06, 2006 1:42 am

Tim,

Thanks for the tips as always.
Thanks Ryan
$25 SMT Stencils!!!
www.ohararp.com/Stencils.html

Post Reply