Pumpkin, Inc.

Pumpkin User Forums

MPLAB ICD with PIC16F877

If you can't make Salvo do what you want it to do, post it here.

MPLAB ICD with PIC16F877

Postby Salvo Tech Support » Thu Oct 25, 2001 12:01 am

Hi James.

Yes, Salvo is fully compatible with the MPLAB-ICD development environment.

Have you tried salvodemod4syshd4free.pjt?

If you're getting an error, it's probably due to the sequence in which you're doing things in MPLAB.

Here's a sequence that works with d4free.pjt:

1) Open Project > salvodemod4syshd4free.pjt
2) MPLAB-ICD Window > Reconnect
3) Veryify that "Enable Debug Mode" is set in the MPLAB-ICD Window's Options... window.
4) MPLAB-ICD Window > Program
5) Window > Program Memory, set a breakpoint at the xorwf 0x7 instruction in TaskHigh() located at 0x0557.
6) Debug > Run > Run. Each time the breakpoint is reached, the LED at RC7 will toggle.

Of course you can also set breakpoints in the C source code, etc., though MPLAB (5.20 at least) has some problems "synchronizing" with a source code window.

------------------
-----------------------
Salvo Technical Support
Please request all tech support through the Forums.

[This message has been edited by Salvo Tech Support (edited October 25, 2001).]

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am

Re: MPLAB ICD with PIC16F877

Postby James » Thu Oct 25, 2001 7:09 am

Can I use the ICD debugger from MPLAB with Salvo? I can compile and program the flash, and run the target, but the debugger just gives me error dialogs. I have included the -ICD switch on the .hex node of the project but still get error dialogs. (I am using PICC 7.87 and Salvo full 2.2)
James
 
Posts: 12
Joined: Thu Oct 04, 2001 11:00 pm
Location: San Diego, CA, USA


Return to Coding

Who is online

Users browsing this forum: No registered users and 3 guests

cron