MembersPage/MarteleurTim/BmwS (2020-12-23 08:30:50)

Engine:

6cyl inline COP

Primary trigger = VR

Secondary trigger = VR

Vems wireloom with relays and fuses

Firmware 1.1.91

Problem

I tried to upgrade the bootloader by using the Isp cable from the webshop and the Avr pocket programmer. The lock failed 0x3c ! = 0x2c

What can I do next to solve this?

This is the result:

Microsoft Windows [versie 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. Alle rechten voorbehouden.

C:\Users\Timmo6>c C:\>avrdude -c usbtiny -p m128 -U lfuse:w:0x2f:m -U hfuse:w:0xc4:m -U efuse:w:0x ff:m -U lock:w:0x3c:m

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x1e9702

avrdude: current erase-rewrite cycle count is -50462977 (if being tracked)

avrdude: reading input file "0x2f"

avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of lfuse written

avrdude: verifying lfuse memory against 0x2f:

avrdude: load data lfuse data from input file 0x2f:

avrdude: input file 0x2f contains 1 bytes

avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...

avrdude: 1 bytes of lfuse verified

avrdude: reading input file "0xc4"

avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of hfuse written

avrdude: verifying hfuse memory against 0xc4:

avrdude: load data hfuse data from input file 0xc4:

avrdude: input file 0xc4 contains 1 bytes

avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...

avrdude: 1 bytes of hfuse verified

avrdude: reading input file "0xff"

avrdude: writing efuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of efuse written

avrdude: verifying efuse memory against 0xff:

avrdude: load data efuse data from input file 0xff:

avrdude: input file 0xff contains 1 bytes

avrdude: reading on-chip efuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...

avrdude: 1 bytes of efuse verified

avrdude: reading input file "0x3c"

avrdude: writing lock (1 bytes):

Writing | | 0% 0.00s ***faile

d;

Writing | ################################################## | 100% 0.08s

avrdude: 1 bytes of lock written

avrdude: verifying lock memory against 0x3c:

avrdude: load data lock data from input file 0x3c:

avrdude: input file 0x3c contains 1 bytes

avrdude: reading on-chip lock data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...

avrdude: verification error, first mismatch at byte 0x0000

0x3c != 0x2c

avrdude: verification error; content mismatch

avrdude: safemode: Fuses OK

avrdude done. Thank you.