Pic question?!

Discussion in 'General Electronics Chat' started by peck68, Apr 23, 2010.

  1. peck68

    Thread Starter Member

    Nov 27, 2009
    73
    0
    Well i bought a pic programmer and it seems to program the PICs fine
    (I write a HEX file demo that came on disk to PIC, then closed the program, reopened it and searched the PIC - data on there! :))

    However, I don't like Assembly language, and being an Experienced C# and PHP programmer C is my favourable option.

    However... Are there any GOOD compilers such as MPASM but for C?!

    It has to be free and just a compiler, since I have installed MPLAB, HI-TECH and WIZ-C - it's clogging up my computer!

    Thanks :)
     
  2. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
  3. peck68

    Thread Starter Member

    Nov 27, 2009
    73
    0
    CCS seems to take me to http://www.ccsinfo.com/
    >In which i have to pay something along the lines of $300

    I have already installed MPLAB as mentioned
     
  4. russ_hensel

    Well-Known Member

    Jan 11, 2009
    818
    47
    I really like boostc, free limited version, reasonable cost unlimited version.
    for the f18 microchip has a free ( unoptimized ) compiler.
     
  5. peck68

    Thread Starter Member

    Nov 27, 2009
    73
    0
    :confused::confused::confused::confused:

    I don't understand this, really getting on my nerves... Sorry for being a pain, but - I have installed SourceBoost (boostc's website) and it was supposed to be fully integrated with MPLAB - yet it isnt even in there.

    It wasn't even supplied with a compiler, just a build project button which simply saves it as a *.c, just the IDE :confused:
     
  6. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
  7. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    What PICs are you trying to program in C?

    If it's the low and mid-range PICs (like the PIC10, PIC12, PIC16) you might look at MikroC.
    http://www.mikroe.com/en/compilers/mikroc/pic/

    Some folks really like it. The freeware version has limitations, naturally.
     
  8. peck68

    Thread Starter Member

    Nov 27, 2009
    73
    0
    I have both a 16f84 and 16f627 :)

    I have tried mikroC and it seems to be what im after, but it seems it doesn't support either of those two pics (just comes up with error saying functions dont exist)

    However I found this header file Just wondering now how i include that?
     
  9. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    Have you tried the HI-TECH C compiler for PIC10/12/16. It intergrate nice into MPlab, and it is free in the lite version.
    By the way which programmer do have
     
  10. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    BoostC from sourceboost

    Free for basic, and even the license is cheap. I love it.
     
  11. peck68

    Thread Starter Member

    Nov 27, 2009
    73
    0
    This one here : http://maplin.co.uk/Module.aspx?ModuleNo=48074

    ----

    Yup I have installed that but it just popped up with a load of errors that i didn't understand :p

    But never mind now :D Mikro does support my pic, i was just foolish enough to try and use PORTC when there isn't one :p

    Thanks everyone for your help
     
Loading...