Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Software for PIC 12F675 chip

Status
Not open for further replies.

bctang

Junior Member level 2
Joined
Sep 4, 2004
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
293
12f675 asm compiler

Hi,

I am using PIC12F675 microcontroller but i no have the chip compiler, i need to using C language to program it. Do you known where can download the C compiler for free?

Thank You.
 

bctang

Junior Member level 2
Joined
Sep 4, 2004
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
293
12f675 ccs program

Hi, C-Man


First, i need to say thank you for you.

Sorry, can you explain to me what is "compilers only for the 16x84". How many pin that 16f877 have. i need 8 pin chip compiler.

Thank You.
 

surachai

Newbie level 3
Joined
Sep 5, 2004
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
16
free 12f675 compiler

You can use CCS compilers. It's support 40pin, 28pin,18pin and 8pin device.
 

bctang

Junior Member level 2
Joined
Sep 4, 2004
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
293
12f675 c programming

surachai said:
You can use CCS compilers. It's support 40pin, 28pin,18pin and 8pin device.

if i want to use 8-pin device can you recommend what chip that i need to use.

TQ! :)
 

SphinX

Advanced Member level 3
Joined
Jan 25, 2002
Messages
822
Helped
58
Reputation
116
Reaction score
29
Trophy points
1,308
Location
EGYPT
Activity points
7,051
ccs+12f675

Salam,

CCS is not free :-(
bctang Please don't start to cry.... :cry: :cry:


You can use HI-TECH LITE for free

It support 12F629, 12F675,16C84, 16F84, 16F84A, 16F627, 16F877, 16F877A

As you see it can program 12F629 and 12F675 and both of them 8 pins :)

https://www.htsoft.com/products/PICClite.php

Bye
 

bctang

Junior Member level 2
Joined
Sep 4, 2004
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
293
12f675 math library

SphinX said:
Salam,

CCS is not free :-(
bctang Please don't start to cry.... :cry: :cry:


You can use HI-TECH LITE for free

It support 12F629, 12F675,16C84, 16F84, 16F84A, 16F627, 16F877, 16F877A

As you see it can program 12F629 and 12F675 and both of them 8 pins :)

h**p://www.htsoft.com/products/PICClite.php


Bye


Do you know the code limited to how many k? :) :D now i very happy for your help.

TQ SphinX
 

SphinX

Advanced Member level 3
Joined
Jan 25, 2002
Messages
822
Helped
58
Reputation
116
Reaction score
29
Trophy points
1,308
Location
EGYPT
Activity points
7,051
16x84 for 12f675

Salam,

12F629 and 12F675 are fully supported in this version without any limitions except you can't use 'printf' for long or float numbers.

Bye
 

wisebyte

Newbie level 4
Joined
Jan 31, 2004
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
42
pic12f675 i/no

Salam,

I use CCS pcw to compile simple sequential logic with the 12f629,
they had a limited demo

bye
 

bctang

Junior Member level 2
Joined
Sep 4, 2004
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
293
12f675 compiler

SphinX said:
Salam,

12F629 and 12F675 are fully supported in this version without any limitions except you can't use 'printf' for long or float numbers.

Bye


I already download HI-TECH PICC compiler (picl_mplab6_setup).

How to compile the simple program that i show it bellow and it's the C language?

TQ!! :)
 

hill

Full Member level 5
Joined
Jun 17, 2004
Messages
278
Helped
10
Reputation
20
Reaction score
1
Trophy points
1,298
Activity points
2,334
how to compile ccs for 12f675 in demo

Why not try assembly with PIC12 part? In my hunble opinion, it's not difficult to program in assembly for PIC12 part. One reason for example, is that you hardly need floating point math in PIC12 application. But rather you will most likely need some precision timing, which assembly language would be more easier to deal than with C language.
 

bctang

Junior Member level 2
Joined
Sep 4, 2004
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
293
12f629 htsoft

hill said:
Why not try assembly with PIC12 part? In my hunble opinion, it's not difficult to program in assembly for PIC12 part. One reason for example, is that you hardly need floating point math in PIC12 application. But rather you will most likely need some precision timing, which assembly language would be more easier to deal than with C language.


Hi, :( :( :( :( :( :(

As i known using assembly language to write the simple I/O need to consider many delay problem and 'movlw', 'movwf', switch 'bank', and so on.
I no understand what u mean 'floating point math in PIC12 '??

Thank for your recommend. :) :)
 

C-Man

Advanced Member level 4
Joined
Jul 19, 2001
Messages
1,059
Helped
90
Reputation
180
Reaction score
17
Trophy points
1,318
Activity points
10,191
pic12f675 assembly programs

bctang,

the example you have posted can only be compiled with CCS and not with Hi-Tech as it uses the built in functions of CCS.

hope this helps
 

bctang

Junior Member level 2
Joined
Sep 4, 2004
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
293
exemple 12f675 assembleur

C-Man said:
bctang,

the example you have posted can only be compiled with CCS and not with Hi-Tech as it uses the built in functions of CCS.

hope this helps


C-Man,

Thank you for your helps, have any softwave can do a conversion or accept my source code?

Do you have any recommended chip for CCS compiled, i need 8-pin chip and can reprogram want.

Help..... :( :cry:
 

luc2002

Member level 1
Joined
Jun 4, 2002
Messages
33
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
150
12f675 +asm

btang

U want 2 learn C or you just need this file compiled??

How to compile the simple program that i show it bellow and it's the C language?

attached are U're files compiled
 

bctang

Junior Member level 2
Joined
Sep 4, 2004
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
293
pic chip softwares downloads

luc2002 said:
btang

U want 2 learn C or you just need this file compiled??

How to compile the simple program that i show it bellow and it's the C language?

attached are U're files compiled


Hi,

i cannot open your attached file how to open, i want to learn C and i need file compiled PICF675 chip which compiled can compile my code that i showing. :( :( :(
 

smu1981

Newbie level 1
Joined
Sep 29, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,303
Re: hi tech c example 12f675

I'm new to this PIC as well. I downloaded the file you posted and get errors like the ones I show below. I'm not used to working with PIC and MPLAB. I work with IAR and ATMEL and I'm having problems with basic things like making a pin toggle or work with timers. I'm using a header file I got from the web. What basic thing am I missing?

Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Users\Santiago\Desktop\PIC\BASICO\basic method.p1".
Clean: Done.
Build C:\Users\Santiago\Desktop\PIC\BASICO\basico for device 12F675K
Using driver C:\Program Files (x86)\HI-TECH Software\PICC\9.71a\bin\picc.exe

Executing: "C:\Program Files (x86)\HI-TECH Software\PICC\9.71a\bin\picc.exe" --pass1 "C:\Users\Santiago\Desktop\PIC\BASICO\basic method.c" -q --chip=12F675K -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [107] C:\Users\Santiago\Desktop\PIC\BASICO\12f675.h; 2.7 illegal # directive "device"
Warning [107] C:\Users\Santiago\Desktop\PIC\BASICO\12f675.h; 3.7 illegal # directive "nolist"
Warning [107] C:\Users\Santiago\Desktop\PIC\BASICO\12f675.h; 125.4 illegal # directive "bit"
Warning [107] C:\Users\Santiago\Desktop\PIC\BASICO\12f675.h; 199.5 illegal # directive "list"
Warning [107] C:\Users\Santiago\Desktop\PIC\BASICO\basic method.c; 2.6 illegal # directive "fuses"
Warning [107] C:\Users\Santiago\Desktop\PIC\BASICO\basic method.c; 3.4 illegal # directive "use"
Warning [361] C:\Users\Santiago\Desktop\PIC\BASICO\basic method.c; 7.1 function declared implicit int
Error [192] C:\Users\Santiago\Desktop\PIC\BASICO\basic method.c; 7.13 undefined identifier "pin_a0"
Error [192] C:\Users\Santiago\Desktop\PIC\BASICO\basic method.c; 8.13 undefined identifier "pin_a1"
Error [192] C:\Users\Santiago\Desktop\PIC\BASICO\basic method.c; 9.13 undefined identifier "pin_a2"
Warning [361] C:\Users\Santiago\Desktop\PIC\BASICO\basic method.c; 13.22 function declared implicit int
Warning [361] C:\Users\Santiago\Desktop\PIC\BASICO\basic method.c; 13.36 function declared implicit int

********** Build failed! **********
 

millwood

Advanced Member level 3
Joined
Jul 2, 2009
Messages
734
Helped
80
Reputation
164
Reaction score
35
Trophy points
1,308
Activity points
5,088
your code was designed to be compiled by a different compiler (most likely CCS).

you will need to understand the syntax of that compiler and implement it in your new compiler.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top