Menu

Should this programmer work with the 16LF628 ?

2022-03-15
2022-03-16
  • John Devires

    John Devires - 2022-03-15

    I have programmed many PIC's with this programmer with great success, and see on the list of supported devices a couple of LF versions, but not the 16LF628.
    I can actually program it, and read it, when selecting 16F628, but the program does not work.
    Same program works when I use a 16F628A.

    Should this programmer work with the 16LF628 ?

     
  • John Devires

    John Devires - 2022-03-15

    YES, it does!! I used the wrong fuse settings. :(

    So, Alberto - you can add the 16LF628 to your list of confirmed devices. ;)

    Thank you.

    PS: These are my settings to use internal oscillator, that works.

    // PIC16LF628 Configuration Bit Settings

    #pragma config FOSC = INTOSCIO  // Oscillator Selection bits (INTRC oscillator: I/O function on RA6/OSC2/CLKOUT pin, I/O function on RA7/OSC1/CLKIN)
    #pragma config WDTE = OFF       // Watchdog Timer Enable bit (WDT disabled)
    #pragma config PWRTE = OFF      // Power-up Timer Enable bit (PWRT disabled)
    #pragma config MCLRE = OFF      // RA5/MCLR pin function select (RA5/MCLR pin function is digital input, MCLR internally tied to VDD)
    #pragma config BOREN = OFF      // Brown-out Reset Enable bit (BOD Reset disabled)
    #pragma config LVP = OFF        // Low-Voltage Programming Enable bit (RB4/PGM pin has digital I/O function, HV on MCLR must be used for programming)
    #pragma config CPD = OFF        // Data Code Protection bit (Data memory code protection off)
    #pragma config CP = OFF         // Code Protection bits (Program memory code protection off)
    
     
  • Alberto Maccioni

    All LF devices are supported, there is a note on the website before the device list; F or LF does not make any difference in the algorithm.
    The devices you see listed as LF do not have an F equivalent.
    Some LF devices have a lower maximum VDD compared to their F version; in that case, a low voltage adapter is required by the software.
    However, if the user is absolutely certain to use an F variant, he can exclude the adapter requirement via a specific option.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.