Hello
I just build this programmmer and now I'm stuck with this issue
I'm trying to program this ATTiny85 smd pluged into an adapter and I'm getting this errors:
Regulator up and running after 0ms VPP=11.9V
Regulator up and running after 0ms VPP=11.9V
CHIP ID:FFFFFF
Unknown device
completed
Writing code ... Error verifying address 0000 (0), written 78, read FF
.
.
.
Write interrupted
completed, 256 errors
Writing EEPROM ...
Exceeded maximum number of errors (256), write interrupted
completed, 0 errors
Writing FUSE area ... Error writing fuse: written E1, read FF
Error writing fuseH: written DD, read FF
completed, 2 errors
End (5.02 s) 258 errors
I checked and triple checked the extension as well as the main board for solder joints or other mistakes but nothing was found.
I tried using the small 8pin socket as well as the 28pin socket with pin 4 connected to GND... same error
I tested the hardware on the back of the main board with the extension atatched and all indicated voltages are where they should be (on pins 14-15-12-1-4 of U3)
The above fuses are set manually (they're also included in the hex file)
Where am I going wrong?
Did I miss something?
Last edit: Mitrofan Bitca Adrian Iulian 2015-06-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So
I have laying arround a 12F629 programmed long ago with a jdm programmer
Reading it got me to this:
Reading code ... completed
Reading CONFIG area ... completed
Reading EEPROM ... completed
ID0: 0x000F ID1: 0x000F
ID2: 0x000F ID3: 0x000F
DevID: 0x0F8B
12F629 rev11
Configuration word: 0x31D4
Regardless of the 'FF' missing, the ATTiny85 in circuit just works
The 'FF' missing, in my opinion, has to do something with the software reading/interpretation of hex end of the line since it is the only 'FF' missing (and the only one at the end of the line in the original hex file)
... Now ain't life beautifull? ... It all worked out in the end :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No problem with FF missing; memory is all 0xFF unless specified in a hex file line.
The save hex function will discard all 0xFF at the end of a line.
This has no effect on programming.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Open Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hello
I just build this programmmer and now I'm stuck with this issue
I'm trying to program this ATTiny85 smd pluged into an adapter and I'm getting this errors:
Regulator up and running after 0ms VPP=11.9V
Regulator up and running after 0ms VPP=11.9V
CHIP ID:FFFFFF
Unknown device
completed
Writing code ... Error verifying address 0000 (0), written 78, read FF
.
.
.
Write interrupted
completed, 256 errors
Writing EEPROM ...
Exceeded maximum number of errors (256), write interrupted
completed, 0 errors
Writing FUSE area ... Error writing fuse: written E1, read FF
Error writing fuseH: written DD, read FF
completed, 2 errors
End (5.02 s) 258 errors
I checked and triple checked the extension as well as the main board for solder joints or other mistakes but nothing was found.
I tried using the small 8pin socket as well as the 28pin socket with pin 4 connected to GND... same error
I tested the hardware on the back of the main board with the extension atatched and all indicated voltages are where they should be (on pins 14-15-12-1-4 of U3)
The above fuses are set manually (they're also included in the hex file)
Where am I going wrong?
Did I miss something?
Last edit: Mitrofan Bitca Adrian Iulian 2015-06-26
Just to double check, you are using the AVR adapter board for this?
If you have not already read this thread: http://sourceforge.net/p/openprogrammer/discussion/1096961/thread/9c8cea53/?limit=25#bc27
I have been able to program this chip with no problem. Have you been able to program anything else with your newly built programmer?
I have built three of these programmers and the second one always gave me a problem for reasons I could never figure out.
So
I have laying arround a 12F629 programmed long ago with a jdm programmer
Reading it got me to this:
Reading code ... completed
Reading CONFIG area ... completed
Reading EEPROM ... completed
ID0: 0x000F ID1: 0x000F
ID2: 0x000F ID3: 0x000F
DevID: 0x0F8B
12F629 rev11
Configuration word: 0x31D4
Code memory:
0000: 280C 3FFF 3FFF 3FFF 00A0 0803 00A1 0821 0083 0EA0 0E20 0009 1683 3086 0081 23FF
0010: 0090 1283 0185 2900 3032 00AA 30F9 1C2F 30E9 00AB 0000 0BAB 281A 0BAA 2816 3403
0020: 00A7 3048 2015 3004 00A8 082D 2045 00AC 09AC 3008 00A9 30FB 0065 3004 2015 0CAC
0030: 30F9 0085 1803 30FB 1C03 30F9 0065 3004 2015 0BA9 282F 30F9 0065 3008 2015 0AAD
0040: 0BA8 2825 0BA7 2821 3403 0782 3453 3443 3445 3449 3453 3443 3445 3441 3453 3443
0050: 3445 3445 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0100: 30C2 0062 30FF 0065 3028 00B0 2014 1085 30FD 0065 3011 00A7 2014 0BA7 290C 1105
0110: 30F9 0065 3006 00A7 2014 0BA7 2914 300E 2015 01AD 2020 0AAF 0BB0 2919 30FF 0065
0120: 2920 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
03F0: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 344B
EEPROM memory:
2100: 00 01 02 03 FF FF FF FF FF FF FF FF FF FF FF FF ................
End (1.36 s)
Writing the recalibration hex file:
http://picprojects.org.uk/projects/recal/recal.htm
Regulator up and running after 156ms VPP=13.4V
DevID: 0x0F8B
12F629 rev11
Erasing ... completed
Writing code ... completed, 0 errors
Writing CONFIG area ... completed, 0 errors
End (2.57 s) 0 errors
Verifying looks ok
So the main board seems to work just fine when programming the 12F629
Also doing the same programming with the 12-16-18/I2C EEPROM board is ok
I think there might be a problem with the (my) ATMEL extension board?
Unfortunately I don't have another Atmel chip to check this
Any thoughts?
I tried to program again the chip with OpenProg v0.9.0
Here's what happened:
Regulator up and running after 124ms VPP=12.5V
CHIP ID:1E930B
Atmel 8KB FlashUnknown device
completed
Writing code ... completed, 0 errors
Writing FUSE area ... completed, 0 errors
End (11.06 s) 0 errors
Then reading the chip:
Regulator up and running after 0ms VPP=11.8V
CHIP ID:FFFFFF
Unknown device
LOCK byte: 0xFF
FUSE byte: 0xFF
FUSE HIGH byte: 0xFF
Extended FUSE byte: 0xFF
Calibration byte: 0xFF
Reading code ... completed
Reading EEPROM ... completed
Code memory:
(empty)
EEPROM memory:
(empty)
End (17.36 s)
Come to think of it something like this happened once with OpenProg v0.9.1
Back again... I pressed on the chip/extension board and
Finaly I got this:
Regulator up and running after 0ms VPP=11.8V
CHIP ID:1E930B
Atmel 8KB FlashUnknown device
LOCK byte: 0xFF
FUSE byte: 0xE1
FUSE HIGH byte: 0xDD
Extended FUSE byte: 0xFF
Calibration byte: 0x48
Reading code ... completed
Reading EEPROM ... completed
So it's a contact issue and I'll have to resolder everything
But another problem appeared when verifying the chip:
Original:
:100130008BB780648BBF8BE480939F008AE58093AC
:100140009E0008951F93DC01162F80919E0084FF6E
:1001500007C080919F0098E8892780939F0003C083
Read from chip:
:100130008BB780648BBF8BE480939F008AE58093AC
:0F0140009E0008951F93DC01162F80919E00846E
:1001500007C080919F0098E8892780939F0003C083
Last edit: Mitrofan Bitca Adrian Iulian 2015-06-27
Regardless of the 'FF' missing, the ATTiny85 in circuit just works
The 'FF' missing, in my opinion, has to do something with the software reading/interpretation of hex end of the line since it is the only 'FF' missing (and the only one at the end of the line in the original hex file)
... Now ain't life beautifull? ... It all worked out in the end :)
I am glad your chip worked. I have not used my programmer for quite some time so I cannot give you much help beyond what I already have.
No problem with FF missing; memory is all 0xFF unless specified in a hex file line.
The save hex function will discard all 0xFF at the end of a line.
This has no effect on programming.