Pickit3 ordered -- what else?


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1

    Default Pickit3 ordered -- what else?

    Giving up on my efforts to program a 12F675 with my antique EPIC programmer. Just ordered a Pickit3.

    So my next question is I may have to also update my PBP as well ? (I have version 2.46a).

    And finally --

    I may give up on the 12F675 all together -- only bought it because it seems popular and low cost -- I just need it for a very simple LED controller.

    Can anyone think (possibly) of another PIC that comes in an 8pin DIP with just a few ports -- hopefully with an internal osc (but an external rc would be ok) that is easily programmed with the EPIC and PBP 2.46a ?

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Pickit3 ordered -- what else?

    ah ha -- 12c508 maybe ? it's an old one I know.
    Last edited by Michael; - 4th September 2016 at 22:24.

  3. #3
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Pickit3 ordered -- what else?

    What is it that you want to do with the 12F675 ?

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Pickit3 ordered -- what else?

    If the 12F675 does what you want then just stick with it, it's fine. If you're giving up on it due to the issues you're having programming it think again, you'll have the same problem with the next chip.

    Why you'd want to use the 12C508 is beyond me, at the very least go with the 12F508 but nah, why? I mean, OK, if you're designing a product and building thousands then buy the cheapest you can find, if you build one then just use what you have or what you want to play with. I just did a little protoboard project with a 12F675.

    If you really want to move "up" while sticking to the 8-pin package then perhaps the 12F1840 might be an interesting choice but for that you'll need to upgrade PBP.

    /Henrik.

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Pickit3 ordered -- what else?

    Henrik -- so I'll be fine with the new programmer and version 2.46a of PBP for the 12F675?

    I know each version needs different mplab versions. It's been a long time away from PIC's, getting up to speed and "trying" not to have headaches.

    Bought a pickit3 which is on the way. I was only considering the 12C508 because my programmer is old and I never had any issues (at all) with those eeprom chips.

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: Pickit3 ordered -- what else?

    Ok -- here's my final question on my 12F675 and EPIC issue -- then I'll just wait for the new programmer.

    DEFINE OSCAL_1K 1 (I'm using this based on all the samples at melabs regarding the 12F675 and choosing internal osc in WINPIC)

    Tried both MCLR off and MCLR ON.

    I know the programmer is fine as I've tested it with other chips -- and it's doing that Vpp before Vdd thing. (Box unchecked in WINPIC).

    First error I get is --

    "USING DEFAULT OSC CALIB WORD INSTEAD OF 0x003FFF"

    Then I get an assortment of errors including something about "Windows playing with LPT1 or something like that"

    Another is "003FFF wanted 002828"

    Just throwing this out if someone sees something obvious -- if not I'll just give up on using the EPIC. (Wanted to get something done this weekend, hence my attempts).

  7. #7
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Pickit3 ordered -- what else?

    Michael, I'm afraid I can't help with the EPIC programmer stuff and to be honest I'm not entirely sure what exactly DEFINE OSCAL_1K 1 is doing but I THINK it tells the assembler and/or programming software WHERE the factory calibration for the oscillator is stored (which is the last location in program memory, 1k for the 12F675) so that it can read it before erasing the memory and then write it back to the same location when the device is programmed. Don't quote me on that though.

    Now that I think about it, are you absolutely SURE you have the correct device selected in the programming software. I can't understand why it's trying to access (if that IS what it's doing) adress 16384 on a device with only 1024 qords. 3FFF is 16383 which would be wrong for a 1k device. 3FF is 1023 which would be correct. but again I'm out on deep water here so mostly speculating.

    /Henrik.

  8. #8


    Did you find this post helpful? Yes | No

    Default Re: Pickit3 ordered -- what else?

    I don't know if this will help. This was the header from some working code I did a long time ago. Note I had DEFINE_1K 1 commented out , so it must not have been needed in my application. Change the configs for your needs

    Code:
    ; Initialize your hardware first   '
    ;-----------------------------------------------------------------------------
    ; pin definitions  PIC12F675
    ; Pin 1 Vdd +5vdc                       Pin 8 Vss GND
    ; Pin 2 GP5  Sample 2                   Pin 7 GP0 AN0    ISP Data
    ; Pin 3 GP4  Sample 1                   Pin 6 GP1 AN1    ISP CLK
    ; Pin 4 MCLR tie to Vdd thru 10k        Pin 5 GP2 TX pulse
    ;-----------------------------------------------------------------------------
    
    '	__CONFIG   _CP_OFF & _CPD_OFF & _BODEN_OFF & _MCLRE_ON & _WDT_OFF & _PWRTE_ON & _INTRC_OSC_NOCLKOUT
    
    DEFINE OSC 8'4
    OSCCON = $70
    'define OSCCAL_1K 1
    DEFINE  ADC_BITS        10     	' Set number of bits in AD result
    DEFINE  ADC_CLOCK       3     	' Set AD clock source (3=rc)
    DEFINE  ADC_SAMPLEUS    50    	' Set AD sampling time in uS
    
    
    'CMCON = %00000111
    ANSEL = %00010011
    TRISIO 	=%11000011
    GPIO 	=%00000000
    WPU =%00000000
    'OPTION_REG = %
    ADCON0= %10000101

Similar Threads

  1. pickit3 trouble PLEASE
    By l_gaminde in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 20th February 2016, 23:06
  2. Pickit3 from Microcode Studio
    By Normnet in forum General
    Replies: 20
    Last Post: - 26th January 2014, 09:06
  3. Can't Get PicKit3 to debug using MPLAB 8.63
    By reppig in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 5th July 2011, 17:50
  4. PICKit3 Standalone programmer application.
    By HenrikOlsson in forum Off Topic
    Replies: 3
    Last Post: - 11th February 2011, 09:57
  5. Pickit3 from Microcode Studio
    By Plcguy in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 11th December 2010, 21:55

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