Author |
Topic |
|
jj
Finland
8 Posts |
Posted - 04/21/2011 : 11:10:07
|
I tried to program a PIC12C508A with GQ-4X (software version 6.11), but I get error "VerifyFailed, Address=0x000000, Device=0x3F, Buffer=0x00". When I try to read the chip, I get only 3FFF's for code.
Is the correct position for the chip so that the lowest four slots of the ZIF socket are empty?
|
Edited by - jj on 04/21/2011 12:15:20
|
|
Reply #1
ZLM
2945 Posts |
Posted - 04/22/2011 : 05:11:47
|
The chip position is wrong.
Once you selected the chip from software, the chip position is showing in the
Image Insert:
2.55 KBsoftware. |
|
|
Reply #2
jj
Finland
8 Posts |
Posted - 04/22/2011 : 05:23:46
|
OK, thanks, I see it now. The picture is too small for my eyes... I'll try again, and this time I'll leave the lowest five slots empty. |
|
|
Reply #3
jj
Finland
8 Posts |
Posted - 04/22/2011 : 08:42:13
|
Writing and verification of the code succeeded now! But I got error "Configuration Verifyfailed"???
|
|
|
Reply #4
jj
Finland
8 Posts |
Posted - 04/22/2011 : 11:06:23
|
In case you want to inspect my .HEX file, you can download it from:
ki6yfq.com/manuals_schematics/ ARRL_2009_Handbook_Issue_86/Software/RockMite%20HEX%20file/ Rockmite.HEX
(combine the three lines into one)
|
Edited by - jj on 04/22/2011 11:13:17 |
|
|
Reply #5
ZLM
2945 Posts |
Posted - 04/24/2011 : 19:55:56
|
In hex file, the CFG value is 0x0FE2. What is your reading value after CFG verify failed? |
|
|
Reply #6
jj
Finland
8 Posts |
Posted - 04/24/2011 : 21:48:22
|
I have so far burned two 12C508A chips. Today when I re-read them they both have 0x0002 as their configuration word.
Here is the Configuration tab after re-reading the chips. Only the Value is different, columns "Category" and "Setting" are the same as in the .HEX file.
Image Insert:
7.72 KB |
|
|
Reply #7
jj
Finland
8 Posts |
Posted - 04/24/2011 : 22:40:33
|
Here are the configuration words in binary:
0x0FE2 = 0000 1111 1110 0010 0x0002 = 0000 0000 0000 0010
According to the 12C5XX data sheet, the PIC12C5XX configuration word consists of 12 bits, but only the lowest five bits are implemented, and they are the same in this case. So can the error "Configuration Verifyfailed" be safely ignored? |
|
|
Reply #8
ZLM
2945 Posts |
Posted - 04/25/2011 : 06:16:45
|
This chip only lowest 5 bit CFG used for configuration. All others are not used. So, it should be OK as long as the chip works. Try those two chips in your machine, and see if it works.
Also, turn off the Code Protect in CFG before write. |
|
|
Reply #9
jj
Finland
8 Posts |
Posted - 04/25/2011 : 06:42:04
|
The chips work fine in my circuit. Code verified OK during the write and the lowest 5 bits in the configuration word are OK, so everything is OK.
So the error message "Configuration Verifyfailed" can be safely ignored in this case.
Thanks for your help!
|
|
|
Reply #10
jj
Finland
8 Posts |
Posted - 04/25/2011 : 07:23:14
|
I burned yet another PIC12C508A, this time I changed Code Protect Off. Now even configuration verified OK during the write. And Verify was successful after the write.
|
|
|
Reply #11
123456
2 Posts |
Posted - 12/10/2011 : 14:06:06
|
Hello, I have same problem with 12c508a and gq-4x. CP 0 = code protect off?
Thank you. |
|
|
|
Topic |
|