Closed avrs-admin closed 2 years ago
Maybe someone with the Tiny40 can test this to see if this is still an issue or not.
I have a bunch of AT42QT2120 touch chips at work that is just ATtiny40's with some secret sauce Qtouch firmware. I'll see if I can connect a programmer to the right pins and flash something to it.
I can confirm that the attached hex file (file #32598: attiny40-test.hex) can be written and verified just fine:
$ ./avrdude -c usbasp -v -p attiny40 -Uflash:w:/Users/hans/Downloads/attiny40-test.hex:i
avrdude: Version 6.99-20211218
Copyright (c) Brian Dean, http://www.bdmicro.com/
Copyright (c) Joerg Wunsch
System wide configuration file is "/Users/hans/Downloads/avrdude/src/avrdude.conf"
User configuration file is "/Users/hans/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : usb
Using Programmer : usbasp
AVR Part : ATtiny40
RESET disposition : dedicated
RETRY pulse : SCK
Serial program mode : yes
Parallel program mode : yes
Memory Detail :
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
signature 0 0 0 0 no 3 16 0 0 0 0x00 0x00
fuse 0 0 4 0 no 1 16 0 0 0 0x00 0x00
calibration 0 0 0 0 no 1 16 0 0 0 0x00 0x00
lockbits 0 0 0 0 no 1 16 0 0 0 0x00 0x00
flash 0 0 128 0 no 4096 64 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e920e (probably t40)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "/Users/hans/Downloads/attiny40-test.hex"
avrdude: writing flash (70 bytes):
Writing | ################################################## | 100% 0.25s
avrdude: 70 bytes of flash written
avrdude: verifying flash memory against /Users/hans/Downloads/attiny40-test.hex:
Reading | ################################################## | 100% 0.05s
avrdude: 70 bytes of flash verified
avrdude done. Thank you.
apzax
Fri 05 Dec 2014 11:36:58 AM UTC
When I program Attiny40, I get a verification error
-- Best regards
file #32598: attiny40-test.hex
This issue was migrated from https://savannah.nongnu.org/bugs/?43758