EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

MPLAB 5.70.40 is integrated with HI-TECH PICC compiler v8.02 PL1

Started by Bruce Sam October 15, 2004
   I have integrated MPLAB 5.70.40  with HI-TECH PICC compiler v8.02 PL1 but failed.When I only compiled just a simple .c file,it appear this message:MPLAB is unable to find output file "DELAY.HEX".
     This may be due to a compile, assemble, or link process failure.Here is all I have done:
1.Click on the Option menu in the mehu bar, and select Environment setup,in this new dialog box,I have setted Default language suite to HI-TECH PICC.
2.Click on the Project menu in the menu bar,and select Install Language Tool,in here,I have setted the location of the compiler,assembler and linker of the HI-TECH compiler that I have installed.The executable for all three tools(compiler/assembler/linker) is setted to picc.exe.
3.I have added two environment variable showed below:
HTC_ERR_FORMAT=Error[000] %f %l : %s
HTC_WARN_FORMAT=Warning[000] %f %l : %s
    Even I have done above step,but it also not success.
    How to solve this problem?I am using MPLAB-ICD not MPLAB-ICD2,so please don't advise me to use MPLAB v6.xx.
    Any help will very appreciate!
   
 
    Bruce Sam






I was going to buy the HI-TECH PICC compiler yesterday, thinking of
the $100-$400 range. Then I saw the price. :o Is it going to save me
that much work with real time machine control programs?

Chad

--- Bruce Sam <> wrote:

> I have integrated MPLAB 5.70.40 with HI-TECH PICC compiler v8.02
> PL1 but failed.When I only compiled just a simple .c file,it appear
> this message:MPLAB is unable to find output file "DELAY.HEX".
> This may be due to a compile, assemble, or link process
> failure.Here is all I have done:
> 1.Click on the Option menu in the mehu bar, and select Environment
> setup,in this new dialog box,I have setted Default language suite to
> HI-TECH PICC.
> 2.Click on the Project menu in the menu bar,and select Install
> Language Tool,in here,I have setted the location of the
> compiler,assembler and linker of the HI-TECH compiler that I have
> installed.The executable for all three
> tools(compiler/assembler/linker) is setted to picc.exe.
> 3.I have added two environment variable showed below:
> HTC_ERR_FORMAT=Error[000] %f %l : %s
> HTC_WARN_FORMAT=Warning[000] %f %l : %s
> Even I have done above step,but it also not success.
> How to solve this problem?I am using MPLAB-ICD not MPLAB-ICD2,so
> please don't advise me to use MPLAB v6.xx.
> Any help will very appreciate! > Bruce Sam >
> ---------------------------------
>




Look at www.microchipc.com for a good description of configuration.
 
Regards
 
Ian
-----Original Message-----
From: Bruce Sam [mailto:p...@yahoo.com.cn]
Sent: 15 October 2004 12:11
To: p...@yahoogroups.com
Subject: [piclist] MPLAB 5.70.40 is integrated with HI-TECH PICC compiler v8.02 PL1

   I have integrated MPLAB 5.70.40  with HI-TECH PICC compiler v8.02 PL1 but failed.When I only compiled just a simple .c file,it appear this message:MPLAB is unable to find output file "DELAY.HEX".
     This may be due to a compile, assemble, or link process failure.Here is all I have done:
1.Click on the Option menu in the mehu bar, and select Environment setup,in this new dialog box,I have setted Default language suite to HI-TECH PICC.
2.Click on the Project menu in the menu bar,and select Install Language Tool,in here,I have setted the location of the compiler,assembler and linker of the HI-TECH compiler that I have installed.The executable for all three tools(compiler/assembler/linker) is setted to picc.exe.
3.I have added two environment variable showed below:
HTC_ERR_FORMAT=Error[000] %f %l : %s
HTC_WARN_FORMAT=Warning[000] %f %l : %s
    Even I have done above step,but it also not success.
    How to solve this problem?I am using MPLAB-ICD not MPLAB-ICD2,so please don't advise me to use MPLAB v6.xx.
    Any help will very appreciate!
   
 
    Bruce Sam





to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



I don't have much of an issue with the first cost, it is the
maintenance fee that keeps me from buying their product. I don't
expect free upgrades but I absolutely expect free fixes to a product
found to be defective after I purchased it. But that's just me...

I have used the free version, PIC C Lite, and it works quite well.
I particularly like being able to put function pointers in state
tables. CC5X won't allow this.

As I would integrate PIC C into MPLAB, I don't see the advantage of
the Windows versions with yet another IDE. I only use 14 bit parts
(no real reason, just works out that way) so I would only need one
version and that would cost just $125. Not a staggering amount.
But the maintenance fee is out of the question...

I ran into a version of Pascal for the PIC at
http://www.picant.com/p2c/p.html. I imagine everyone else has
already tried it but, somehow, I missed it. I like Pascal a lot
more than I like C or JAL so maybe I'll give it a try for the next
project. It kind of depends on the code generation. Small is good.

I have used Embedded Pascal for an 8051 project and it is a great
product if anyone ever needs something for that family of devices. --- In , Chad Russel <chadrussel@y...> wrote:
> I was going to buy the HI-TECH PICC compiler yesterday, thinking
of
> the $100-$400 range. Then I saw the price. :o Is it going to
save me
> that much work with real time machine control programs?
>
> Chad
>
> --- Bruce Sam <persevreman@y...> wrote:
>
> > I have integrated MPLAB 5.70.40 with HI-TECH PICC compiler
v8.02
> > PL1 but failed.When I only compiled just a simple .c file,it
appear
> > this message:MPLAB is unable to find output file "DELAY.HEX".
> > This may be due to a compile, assemble, or link process
> > failure.Here is all I have done:
> > 1.Click on the Option menu in the mehu bar, and select
Environment
> > setup,in this new dialog box,I have setted Default language
suite to
> > HI-TECH PICC.
> > 2.Click on the Project menu in the menu bar,and select Install
> > Language Tool,in here,I have setted the location of the
> > compiler,assembler and linker of the HI-TECH compiler that I have
> > installed.The executable for all three
> > tools(compiler/assembler/linker) is setted to picc.exe.
> > 3.I have added two environment variable showed below:
> > HTC_ERR_FORMAT=Error[000] %f %l : %s
> > HTC_WARN_FORMAT=Warning[000] %f %l : %s
> > Even I have done above step,but it also not success.
> > How to solve this problem?I am using MPLAB-ICD not MPLAB-
ICD2,so
> > please don't advise me to use MPLAB v6.xx.
> > Any help will very appreciate!
> >
> >
> > Bruce Sam
> >
> >
> >
> > ---------------------------------
> >





It's not just you. I bought the CCS C Compiler. It is a great
compiler that I can no longer live without, but I am appalled that
you can't get bug fixes for more than 30 days. If I would have had a
better choice, I would have went with it instead of CCS. I'm sure
they know that their (real) competitors also have crappy support.

BRW

--- In , "rtstofer" <rstofer@p...> wrote:
>
>
> I don't have much of an issue with the first cost, it is the
> maintenance fee that keeps me from buying their product. I don't
> expect free upgrades but I absolutely expect free fixes to a
product
> found to be defective after I purchased it. But that's just me...
>
> I have used the free version, PIC C Lite, and it works quite well.
> I particularly like being able to put function pointers in state
> tables. CC5X won't allow this.
>
> As I would integrate PIC C into MPLAB, I don't see the advantage of
> the Windows versions with yet another IDE. I only use 14 bit parts
> (no real reason, just works out that way) so I would only need one
> version and that would cost just $125. Not a staggering amount.
> But the maintenance fee is out of the question...
>




If only there was a viable open-source alternative for PIC like AVR-GCC for AVR
----- Original Message -----
From: Bennet Williams
To: p...@yahoogroups.com
Sent: Saturday, October 16, 2004 6:07 AM
Subject: [piclist] Re: MPLAB 5.70.40 is integ .... Sorry, coincidence, so new thread. Is it worth it?


It's not just you. I bought the CCS C Compiler. It is a great
compiler that I can no longer live without, but I am appalled that
you can't get bug fixes for more than 30 days. If I would have had a
better choice, I would have went with it instead of CCS. I'm sure
they know that their (real) competitors also have crappy support.

BRW

--- In p...@yahoogroups.com, "rtstofer" <rstofer@p...> wrote:> I don't have much of an issue with the first cost, it is the
> maintenance fee that keeps me from buying their product.  I don't
> expect free upgrades but I absolutely expect free fixes to a
product
> found to be defective after I purchased it.  But that's just me...
>
> I have used the free version, PIC C Lite, and it works quite well. 
> I particularly like being able to put function pointers in state
> tables.  CC5X won't allow this.
>
> As I would integrate PIC C into MPLAB, I don't see the advantage of
> the Windows versions with yet another IDE.  I only use 14 bit parts
> (no real reason, just works out that way) so I would only need one
> version and that would cost just $125.  Not a staggering amount. 
> But the maintenance fee is out of the question...


to unsubscribe, go to http://www.yahoogroups.com and follow the instructions




There is SDCC, an open-source C that is 'almost' ready according to
Al Williams at http://tutor.al-williams.com/picc1.htm.

I haven't tried it and I am not anxious to do so. It seems I spend
a lot more time trying to figure out why compiled code doesn't work
than I save by using the compiler in the first place.

Most of my projects are well under 1000 lines of assembly code -
it's a microcontroller, not a mainframe!

But I admit that I am sometimes too lazy to work out the nitty-
gritty details and that data structures are more clearly represented
in C, so I use it from time to time.

--- In , "Nigel Symes" <symesbris@h...> wrote:
> If only there was a viable open-source alternative for PIC like
AVR-GCC for AVR
> ----- Original Message -----
> From: Bennet Williams
> To:
> Sent: Saturday, October 16, 2004 6:07 AM
> Subject: [piclist] Re: MPLAB 5.70.40 is integ .... Sorry,
coincidence, so new thread. Is it worth it?
> It's not just you. I bought the CCS C Compiler. It is a great
> compiler that I can no longer live without, but I am appalled
that
> you can't get bug fixes for more than 30 days. If I would have
had a
> better choice, I would have went with it instead of CCS. I'm
sure
> they know that their (real) competitors also have crappy support.
>
> BRW
>
> --- In , "rtstofer" <rstofer@p...> wrote:
> >
> >
> > I don't have much of an issue with the first cost, it is the
> > maintenance fee that keeps me from buying their product. I
don't
> > expect free upgrades but I absolutely expect free fixes to a
> product
> > found to be defective after I purchased it. But that's just
me...
> >
> > I have used the free version, PIC C Lite, and it works quite
well.
> > I particularly like being able to put function pointers in
state
> > tables. CC5X won't allow this.
> >
> > As I would integrate PIC C into MPLAB, I don't see the
advantage of
> > the Windows versions with yet another IDE. I only use 14 bit
parts
> > (no real reason, just works out that way) so I would only need
one
> > version and that would cost just $125. Not a staggering
amount.
> > But the maintenance fee is out of the question...
> >
> to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
>
>
> -------------------------------
-----------
> Yahoo! Groups Links
>
> a.. To




--- In , Bruce Sam <persevreman@y...> wrote:
> I have integrated MPLAB 5.70.40 with HI-TECH PICC compiler
v8.02 PL1 but failed.When I only compiled just a simple .c file,it
appear this message:MPLAB is unable to find output file "DELAY.HEX".
> This may be due to a compile, assemble, or link process
failure.Here is all I have done:
> 1.Click on the Option menu in the mehu bar, and select Environment
setup,in this new dialog box,I have setted Default language suite to
HI-TECH PICC.
> 2.Click on the Project menu in the menu bar,and select Install
Language Tool,in here,I have setted the location of the
compiler,assembler and linker of the HI-TECH compiler that I have
installed.The executable for all three tools
(compiler/assembler/linker) is setted to picc.exe.
> 3.I have added two environment variable showed below:
> HTC_ERR_FORMAT=Error[000] %f %l : %s
> HTC_WARN_FORMAT=Warning[000] %f %l : %s
> Even I have done above step,but it also not success.
> How to solve this problem?I am using MPLAB-ICD not MPLAB-
ICD2,so please don't advise me to use MPLAB v6.xx.
> Any help will very appreciate! > Bruce Sam
>

Have you added #include <pic.h> ? If your code has something in it
thats defined in pic.h like; __IDLOC(),__CONFIG(), or di() and you
try to compile it without pic.h it will give you that error(MPLAB is
unable to find output file...)




For hobbyists, I don't see a problem with JAL.

Mike --- In , "Nigel Symes" <symesbris@h...> wrote:
> If only there was a viable open-source alternative for PIC like AVR-
GCC for AVR


Yeah - I might have a closer look at JAL
----- Original Message -----
From: upand_at_them
To: p...@yahoogroups.com
Sent: Saturday, October 16, 2004 12:29 PM
Subject: [piclist] Re: MPLAB 5.70.40 is integ .... Sorry, coincidence, so new thread. Is it worth it?


For hobbyists, I don't see a problem with JAL. 

Mike--- In p...@yahoogroups.com, "Nigel Symes" <symesbris@h...> wrote:
> If only there was a viable open-source alternative for PIC like AVR-
GCC for AVR



to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



The 2024 Embedded Online Conference