Hi Guys
Well, its happened yet again!
I have a (well, around 50 actually) ATTiny 841 based boards I had produced around 4 or 5 years ago. Initially I had problems setting the internal clock fuse and various upload problems
(see
here and
here)
After some investigation, DrAzzy sorted it all out for me and everything was just fine. Cue a year or so on and I've now got a repeat of the same problems it seems.
Using IDE Rev 1.8.9.
Attempting to set the internal clock to 8mHz internal (IDE settings as attached ClockSet.jpg) I get the following error message:
Error Message = Arduino: 1.8.9 (Windows 10), Board: "ATtiny441/841 (No bootloader), ATtiny841, Disabled, 8 MHz (internal), EEPROM retained, B.O.D. Enabled (1.8v), B.O.D. Disabled, B.O.D. Disabled, Counterclockwise (like old ATTinyCore and Rev. C boards), Master Only"
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Users\Bernie\Documents\Arduino\hardware\ATTinyCore\avr/avrdude.conf -v -pattiny841 -cstk500v1 -PCOM4 -b19200 -e -Uefuse:w:0b11111110:m -Uhfuse:w:0b11010110:m -Ulfuse:w:0xE2:m
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\Bernie\Documents\Arduino\hardware\ATTinyCore\avr/avrdude.conf"
Using Port : COM4
Using Programmer : stk500v1
Overriding Baud Rate : 19200
Setting bit clk period : 5.0
AVR Part : ATtiny841
Chip Erase delay : 15000 us
PAGEL : P00
BS2 : P00
RESET disposition : possible i/o
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 6 4 0 no 512 4 0 4000 4500 0xff 0xff
flash 65 12 32 0 yes 8192 16 512 4500 4500 0xff 0xff
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: stk500_recv(): programmer is not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
Error while burning bootloader.
and trying to upload the sketch (same IDE settings), I get the same error message.
The file usage part of the error message is too big to place in this post so I've attached it as Files.txt in case it casts any light on the problem.
To me, the error message means there is a wiring fault, but I have triple checked every connection and each one (Vcc, MISO, CLK. MOSI, SCK and Reset) has a good connection from the UNO I'm using as ISP to the target board.
Any thoughts as to what else other than physical connections may be the issue here?
Bernie