Connect with us

Newbie Pic Programming question....

Discussion in 'Electronic Design' started by WhoCares, Oct 21, 2004.

Scroll to continue with content
  1. WhoCares

    WhoCares Guest

    I bought a Superpro LX universal programmer before i new anything
    about programming. I've decided to try a pic16f84a pic to experiment
    with, as it seemed to be popular.

    It came with a program that is used to burn the pics but it only
    accepts source code, I believe. I think what i need is the program
    where i can type in the commands and such. I believe it is written in
    C or something and then converted to source code...right?
    Thanks
     
  2. I've never heard of your programmer, but anyhow, you generally need a
    ..hex file, which can be produced by an assembler. Download and MPLAB
    from Microchip and install to get started. It's a quick 40M or so
    download.

    http://www.microchip.com/stellent/i...E&nodeId=1406&dDocName=en019469&part=SW007002


    Best regards,
    Spehro Pefhany
     
  3. Rolavine

    Rolavine Guest

    From: Spehro Pefhany
    Spehro gave you good advice. You can use the mplab program to create an
    assembly language program in a provided text editior. This program can also
    simulate the operation of the processor running your program. If your just
    learning then you actually don't need to even burn a chip at all.

    To be able to write in a higher level language you will need a compiler
    program. If you want to program in C you will have to get a C compiler for the
    PIC processors. I can't remember what outfit provides a free small compiler but
    it is for the 16f84 chip so your in luck.

    Rocky
     
  4. xray

    xray Guest

    From the level of the question in the second paragraph, sounds like a
    basic book on the PICs might be a good idea too. Maybe something like
    this...
    http://www.amazon.com/exec/obidos/tg/detail/-/0965416208/002-2341799-3044822?v=glance

    Although, the price is a lot higher than I expected. I bought one years
    back, and I'm sure I didn't pay anywhere near that much.
     
  5. I've heard good things from neophytes about Mike Predko's books, too
    (though the so-called 'El Cheapo' programmer in one of them is 'not
    the best').


    Best regards,
    Spehro Pefhany
     
  6. Michael Ward

    Michael Ward Guest

    http://www.amazon.com/exec/obidos/tg/detail/-/0965416208/002-2341799-3044822?v=glance

    I suspect the high price is because that title is out of print. The
    new edition is called "Easy Microcontroll'n." I don't see it listed on
    Amazon, which surprises me, but a google search should turn up plenty
    of other places to buy it.

    regards,
    Michael
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-