12f675_fuse_about_to_blow!


Closed Thread
Results 1 to 40 of 929

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Yes, the code Joe wrote is in done in PBP.

    BASICS....
    When you get your PBP CD there will be a program there called Micr Code Studio (MCS). This is where you will write your code. You can use other editors but MCS is probably best for starters.

    Copy Joe's code into MCS or write your own. There are config fuses that need set, Joe did not include that but we can go over that when you are ready.
    Joe did not include those, because the "DEFAULT" config located in the 12F675.inc file will work and I did not want to add to his confusion, rather just to demonstrate how simple PBP really is, but I digress, Dave (mackrackit) is right, Configs are something you will have to deal with, regardless of your choice of compiler.
    In a nutshell _ _ _ You write a program in C or PBP and compile it into an assembly program, the Assembler, I E MPASM, turns it into a HEX File and your PICKit stuffs it into the PIC. And If you wrote it right then your PIC is Fat, Dumb and Happy Doing what you ordered it to do. And yeah, I know the demo does not support the 675, so 2 bucks? gets you a 12F683 which it does support. As for your programmer, it will stuff the hex from any of the methods available as long as it supports the chip you have chosen. My first programmer was a JDM clone from an eBay seller in Bulgaria for $8.00 US, used Iprog, or PonyProg or one of those freebie programs to operate it. The best part about PBP is this forum, nobody here will steer you wrong intentionally.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    As ever many thanks to you all for your help and guidance.

    I'll download the demo tonight and try and convert the program Joe posted earlier in the thread into a HEX file and load it, Ill let you know how I get on, then take it from there.

    I do suspect there could be one or two more questions popping up along the way.

    Fascinating subject though with loads of possibilities.

    Dave

  3. #3
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    I've downloaded the demo program and I'm about to buy 10 of these chips.

    They are the right ones for Joe's LED program? Can anyone confirm please.

    http://uk.rs-online.com/web/search/s...duct&R=6230178

    Dave

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Those are the correct ones.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Cheers mackrackit.

    They should arrive in two or three days time.

    In the meantime I'll try and make a HEX program.

    Finger X'd

    Dave

  6. #6
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    5x12F683 PICS order just placed...........!

  7. #7
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    I was looking through some of the helpful links that mackrackit posted on this thread earlier and came across this link below:

    http://www.melabs.com/resources/samples.htm#12F675pbp

    Half way down the page there's a program to blink an LED using a 12F675 PIC so I thought great, I'll copy the HEX file (link below) which I did.

    http://www.melabs.com/resources/samp...BP/BLINKX4.HEX

    I then opened up my PICKit classic programmer and tried to copy the saved HEX code (which I'd saved as a notepad document) into the programmer but I couldn't even find the notepad HEX code, it just doesn't show up in my documents.

    Any ideas on how to load this copied HEX code into the programmer so I can load it into my 12F675 PIC.

    Starting to feel inadequite (I can't even spell it) right now.

    One day when I've cracked the learning curve I'll look back at all this and smile...I hope.

    Dave

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts