MCUmall EPROM BIOS Chip Burner Forum Active Users: / Visits Today:
Highest Active Users:
MCUmall EPROM BIOS Chip Burner Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 MCUmall Forums
 True USB Willem Programmer (GQ-2X,3X,4X & GQ-4x4)
 GQ-4X PIC16F1934 (ICSP)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

F-bone

30 Posts

Posted - 10/16/2015 :  00:20:30  Show Profile  Reply with Quote
Hi guys,

trying to read this pic my microchip:

h**p://ww1.microchip.com/downloads/en/DeviceDoc/41364E.pdf

This device is not in the latest software list, is there a compatible chip? Or can I add it manually somehow?

I have connected the ICSP header to the PCB were the PIC is soldered using the PCBs ICSP pins.

Any help is greatly appreciated.

BR,
George
Reply #1

F-bone

30 Posts

Posted - 10/16/2015 :  01:04:52  Show Profile  Reply with Quote
The weird thing is that there is PIC16F1934.dev and PIC16LF1934.dev in the Devices directory????

EDIT, guys I really need your support in this. Please provide your insight on this matter.

Edited by - F-bone on 10/18/2015 23:58:23
Go to Top of Page
Reply #2

zzattack

Netherlands
9 Posts

Posted - 10/19/2015 :  03:11:00  Show Profile  Reply with Quote
The LF is simply the 3.3v version of that PIC. All 28-pin PIC16F's have the ICSP pins in the same location, so any of them should work.
Go to Top of Page
Reply #3

F-bone

30 Posts

Posted - 10/19/2015 :  04:10:33  Show Profile  Reply with Quote
quote:
Originally posted by zzattack

The LF is simply the 3.3v version of that PIC. All 28-pin PIC16F's have the ICSP pins in the same location, so any of them should work.



hi zz,

this is not "LF" but "F" family and both F and LF have the same behaviour, the 1934 version is not shown in the list altough the .dev file exists.

also my version is 20pin at 9v if I am correct. Would any other similar device be ok even if the ID check fails?

BR,
George
Go to Top of Page
Reply #4

zzattack

Netherlands
9 Posts

Posted - 10/19/2015 :  05:01:09  Show Profile  Reply with Quote
PIC16F is always 5v part, PIC16LF is always 3.3v part.
I don't see a DIP-20 package for that PIC16.
Yes, ID check will fail if you don't use exactly the same device, but if it's compatible (enough flash) it will program.
Go to Top of Page
Reply #5

F-bone

30 Posts

Posted - 10/19/2015 :  05:14:24  Show Profile  Reply with Quote
quote:
Originally posted by zzattack

PIC16F is always 5v part, PIC16LF is always 3.3v part.
I don't see a DIP-20 package for that PIC16.
Yes, ID check will fail if you don't use exactly the same device, but if it's compatible (enough flash) it will program.



my bad its a 40pin device... F designation. So what would you suggest I use from the list... initially to read the device and then program a new one.
Go to Top of Page
Reply #6

zzattack

Netherlands
9 Posts

Posted - 10/19/2015 :  06:32:01  Show Profile  Reply with Quote
For simply reading PIC16F747, PIC16F74, PIC16F884 will do.

Edited by - zzattack on 10/19/2015 06:39:07
Go to Top of Page
Reply #7

F-bone

30 Posts

Posted - 10/19/2015 :  11:13:57  Show Profile  Reply with Quote
quote:
Originally posted by zzattack

For simply reading PIC16F747, PIC16F74, PIC16F884 will do.



thank you zz, we ll know by tomorrow :)


EDIT: Unfortunately all I am getting is an empty binary file :(... There seems to be some activity on the device where the PIC is soldered on (LEDs etc) but the read procedure gives zeros.

EDIT2: I am using the ICSP header -=inside=- the GQ-4X programmer.

Edited by - F-bone on 10/19/2015 22:23:35
Go to Top of Page
Reply #8

ZLM

2945 Posts

Posted - 10/19/2015 :  22:36:25  Show Profile  Reply with Quote
You need PIC16LF1934.dev file.

Try to add this line into devices.txt:

Name="PIC16LF1934",ID="294024",Class="PIC16FXXX",Category="MCU",MFG="Microchip",CodeSize="16384",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 FCMEN IESO BOREN1 BOREN0 CPD CP MCLRE PWRTE WDTE FOSC2 FOSC1 FOSC0";

The PIC16LF1934.dev file should be included in the latest software.
Go to Top of Page
Reply #9

F-bone

30 Posts

Posted - 10/19/2015 :  23:10:47  Show Profile  Reply with Quote
quote:
Originally posted by ZLM

You need PIC16LF1934.dev file.

Try to add this line into devices.txt:

Name="PIC16LF1934",ID="294024",Class="PIC16FXXX",Category="MCU",MFG="Microchip",CodeSize="16384",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 FCMEN IESO BOREN1 BOREN0 CPD CP MCLRE PWRTE WDTE FOSC2 FOSC1 FOSC0";

The PIC16LF1934.dev file should be included in the latest software.




Hi ZLM, thank you for the line, I can now see the device in the list but the read procedure is still giving zeros.

here is the photograph of the interface and also the screenshot of the software.

h**ps://drive.google.com/open?id=0B80HF5zjKWc1ZHhSZ1ppa2duMmc

h**ps://drive.google.com/open?id=0B80HF5zjKWc1ei1IMlc5ck55MFk

I really need to copy this chip to try and fix the instrument which cannot boot at the moment.

Any help is greatly appreciated.

BR,
George

EDIT:
Choosing "LF" designation instead of "F" (as is my chip here) the programmer passes the ID check this time. Still the read file is empty.

Edited by - F-bone on 10/19/2015 23:27:46
Go to Top of Page
Reply #10

zzattack

Netherlands
9 Posts

Posted - 10/20/2015 :  07:35:43  Show Profile  Reply with Quote
If the PIC has memory read protection on you will always read only zeroes. This prevents unauthorized copying.
Go to Top of Page
Reply #11

F-bone

30 Posts

Posted - 10/20/2015 :  23:18:17  Show Profile  Reply with Quote
quote:
Originally posted by zzattack

If the PIC has memory read protection on you will always read only zeroes. This prevents unauthorized copying.



I think that must be the case! At least we managed to setup GQ-4X to support this chip properly :)

thank you all for your help, it is invaluable as always.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
MCUmall EPROM BIOS Chip Burner Forum © Copyright 2003 - 2009 Mcumall Electronics Inc. Go To Top Of Page
Generated in 0.09 sec. Snitz Forums 2000