Author |
Topic |
|
andcvi
Australia
5 Posts |
Posted - 07/10/2013 : 14:56:53
|
Hello
I need to program 16F1783 28 pin PIC chips with my GQ-4X programmer HW-RE1.42, SW-RE6.23 which at the moment does not support, but the GQ-4X supports 16F882/3 28 pin chips which are pin for pin compatible with the 16F1783, so I would assume no adapter would be required?
I have the MPLAB 16F1783.dev file, so I am not sure what I need to put into the devices.txt file, I used the 16F1827 definition which I use as well as a template as they are the same class of PICS but different number of pins.
the 16F1827 has 4K flash, 384 ram, 256 eeprom the 16F1783 has 4k flash, 512 ram, 256 eeprom
I don't know what the ID number for the 16F1783 would be either, any help would be appreciated.
regards Andrew.
Name="PIC16F883",ID="29202",Class="PIC16F872",Category="MCU",MFG="Microchip",CodeSize="8192",EepromSize="256",Package="DIP28",PRG_MODE="0",BEGPRG_COMMAND="8",ENDPRG_COMMAND="",ERASECHIP_COMMAND="1F",BEGERASECHIP_COMMAND="8",PAGE_WRITE_SIZE="1",CFG_PAGE_WRITE_SIZE="1",CFGByteLabel="DEBUG LVP FCMEN IESO BOREN1 BOREN0 CPD CP MCLRE PWRTE WDTEN FOSC2 FOSC1 FOSC0",Adapter="ICSP/PIC adapter+, no adapter required on GQ-4X";
Name="PIC16F1783",ID="XXXXXX",Class="PIC16FXXX",Category="MCU",VPP="9V",WVPP="9V",Package="DIP28",MFG="Microchip",CFGAddress(Hex)="8007",CodeSize="4096",EepromSize="256",Package="DIP28",BEGPRG_COMMAND="8",ENDPRG_COMMAND="0A",BEGERASECHIP_COMMAND="9",ERASECHIP_COMMAND="",EEPROMHexFileAddress(Hex)="1E000",CFGHexFileAddress(Hex)="1000E",UserIDHexFileAddress(Hex)="10000",Adapter="ICSP/PIC adapter+, no adapter required on GQ-4X";
Name="PIC16F1827",ID="2927A0",Class="PIC16FXXX",Category="MCU",VPP="9V",WVPP="9V",Package="DIP18",MFG="Microchip",CFGAddress(Hex)="8007",CodeSize="4096",EepromSize="256",Package="DIP18",BEGPRG_COMMAND="8",ENDPRG_COMMAND="0A",BEGERASECHIP_COMMAND="9",ERASECHIP_COMMAND="",EEPROMHexFileAddress(Hex)="1E000",CFGHexFileAddress(Hex)="1000E",UserIDHexFileAddress(Hex)="10000",Adapter="ICSP/PIC adapter+, no adapter required on GQ-4X";
|
|
Reply #1
ZLM
2945 Posts |
Posted - 07/12/2013 : 09:51:49
|
You do not need to know the ID. All information in the 16F1783.dev file.
Just try your lines and see if it works.
Make sure the 16F1783.dev file is under "devices" direcvtory. |
|
|
Reply #2
andcvi
Australia
5 Posts |
Posted - 07/23/2013 : 03:37:37
|
I finally got my 16f1783's today from RS Components and tried programming the PIC with the above settings, no go.
I get all zero's from code and eeprom memory when reading and if I erase the chip and check if blank it fails with the same result all zero's
if I select 16f886 and change the code size from 16384 to 4096 in devices.txt,it will erase and blank check ok and program's but verify fails about halfway through.
set device back to 16f1783 and it reads zero's from code & eeprom memory.
the 16f1783.dev file shows pgming(memtech=ee tries=1 lvpthresh=2.700 boundary=4) latches(pgm=32 eedata=1 cfg=1 userid=1 rowerase=32)
the 16f1827.dev file shows pgming(memtech=ee tries=1 boundary=8) latches(pgm=8 eedata=1 cfg=1 userid=1 rowerase=32)
any idea's how to get this 16f1783 to program under the GQ-4x
regards Andrew |
|
|
Reply #3
andcvi
Australia
5 Posts |
Posted - 07/26/2013 : 15:45:39
|
Does anyone know if the GQ-4X programmer software itself supports the DS41457E programming specs for this type of the 16F178X series of PIC's, can't see much difference between the DS41457E & DS41390C specs which the 16F182X PIC's use.
regards Andrew |
|
|
Reply #4
andcvi
Australia
5 Posts |
Posted - 07/29/2013 : 14:18:52
|
Finally got it to work, had to set pic class to PIC16F872, if anyone is interested insert the following line into devices.txt
Name="PIC16F1783",ID="XXXX",Class="PIC16F872",Category="MCU",VPP="9V",WVPP="9V",MFG="Microchip",CFGAddress(Hex)="8007",CodeSize="4096",EepromSize="256",Package="DIP28",BEGPRG_COMMAND="8",ENDPRG_COMMAND="0A",BEGERASECHIP_COMMAND="9",ERASECHIP_COMMAND="",EEPROMHexFileAddress(Hex)="1E000",CFGHexFileAddress(Hex)="1000E",UserIDHexFileAddress(Hex)="10000",Adapter="ICSP/PIC adapter+, no adapter required on GQ-4X";
regards Andrew |
|
|
|
Topic |
|
|
|