Results 1 to 9 of 9

Thread: Programming hardware for PIC12F510

  1. #1
    Senior Member

    Join Date
    Jan 2008
    Location
    A rock in the ocean
    Posts
    752
    Thanks
    99
    Thanked 135 Times in 79 Posts
    Rep Power
    290
    Reputation
    3356

    Default Programming hardware for PIC12F510

    Got a PIC12F510 I'd like to read out the contents of (hopefully not read protected). All my PIC programmers are for 16F84 types, are pretty old, and don't believe they'll support the 12F510.
    Could a CH314A serial EEPROM / flash USB programmer be adapted to program the 12F510?



Look Here ->
  • #2
    Senior Member
    Reschs's Avatar
    Join Date
    Aug 2010
    Location
    Outside a few schooners
    Posts
    3,080
    Thanks
    907
    Thanked 2,147 Times in 1,058 Posts
    Rep Power
    933
    Reputation
    33238

    Default

    I have a PICKIT3 Programmer if that helps.
    Cannot check if yours is listed until tomorrow.

  • The Following User Says Thank You to Reschs For This Useful Post:

    mitaux8030 (23-07-18)

  • #3
    Senior Member

    Join Date
    Jan 2008
    Location
    A rock in the ocean
    Posts
    752
    Thanks
    99
    Thanked 135 Times in 79 Posts
    Rep Power
    290
    Reputation
    3356

    Default

    Looks like both PICkit 2 & 3 support the 12F510, and since their improved China clones are so cheap, may as well get one to add to the tool box. Thanks for the point in the right direction Reschs

  • The Following User Says Thank You to mitaux8030 For This Useful Post:

    Reschs (25-07-18)

  • #4
    Senior Member
    Reschs's Avatar
    Join Date
    Aug 2010
    Location
    Outside a few schooners
    Posts
    3,080
    Thanks
    907
    Thanked 2,147 Times in 1,058 Posts
    Rep Power
    933
    Reputation
    33238

    Default

    Glad to be of help.

  • #5
    Senior Member
    trash's Avatar
    Join Date
    Jan 2008
    Location
    Tamworth
    Posts
    4,088
    Thanks
    148
    Thanked 3,229 Times in 1,451 Posts
    Rep Power
    1287
    Reputation
    47674

    Default

    Ummmm... lucky I caught the header in the list.

    Are you using your old elvis programmer?

    Is it one of my PIC12F510's? You know I'll just give you the source code
    Anyhow... I think you should be able to match the programming pins, pin for pin with the 16F84 and make a small adapter header and program it with your elvis.

    Have a quick look at the 12F510 and the 16F84 Vpp ... which is usually something like 12V on the MCLR pin or something.
    The SCL and SDA, Vcc and Gnd should be all you need.


    For $10, you can always just get one of these for the job.
    Last edited by trash; 28-07-18 at 09:09 PM.
    Yes I am an agent of Satan, but my duties are largely ceremonial.

  • #6
    Senior Member

    Join Date
    Jan 2008
    Location
    A rock in the ocean
    Posts
    752
    Thanks
    99
    Thanked 135 Times in 79 Posts
    Rep Power
    290
    Reputation
    3356

    Default

    Thanks Trash - I'll look into that. Yes, I was thinking of resurrecting Elvis (which begs the question - did Elvis ever really die?) for this job, but didn't think it would do the job. I'll give it a go.
    (Not one of your 510s, it's a PIC written to emulate an ESN for expanding the options of a Harris milspec radio)

  • #7
    Senior Member
    trash's Avatar
    Join Date
    Jan 2008
    Location
    Tamworth
    Posts
    4,088
    Thanks
    148
    Thanked 3,229 Times in 1,451 Posts
    Rep Power
    1287
    Reputation
    47674

    Default

    If you want to make an elvis adapter for the PIC12F510 just solder an 8 pin IC socket onto the back of an 18 pin socket.

    All you need is 5 links.

    DIL18 -- DIL8 == function

    pin 14 -- 1 == Vdd
    pin 13 -- 7 == Data
    pin 12 -- 6 == Clock
    pin 4 -- 4 == Vpp (MCLR)
    pin 5 -- 8 == Gnd (Vss)


    As Elvis would say ... "Well Thank ya Ma'am !"
    Yes I am an agent of Satan, but my duties are largely ceremonial.

  • The Following User Says Thank You to trash For This Useful Post:

    mitaux8030 (31-07-18)

  • #8
    Senior Member

    Join Date
    Jan 2008
    Location
    A rock in the ocean
    Posts
    752
    Thanks
    99
    Thanked 135 Times in 79 Posts
    Rep Power
    290
    Reputation
    3356

    Default

    I won't even need an adapter! Elvis was natively capable of programming PIC12C509 (8 pin DIL, 1k) on the 18 pin DIL socket, just by placing the chip at the top of the socket and correct option selections in the software.
    The only thing that might come unstuck is the PIC12C509 needs a Vpp of anything >Vdd (ie >5.5 volts) where as the PIC12F510 needs a Vpp of between 12.5 and 13.5 volts. A few seconds with the multimeter and reading with the DIL socket unpopulated will answer that.
    Now, where did I put my Win98 laptop with MultiProgrammer on it? Talk about sentimental memories being dug up here!

  • #9
    Senior Member
    trash's Avatar
    Join Date
    Jan 2008
    Location
    Tamworth
    Posts
    4,088
    Thanks
    148
    Thanked 3,229 Times in 1,451 Posts
    Rep Power
    1287
    Reputation
    47674

    Default

    Stupid 12C509 .... I have a shitload of them from the DSE clearouts and I couldn't program them and was a bit lazy about building a programmer for them. It was more my thing to just write the code for the 12F510

    In reality, I'd just just make a ZIF socket on a dummy smart card and maybe some jumpers for the various pins and Vpp
    But I have a well worn EasyPIC5 which is a bit hard to beat when it comes to developing, programming and testing.
    Yes I am an agent of Satan, but my duties are largely ceremonial.

  • Bookmarks

    Posting Permissions

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