I had sent a message earlier in this regard but forgot to add the right tag in the subject. I'm trying to add support for PIC16F716 to Winpic. So far after 3-4 hrs of jostling, I'm able to program the code memory but having problems programming the config word. The device.ini section for the PIC16F716 is down below. I have tried the following algorithms for ConfigProgAlgo CONFIG_MEM_16F81x CONFIG_MEM_16xxx CONFIG_MEM_16F87xA 16F7x7 16F7x PIC18F If I use PIC18F, the programmer finishes without complaint but I see columns of 0000 when the data is read back from the device. If 16F7x is used, the code is programmed fine but config word is not. I'm using CodeProgAlgo=16F7x7, all the other CodeProgAlgo settings don't work. Is it due to the cfgmask entries at the end of section? as I haven't touched them. Any help would be appreciated. +++++++++++++++++ [PIC16F716] info1=Added by Chetan Bhargava info2=Does not program config word, code programming is ok info3=12/01/2005 DeviceName=PIC16F716 DeviceInfoFileName=PIC16F716.dev CodeMemType=1 CodeMemSize=2048 DataEEPROMSize=0 InternalRAMSize=128 AddrConfigMem=0x2000 AddrConfigWord=0x2007 AddrDataMem=0x2100 AddrOscCalib=0xFFFFFFFF ConfigMemUsedLocs00_1F=0x00CF ConfigMemUsedLocs20_3F=0x0000 DeviceIdAddr=0x2006 DeviceIdMask=0x3FE0 DeviceIdValue=0x1140 CanRead=0 EraseAlgo=ERASE_16F62xA ;erasealgo works with ERASE_16F62xA ;CodeProgAlgo=16Fxx CodeProgAlgo=16F7x7 ;CodeProg Algo works with 16F7x7 ;configprogalgo fails with 16f7x but code is fine ConfigProgAlgo=16F7x ;DataProgAlgo=DATA_EEPROM_16XXX VppVddSequence=Vdd_before_Vpp Ti_Clock_us=15 Ti_Prog_us=10000 Ti_Erase_us=10000 CmdLoadConfig=0 CmdLoadProg=2 CmdReadProg=4 CmdIncrAddr=6 CmdBeginProg=24 CmdEndProg=14 CmdLoadData=-1 CmdReadData=-1 CmdReadData=-1 CmdEraseProg=9 CmdEraseData=-1 CmdEraseChip=-1 CmdBeginProgNoErase=-1 Cfgmask_unused=0x1E00 Cfgmask_unknown=0x0000 Cfgmask_cpbits=0x2000 Cfgmask_cpd=0x0100 Cfgmask_pwrte=0x0008 Cfgmask_inv_pwrte=0x0008 Cfgmask_wdte=0x0004 Cfgmask_oscillator=0x0013 Cfgmask_osc_rc=0x0013 Cfgmask_osc_hs=0x0002 Cfgmask_osc_xt=0x0001 Cfgmask_osc_lp=0x0000 Cfgmask_osc_extclk=0x0003 Cfgmask_osc_intrc_noclkout=0x0010 Cfgmask_osc_intrc_clkout=0x0011 Cfgmask_osc_extrc_noclkout=0x0012 Cfgmask_lvp=0x0080 Cfgmask_boden=0x0040 Cfgmask_mclre=0x0020 Cfgmask_ddebug=0x0000 Cfgmask_wrcode=0x0000 Cfgmask_bandgap=0x0000 Cfgmask2_used_bits=0x0000 -- Chetan Bhargava Web: http://www.bhargavaz.net Blog: http://microz.blogspot.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist