You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now using the newly flashed usbasp (v1.11) to flash the other (v1.02) I get
make flash
avrdude -c usbasp -p atmega8 -P usb -U flash:w:main.hex:i -U eeprom:w:main.eep.hex:i
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9307 (probably m8)
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 "main.hex"
avrdude: writing flash (3940 bytes):
Writing | | 0% 0.00savrdude: error: usbasp_transmit: error sending control message: Value too large for defined data type
avrdude: error: wrong count at writing ffffffff
Writing | ################################################## | 100% 3.44s
avrdude: 3940 bytes of flash written
avrdude: verifying flash memory against main.hex:
avrdude: load data flash data from input file main.hex:
avrdude: input file main.hex contains 3940 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.22s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x00 != 0x9b
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK (E:FF, H:D9, L:9F)
avrdude done. Thank you.
make: *** [Makefile:97: flash] Error
UPS - now I have two dysfunctional usbasp devices ;-(
The output of make without arguments is:
make
Usage: make same as make help
make help same as make
make main.hex create main.hex
make clean remove redundant data
make disasm disasm main
make flash upload main.hex into flash
make fuses program fuses
make avrdude test avrdude
Current values:
TARGET=atmega8
LFUSE=0xDF
HFUSE=0xC9
CLOCK=12000000
TPI=Off
HIDUART=Off
ISP=usbasp
PORT=usb
So I checkout v1.08 (commit 8f4beb0 by Nerd Ralph - Mar 24 2021)
This works as expected, and fixes my initial problem which was reading atmega2560 with an usbasp.
If you discover what was wrong I would be happy to give it a try.
Best Regards StorePeter
The text was updated successfully, but these errors were encountered:
using: Ubuntu-22.04, with avrdude 6.3-20171130
Flashed one usbasp (atmega8) with another usbasp (v1.02), this went fine,
When I plug this new usbasp-1.11 into an USB port I get this:
so the USB side seems to work.
Now using the newly flashed usbasp (v1.11) to flash the other (v1.02) I get
UPS - now I have two dysfunctional usbasp devices ;-(
The output of make without arguments is:
So I checkout v1.08 (commit 8f4beb0 by Nerd Ralph - Mar 24 2021)
This works as expected, and fixes my initial problem which was reading atmega2560 with an usbasp.
If you discover what was wrong I would be happy to give it a try.
Best Regards StorePeter
The text was updated successfully, but these errors were encountered: