I have bricked Linkit 7688 duo

Moderators: lily.li, violet, salmanfarisvp

Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Fri Jul 05, 2019 4:06 am

I have bricked Linkit 7688 duo , not able to flash anything Always gives avrdude content mismatch error. I already posted my problem on YouTube and also on seeds tech support. But no response.

Kindly help, i tried all solution. Reflashing bootloader with usbasp and also with Atmel ICE. But same error

I am waiting for reply

Seeed Tech Support
Pre-kindergarten
Pre-kindergarten
Posts: 0
Joined: Mon Jun 03, 2019 10:51 am

Post by Seeed Tech Support » Fri Jul 05, 2019 10:01 am

Hi there~,

Please follow Updating Arduino Bootloader to fix the avr chip bootloader issue. 



If the issue is not solved, Please post the avrdude content mismatch error in text format.   

Thanks

best rgds
Bill


Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Fri Jul 05, 2019 11:12 am

Hi Seeed_support
I told, i already followed this guide to flash bootloader from internal
linux.
But there also flashing occurs good getting verification error .

My atmega32u4 fuse setting is
FF D8 CE and lock bit some time 3F sometime FF

What is the reason for verification error.

Please explain me

Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Fri Jul 05, 2019 5:28 pm

Hi
I tried but not good luck. Even I selected Leonardo board in Arduino didn't
work. Then I modified board file of linkit Arduino package. And changed
*extended_**fuses to CB* from CE, but didn't work.
Tried flashing basic blink code getting always this error

[image: image.png]

then even I tried flashing bootloader with Arduino other tools like USBASP
and atmel ICE.
same content mismatch error comes always. I am not understanding why
suddenly got brick and now what is reason of mismatch. Please can you
explain.

Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Sun Jul 07, 2019 3:41 am

Hi i am waiting for your response. Please let me know what is the reason
for content mismatch. And how i can fix it
Regards
Suman

Seeed Tech Support
Pre-kindergarten
Pre-kindergarten
Posts: 0
Joined: Mon Jun 03, 2019 10:51 am

Post by Seeed Tech Support » Mon Jul 08, 2019 10:11 am

Hi Suman,  

We will burn the firmware to 7688 duo today and keep  you posted. 

Thanks

best rgds
Bill

Seeed Tech Support
Pre-kindergarten
Pre-kindergarten
Posts: 0
Joined: Mon Jun 03, 2019 10:51 am

Post by Seeed Tech Support » Mon Jul 08, 2019 2:52 pm

Hi 

Suman,

We tested with below hardware connection and software configuration. It works with blinking code. 








C:Program Files (x86)Arduinoarduino-builder -dump-prefs -logger=machine -hardware C:Program Files (x86)Arduinohardware -hardware C:Usersxyu6AppDataLocalArduino15packages -tools C:Program Files (x86)Arduino ools-builder -tools C:Program Files (x86)Arduinohardware oolsavr -tools C:Usersxyu6AppDataLocalArduino15packages -built-in-libraries C:Program Files (x86)Arduinolibraries -libraries C:Usersxyu6DocumentsArduinolibraries -fqbn=LinkIt:avr:smart7688 -vid-pid=0X0E8D_0XAB00 -ide-version=10809 -build-path C:Usersxyu6AppDataLocalTemparduino_build_486811 -warnings=none -build-cache C:Usersxyu6AppDataLocalTemparduino_cache_108748 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:Program Files (x86)Arduinohardware oolsavr -prefs=runtime.tools.avrdude-6.0.1-arduino5.path=C:Usersxyu6AppDataLocalArduino15packagesarduino oolsavrdude6.0.1-arduino5 -prefs=runtime.tools.avr-gcc.path=C:Program Files (x86)Arduinohardware oolsavr -prefs=runtime.tools.avr-gcc-4.8.1-arduino5.path=C:Usersxyu6AppDataLocalArduino15packagesarduino oolsavr-gcc4.8.1-arduino5 -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:Program Files (x86)Arduinohardware oolsavr -prefs=runtime.tools.arduinoOTA.path=C:Program Files (x86)Arduinohardware oolsavr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:Program Files (x86)Arduinohardware oolsavr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:Program Files (x86)Arduinohardware oolsavr -verbose C:Usersxyu6AppDataLocalTemparduino_modified_sketch_138378Blink.ino
C:Program Files (x86)Arduinoarduino-builder -compile -logger=machine -hardware C:Program Files (x86)Arduinohardware -hardware C:Usersxyu6AppDataLocalArduino15packages -tools C:Program Files (x86)Arduino ools-builder -tools C:Program Files (x86)Arduinohardware oolsavr -tools C:Usersxyu6AppDataLocalArduino15packages -built-in-libraries C:Program Files (x86)Arduinolibraries -libraries C:Usersxyu6DocumentsArduinolibraries -fqbn=LinkIt:avr:smart7688 -vid-pid=0X0E8D_0XAB00 -ide-version=10809 -build-path C:Usersxyu6AppDataLocalTemparduino_build_486811 -warnings=none -build-cache C:Usersxyu6AppDataLocalTemparduino_cache_108748 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:Program Files (x86)Arduinohardware oolsavr -prefs=runtime.tools.avrdude-6.0.1-arduino5.path=C:Usersxyu6AppDataLocalArduino15packagesarduino oolsavrdude6.0.1-arduino5 -prefs=runtime.tools.avr-gcc.path=C:Program Files (x86)Arduinohardware oolsavr -prefs=runtime.tools.avr-gcc-4.8.1-arduino5.path=C:Usersxyu6AppDataLocalArduino15packagesarduino oolsavr-gcc4.8.1-arduino5 -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:Program Files (x86)Arduinohardware oolsavr -prefs=runtime.tools.arduinoOTA.path=C:Program Files (x86)Arduinohardware oolsavr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:Program Files (x86)Arduinohardware oolsavr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:Program Files (x86)Arduinohardware oolsavr -verbose C:Usersxyu6AppDataLocalTemparduino_modified_sketch_138378Blink.ino
Using board 'smart7688' from platform in folder: C:Usersxyu6AppDataLocalArduino15packagesLinkIthardwareavr.1.8
Using core 'arduino' from platform in folder: C:Program Files (x86)Arduinohardwarearduinoavr
WARNING: Category 'Device' in library Music Shield is not valid. Setting to 'Uncategorized'
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_LINKITSMART7688 -DARDUINO_ARCH_AVR -DUSB_VID=0x0E8D -DUSB_PID=0xAB01 "-DUSB_MANUFACTURER="MediaTek Labs"" "-DUSB_PRODUCT="LinkIt Smart 7688 Duo"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Users\xyu6\AppData\Local\Arduino15\packages\LinkIt\hardware\avr\0.1.8\variants\smart7688" "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811\sketch\Blink.ino.cpp" -o nul
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_LINKITSMART7688 -DARDUINO_ARCH_AVR -DUSB_VID=0x0E8D -DUSB_PID=0xAB01 "-DUSB_MANUFACTURER="MediaTek Labs"" "-DUSB_PRODUCT="LinkIt Smart 7688 Duo"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Users\xyu6\AppData\Local\Arduino15\packages\LinkIt\hardware\avr\0.1.8\variants\smart7688" "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811\sketch\Blink.ino.cpp" -o "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10809 -DARDUINO_AVR_LINKITSMART7688 -DARDUINO_ARCH_AVR -DUSB_VID=0x0E8D -DUSB_PID=0xAB01 "-DUSB_MANUFACTURER="MediaTek Labs"" "-DUSB_PRODUCT="LinkIt Smart 7688 Duo"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Users\xyu6\AppData\Local\Arduino15\packages\LinkIt\hardware\avr\0.1.8\variants\smart7688" "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811\sketch\Blink.ino.cpp" -o "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811\sketch\Blink.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:Usersxyu6AppDataLocalTemparduino_cache_108748corecore_LinkIt_avr_smart7688_0c812875ac70eb4a9b385d8fb077f54c.a
Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -Wl,--gc-sections -mmcu=atmega32u4 -o "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811/Blink.ino.elf" "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811\sketch\Blink.ino.cpp.o" "C:\Users\xyu6\AppData\Local\Temp\arduino_cache_108748\core\core_LinkIt_avr_smart7688_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\Users\xyu6\AppData\Local\Temp\arduino_build_486811" -lm
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811/Blink.ino.elf" "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811/Blink.ino.eep"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811/Blink.ino.elf" "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811/Blink.ino.hex"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-size" -A "C:\Users\xyu6\AppData\Local\Temp\arduino_build_486811/Blink.ino.elf"
Sketch uses 4542 bytes (15%) of program storage space. Maximum is 28672 bytes.
Global variables use 150 bytes of dynamic memory.
Forcing reset using 1200bps open/close on port COM96
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
PORTS {COM69, COM70, COM96, } / {COM69, COM70, COM96, } => {}
Uploading using selected port: COM96
C:Program Files (x86)Arduinohardware oolsavr/bin/avrdude -CC:Usersxyu6AppDataLocalArduino15packagesLinkIthardwareavr.1.8/avrdude.conf -v -patmega32u4 -cavr109 -PCOM96 -b57600 -D -Uflash:w:C:Usersxyu6AppDataLocalTemparduino_build_486811/Blink.ino.hex:i

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:Usersxyu6AppDataLocalArduino15packagesLinkIthardwareavr.1.8/avrdude.conf"

        Using Port                   : COM96
        Using Programmer             : avr109
        Overriding Baud Rate         : 57600
        AVR Part                     : ATmega32U4
        Chip Erase delay             : 9000 us
        PAGEL                       : PD7
        BS2                         : PA0
        RESET disposition           : dedicated
        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   20   4   0 no     1024   4     0 9000 9000 0x00 0x00
          flash       65   6 128   0 yes   32768 128   256 4500 4500 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
          lock         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
          signature     0   0   0   0 no         3   0     0   0   0 0x00 0x00

        Programmer Type : butterfly
        Description   : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
    Device code: 0x44

avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9587 (probably m32u4)
avrdude: reading input file "C:Usersxyu6AppDataLocalTemparduino_build_486811/Blink.ino.hex"
avrdude: writing flash (4542 bytes):

Writing | ################################################## | 100% 0.37s

avrdude: 4542 bytes of flash written
avrdude: verifying flash memory against C:Usersxyu6AppDataLocalTemparduino_build_486811/Blink.ino.hex:
avrdude: load data flash data from input file C:Usersxyu6AppDataLocalTemparduino_build_486811/Blink.ino.hex:
avrdude: input file C:Usersxyu6AppDataLocalTemparduino_build_486811/Blink.ino.hex contains 4542 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.07s

avrdude: verifying ...
avrdude: 4542 bytes of flash verified

avrdude done. Thank you.


Thanks

best rgds
Bill



Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Mon Jul 08, 2019 4:21 pm

But how my board will get fix. Please explain me how to fix.

Seeed Tech Support
Pre-kindergarten
Pre-kindergarten
Posts: 0
Joined: Mon Jun 03, 2019 10:51 am

Post by Seeed Tech Support » Mon Jul 08, 2019 4:28 pm

Hi

Suman~

1. Please follow my hardware connection and software configuration to burn the bootloader.

2. If you can not solve it, please provide the detail step by step process, appreciate if you could include the pictures about the hardware connection, as well as your software configuration. So we can help solve the issue. 

Program fuse is 0XCED8FF.


smart7688.bootloader.low_fuses=0xff
smart7688.bootloader.high_fuses=0xd8
smart7688.bootloader.extended_fuses=0xce
smart7688.bootloader.unlock_bits=0x3F
smart7688.bootloader.lock_bits=0x2F 


Thanks

best rgds
Bill


Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Tue Jul 09, 2019 2:13 am

In hardware connection i can see only five wires. You are using USBASP i
guess. Is it without reset wire ?

And fuse setting what you sent is a default one only ?

Post Reply