Page 1 of 1

Salvo - IAR PIC18

PostPosted: Sat Jul 20, 2002 2:23 am
by mflores
Hi,

I can see in your web that you are in Beta testing with this compiler.

Well, I'm thinking in this compiler for use with Salvo, mainly due to its IDE which I found more featured than MPLAB-IDE, the debugger is fully integrated with ICE-2000, a good watch/inspect variables function that I didn't found with MPLAB IDE, and others.

I don't have experience with IAR.

1) I'd like ear suggestions about this. ¿Does it worth to use IAR-PIC18 instead of HT-PICC18 ?

2) ¿ How is going your IAR-PIC18 testing with Salvo ?

Regards,


Re: Salvo - IAR PIC18

PostPosted: Sat Jul 20, 2002 9:20 am
by aek
Hello.

As a matter of policy we don't directly contrast and compare the various compilers and IDEs we support.

Our release of Salvo for IAR PIC18 has been delayed due to a bug we found in IAR PIC18 and reported to them. We have a temporary workaround, and will probably release Salvo for PICmicro(R) MCUs with IAR PIC18 support in 1-2 months after testing is complete.

Things to note:

1) Microchip's MPLAB IDE v6 is all-new, and works with MPLAB-C18. We haven't yet written an Application Note on using Salvo with MPLAB v6, but it shouldn't be too hard.

2) HI-TECH has HI-TIDE, also a nice IDE.

Regards,

------------------


Re: Salvo - IAR PIC18

PostPosted: Fri Sep 13, 2002 3:29 am
by mflores
Hi all,

I've been talking with IAR about the bug you mentioned, and want to know if it's still alive or not. The last response I have from IAR is this:

Dear Manuel,


We think that the bug they are referring to is the following one:

EW12051 U020520Z ICCPIC18 CGB interrupt status not restored correctly in monitor function
Product family: PIC18
Planned Release Date: 2002-06-07 12:00:00 AM
Product version: 2.10A
Support Report ID: U020520Z
Release Version: 2.11A

CUSTOMER INFO------------------------------------------------------
Andrew Kalman <aek@pumpkininc.com>
DESCRIPTION--------------------------------------------------------
When compiling for stack model, the interrupt status
is not restored correctly when returning from a monitor
function with parameters passed to it

#include <inpic18.h>
__monitor int foo(int data)
{
return 0;
}
void main(void)
{
int i = 20;
__enable_interrupt();
foo(i);
while(1);
}


If this is the correct bug, then it has been fixed in the latest version 2.11A (released in June).
Please let me know if this is not the bug that they were talking about.

Best regards,


Adrien Ampélas


Re: Salvo - IAR PIC18

PostPosted: Fri Sep 13, 2002 6:20 am
by Salvo Tech Support
Hello.

We have not yet received v2.11A -- I'm glad to hear that they fixed it.

This has no effect on Salvo, however, because we already have a workaround. Once v2.11A is widely distributed, then we will "undo" our workaround and use IAR's __monitor keyword in PIC18C. The net result will be a very small reduction in Salvo code size, and a savings of two global variables (bytes).

In case you missed it, IAR PIC18 is currently supported in the Salvo for PICmicro(R) MCUs distribution ...

Regards,

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

[This message has been edited by Salvo Tech Support (edited September 13, 2002).]


Re: Salvo - IAR PIC18

PostPosted: Mon Sep 16, 2002 1:33 am
by mflores
Hi,

Yes, I see you have changed your compiler support to 'Certified as fully supported'.

That's all, now I'm more relaxed.

Regards,