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

    Hi LEDDave,
    16F628A might be easier to drive 7 segment as no driver translator chip required ( because it has enough ports ). Your biggest challange will be due to 31 lines of code limitation, in the Demo program.
    I do not know if assembly code is counted in that limitation.
    If you have that problem I am sure Mackrackit and I would compile a few programs for you, enough so you believe this compiler is worth it's price.
    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
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    Hi LEDDave,
    16F628A might be easier to drive 7 segment as no driver translator chip required ( because it has enough ports ). Your biggest challange will be due to 31 lines of code limitation, in the Demo program.
    I do not know if assembly code is counted in that limitation.
    If you have that problem I am sure Mackrackit and I would compile a few programs for you, enough so you believe this compiler is worth it's price.
    Yup, I will help.
    Problem is, I can not find a "large" PIC that will work with the demo and the PICkit1. (14 pins)
    So LEDDave may have to get a 16F676 and one of us build the hex for that...
    Dave
    Always wear safety glasses while programming.

  3. #3
    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
    Yup, I will help.
    Problem is, I can not find a "large" PIC that will work with the demo and the PICkit1. (14 pins)
    So LEDDave may have to get a 16F676 and one of us build the hex for that...
    I know nothing about the PICKit1, can you use ICSP with it ?
    OK I just looked at AN258 http://www.microchip.com/stellent/id...pnote=en012103
    and it clearly shows PICKit1 using ICSP so he can go OFF BOARD with some jumper wires and program chips.
    So is it that the PICKit1 firmware does not support bigger chips ?
    This will work, until he get's serious. http://cgi.ebay.com/Microchip-PIC-JD...item1e595bbf81
    Probably Won't do 18Fs but will do nearly all 16F & 12F series.
    Last edited by Archangel; - 19th February 2010 at 06:55.
    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.

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


    Did you find this post helpful? Yes | No

    Default

    An adapter can be made for the socket, but the PICs supported are limited.
    http://www.microchip.com/stellent/id...cName=en010053
    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

    Feeling rather pleased with myself this afternoon.

    I looked at the diode array diagram in my PICkit1 and the program mackrackit had written for me to run D0 - D1 - D2 in sequence and thought I'd like to add D3. So after much head scratching (believe me) I can up with this:

    ANSEL = %00000000
    CMCON0 = %00000111

    START:
    'D0 HIGH
    TRISIO = %11001111
    GPIO = %00010000
    PAUSE 500
    'D1 HIGH
    TRISIO = %11001111
    GPIO = %00100000
    PAUSE 500
    'D2 HIGH
    TRISIO = %11101011
    GPIO = %00010000
    PAUSE 500
    'D3 HIGH
    TRISIO = %11101011
    GPIO = %00000100
    PAUSE 500
    GOTO START

    The D3 bits mine:-) So I compiled it, no errors and whoosh: D0-D1-D2-D3 chugging along in a nice line and not a hint of burning smoke anywhere.

    I know it's only a small step, but still really pleased. I'm going to read and try to fully understand the GPIO / TRISIO port register relationship over the weekend. Still much to learn but Rome wasn't built and all that....!

    Dave

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


    Did you find this post helpful? Yes | No

    Default

    COOL!!!!
    Progress...

    About future programmers.. I would recommend the PicKit2 over anything else. It is a bit more expensive but worth it.
    http://www.microchipdirect.com/produ...words=PG164120

    In my shop I have a PicKit1, PicStart+, and two PicKit2's. Guess the ones that get used the most..

    I will sometimes build a JDM type circuit into a project if it is something the customer may have to update and they work OK and I have a board I make for kids to learn the basics on so they do have their place but...

    Just my opinion... not trying to start a programmer war.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    I do like the PICKit with it's USB connection, early days but I think I'll stick with them for sure.

    I've a lot of basics to learn in the meantime, any thoughts on how I should structure my learning?

    I'd like to learn how to program the 12F683 to output a binary pattern (xxxx-bin) when a button gets pressed.

    Another thing I'm wondering, does the basic principles of one PIC transfer to others (I'm guessing yes, why re-invent the wheel every time) so learning the 683 chip would be a good place to start for a knowledge base.

    Question after question from me at the moment, I do apologize for that.

    Interesting stuff these PIC's, I can't wait to get a reasonable working knowledge.

    Dave

  8. #8
    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
    COOL!!!!
    Progress...

    About future programmers.. I would recommend the PicKit2 over anything else. It is a bit more expensive but worth it.
    http://www.microchipdirect.com/produ...words=PG164120

    In my shop I have a PicKit1, PicStart+, and two PicKit2's. Guess the ones that get used the most..

    I will sometimes build a JDM type circuit into a project if it is something the customer may have to update and they work OK and I have a board I make for kids to learn the basics on so they do have their place but...

    Just my opinion... not trying to start a programmer war.
    Ha, no war, I paid 8 bucks for my first JDM, that's why I bought it. It works, but I prefer MY PICKit2 over it. I think as cheap as they are it is worthwhile to have as a backup.
    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.

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