Maker Pro
Maker Pro

PIC16XXX C Compiler?

B

Bob Stephens

Jan 1, 1970
0
We are modifying the firmware in a PIC16F876 based design supplied by a
vendor. The problem is, our development tools only support 18xxx devices.
What c-compiler can anyone recommend for PIC16XXX devices?


TIA

Bob Stephens
DCX-Chol
 
M

Mark A. Odell

Jan 1, 1970
0
We are modifying the firmware in a PIC16F876 based design supplied by a
vendor. The problem is, our development tools only support 18xxx
devices. What c-compiler can anyone recommend for PIC16XXX devices?

Hi-Tech.
 
C

CBarn24050

Jan 1, 1970
0
Hi, the free assembler works best for these devices, I would forget about C if
I were you.
 
B

Bob Stephens

Jan 1, 1970
0
Hi, the free assembler works best for these devices, I would forget about C if
I were you.

Existing code that we need to modify is in C
PITA to rewrite in Assembly
 
R

Rene Tschaggelar

Jan 1, 1970
0
Bob said:
We are modifying the firmware in a PIC16F876 based design supplied by a
vendor. The problem is, our development tools only support 18xxx devices.
What c-compiler can anyone recommend for PIC16XXX devices?

A reason for not supporting the 16xxx series is that
damn bankswitching. It makes it extremely hard to
write an optimizing compiler.

BTW, one of the reasons I moved from PIC to AVR.
The other being : The WinNT version of MPLAB took
too long.

Rene
 
M

Mike Harding

Jan 1, 1970
0
We are modifying the firmware in a PIC16F876 based design supplied by a
vendor. The problem is, our development tools only support 18xxx devices.
What c-compiler can anyone recommend for PIC16XXX devices?

http://www.htsoft.com/

Not cheap but an excellent compiler.

Mike Harding
 
S

Spehro Pefhany

Jan 1, 1970
0
Then you better us the exact same compiler used for the original
program. Otherwise, you may wind up chasing your own tail.

Particularly if it's one of the oddball ones that defines int as 8
bits or something stoopid like that.

Best regards,
Spehro Pefhany
 
B

Bob Stephens

Jan 1, 1970
0
Then you better us the exact same compiler used for the original
program. Otherwise, you may wind up chasing your own tail.

Yes,

I had more or less come to that conclusion. The original code was written
for the Hi-Tech compiler and does contain some compiler-specific directives
and such. It kind of torques me off to spend $900+ for a tool to write code
for a 5 dollar part, but there you go.

Bob
 
L

Luhan Monat

Jan 1, 1970
0
Bob said:
Existing code that we need to modify is in C
PITA to rewrite in Assembly

Then you better us the exact same compiler used for the original
program. Otherwise, you may wind up chasing your own tail.
 
R

Roger Hamlett

Jan 1, 1970
0
Bob Stephens said:
Yes,

I had more or less come to that conclusion. The original code was written
for the Hi-Tech compiler and does contain some compiler-specific directives
and such. It kind of torques me off to spend $900+ for a tool to write code
for a 5 dollar part, but there you go.
If you only need to do a little development, the demo version of Hi-tech, is
downloadable, and runs for 3 weeks...

Best Wishes
 
J

j.b. miller

Jan 1, 1970
0
I've used the CCS C compiler for about 4 years now( version 2.5xx )
including the 16F877 without any real problems.
I use the Microchip Picstart plus as the programmer.

While newer chips and software may be touted as 'better', what I have works
for me WITHOUT problems....

Mind you I also enjoy PIC assembler. heck it isn't THAT hard to learn with
only 35 instructions. Makes the days of Z80 assembler( 180+ inst) look
fearsome.....

Jay
 
N

Not Really Me

Jan 1, 1970
0
Bob said:
We are modifying the firmware in a PIC16F876 based design supplied by
a vendor. The problem is, our development tools only support 18xxx
devices. What c-compiler can anyone recommend for PIC16XXX devices?


TIA

Bob Stephens
DCX-Chol

Hi-tech Software has what you need. www.htsoft.com.
 
B

Bob Stephens

Jan 1, 1970
0
We are modifying the firmware in a PIC16F876 based design supplied by a
vendor. The problem is, our development tools only support 18xxx devices.
What c-compiler can anyone recommend for PIC16XXX devices?


TIA

Bob Stephens
DCX-Chol

Thanks everybody. I bit the bullet and ordered Hi-tech PICC
$850 + $250 for support/updates +$45 for a printed manual (lazy)

-Jeez
 
A

Anders Nelson

Jan 1, 1970
0
I haven't yet programmed for the PIC series in C, but I have heard the the
Hi-Tech compiler is quite popular.

Regards,

Anders
www.msu.edu/~nelso212

----- Original Message -----
 
G

Guillaume

Jan 1, 1970
0
We are modifying the firmware in a PIC16F876 based design supplied by a

That's not very clear.
If you were really modifying it, that would mean you'd re-use some
existing code base, and you wouldn't really have any choice as to
what tool you'd need to use.
So I guess you're not modifying it, but rather re-writing it from
scratch.
The problem is, our development tools only support 18xxx devices.

MPLAB/MPASM will allow you to develop for any device from Microchip,
for free...
What c-compiler can anyone recommend for PIC16XXX devices?

C on PIC16 devices is not the best of ideas, given the very limited
architecture of those microcontrollers, but that's just my opinion.
Probably Microchip's opinion as well, since they're not providing
a C compiler for this series.

If you still want to go for C, you have CCS and HI-TECH PICC compilers,
that are probably used the most.
 
G

Guillaume

Jan 1, 1970
0
We are modifying the firmware in a PIC16F876 based design supplied by
a vendor.

That's not very clear.
If you were really modifying it, that would mean you'd re-use some
existing code base, and you wouldn't really have any choice as to
what tool you'd need to use.
So I guess you're not modifying it, but rather re-writing it from
scratch.
The problem is, our development tools only support 18xxx devices.

MPLAB/MPASM will allow you to develop for any device from Microchip,
for free...
What c-compiler can anyone recommend for PIC16XXX devices?

C on PIC16 devices is not the best of ideas, given the very limited
architecture of those microcontrollers, but that's just my opinion.
Probably Microchip's opinion as well, since they're not providing
a C compiler for this series.

If you still want to go for C, you have CCS and HI-TECH PICC compilers,
that are probably used the most.
 
Top