For the last 8 hours I was awake I've been trying to flash my Dual Power B6AC 80W charger. At first I tried flashing it using my usbasp, but it seamed out of date and I tried updating it, and might have bricked it by now.
Last thing I tried was using a arduino leonardo clone (which is a 100% perfectly working one) to flash it. I've verified I got the correct FW and no wrong bits in the hex etc. but it's still corrupted/broken: ERROR: address 0x2010 out of range at line 513 of test.hex
sudo avrdude -c avrisp -P /dev/ttyACM0 -p atmega8 -F -Uflash:w:test.hex:a -u -v -v
[sudo] password for frog:
avrdude: Version 6.3, compiled on Nov 6 2016 at 21:45:03
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : avrisp
Chip Erase delay : 10000 us
RESET disposition : dedicated
serial program mode : yes
parallel program mode : yes
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 4 20 128 0 no 512 4 0 9000 9000 0xff 0xff
flash 33 10 64 0 yes 8192 64 128 4500 4500 0xff 0x00
lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Description : Atmel AVR ISP
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9502 (probably m32)
avrdude: Expected signature for ATmega8 is 1E 93 07
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: reading input file "test.hex"
avrdude: input file test.hex auto detected as Intel Hex
avrdude: ERROR: address 0x2010 out of range at line 513 of test.hex
avrdude: read from file 'test.hex' failed