Author |
Topic |
|
prgmr
4 Posts |
Posted - 02/28/2012 : 12:11:49
|
Hi, I need some help on how to add device HN27C4001G to devices.txt file. I've read the help on the GQ USB Programmer software and the syntax on devices.txt file but there are many attributes to be defined that I donīt know if I need to add all of them or which ones. Also, some of the device lines donīt define some attributes like WVpp, WVcc, BVcc, RVpp, etc. and I am a little confuse. Here is the link for the datasheet h**p://pdf.chinaicmart.com/88889/23480.pdf
This is my try for the line:
Name="HN27C4001G",ID="0720",Class="27C040",Category="EPROM",MFG="HITACHI",Speed="5",Package="DIP",CodeSize="524288",VCC="5V",VPP="12.5V",WVCC="6.25V",WVpp="12.5"BVCC="????",RVPP="5V";
Thanks. |
|
Reply #1
ZLM
2945 Posts |
Posted - 02/29/2012 : 00:31:22
|
There are default values for WVpp, WVcc, BVcc, RVpp, etc.
If you are not sure what is the default value, then you can just set your own value to overwrite the default one.
6.25V may not be a good value, you may need to try 6.2V, see other devices and find the closest voltage value.
|
|
|
Reply #2
prgmr
4 Posts |
Posted - 02/29/2012 : 08:24:25
|
Do you know where can I find the default values for WVpp, WVcc, BVcc, RVpp, etc.? The values I wrote in the example line above I took them from some tables from the datasheet. However I donīt know if I interpreted correctly what the values in the table mean.
Could I damage the EPROM while reading it if I have wrong values for the attributes?
Thanks. |
|
|
Reply #3
ZLM
2945 Posts |
Posted - 02/29/2012 : 10:34:41
|
For Vcc,WVcc,RVcc,BVcc you can use: 3.6V,4.5V,5V,5.5V,6.2V For Vpp,WVpp,RVpp you can use: 5V,12V,12.7V,15V,21V,25V.
Yes. Wong config may damage the chip.
But if the value you used with in 10% tolarance of the datasheet table, then it is safe. |
|
|
Reply #4
prgmr
4 Posts |
Posted - 03/02/2012 : 12:15:47
|
This is the line that I added to the devices.txt file:
Name="HN27C4001G",ID="0720",Class="27C040",Category="EPROM",MFG="HITACHI",Speed="5",Package="DIP32",CodeSize"524288",VCC="5V",VPP="12.7V",WVCC="6.2V",WVPP="12.7V",RVPP="5v";
I selected HN27C4001G as the device in the software and checked the ID of the EPROM and it recognized it well. Then I read the contents of the EPROM and obtained a CheckSum. Then I selected the device 27C040(which is a generic device), read the contents of the chip and obtained a CheckSum. Then I selected the device 27C4001 (another generic device), read the chip and obtained a CheckSum. The CheckSum obtainend from the three different devices is the same so I am assuming that the syntax line I wrote is ok. I however didnīt try out to write on to a chip because I didnīt have a spare one.
I did make a Blank Check and obtained the following:
ID Check Skipped Blank Checking ... Code Elapsed Time: 0.36 seconds Device Blank check failed at address: 0x000000, Read=0x00 Blank Check Failed
I tried the Blank Check with the other devices and it returned the same error. Then I put a TMS27C040 chip and did the Blank Check and obtained the same result. What could be wrong? I have GQ-4X Re. 6.14c.
Thanks. |
|
|
Reply #5
ZLM
2945 Posts |
Posted - 03/02/2012 : 18:05:39
|
No thing wrong. This just tell you the chip is not blank. You need to erase the data on chip in order to write new data. |
|
|
Reply #6
prgmr
4 Posts |
Posted - 03/03/2012 : 21:56:15
|
Ok. Thanks for the support! |
|
|
|
Topic |
|
|
|