Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15317

Error message after upload to LGT8F328p

$
0
0

Hi,
like topic say, i get a error message if i upload a sketch ( no matter which, also with the Blink from examples ) to the board.
The upload itself works ( also the Sketch at the board works ), only the verifying after the upload fails.
Here the message :

FQBN: lgt8fx:avr:328:clock_div=2
Using board '328' from platform in folder: /home/herbk/.arduino15/packages/lgt8fx/hardware/avr/2.0.7
Using core 'lgt8f' from platform in folder: /home/herbk/.arduino15/packages/lgt8fx/hardware/avr/2.0.7

Verwendete Bibliotheken erkennen ...
/home/herbk/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DSERIAL_RX_BUFFER_SIZE=64 -DCLOCK_SOURCE=1 -DF_CPU=(32000000L/2) -DF_OSC=32000000L -DF_DIV=2 -DARDUINO=10607 -DARDUINO_AVR_LARDU_328E -DARDUINO_ARCH_AVR -I/home/herbk/.arduino15/packages/lgt8fx/hardware/avr/2.0.7/cores/lgt8f -I/home/herbk/.arduino15/packages/lgt8fx/hardware/avr/2.0.7/variants/lgt8fx8p /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/sketch/Blink.ino.cpp -o /dev/null
Funktionsprototypen werden generiert ...
/home/herbk/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DSERIAL_RX_BUFFER_SIZE=64 -DCLOCK_SOURCE=1 -DF_CPU=(32000000L/2) -DF_OSC=32000000L -DF_DIV=2 -DARDUINO=10607 -DARDUINO_AVR_LARDU_328E -DARDUINO_ARCH_AVR -I/home/herbk/.arduino15/packages/lgt8fx/hardware/avr/2.0.7/cores/lgt8f -I/home/herbk/.arduino15/packages/lgt8fx/hardware/avr/2.0.7/variants/lgt8fx8p /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/sketch/Blink.ino.cpp -o /tmp/1474806754/sketch_merged.cpp
/home/herbk/.arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/1474806754/sketch_merged.cpp
Sketch wird kompiliert ...
/home/herbk/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DSERIAL_RX_BUFFER_SIZE=64 -DCLOCK_SOURCE=1 -DF_CPU=(32000000L/2) -DF_OSC=32000000L -DF_DIV=2 -DARDUINO=10607 -DARDUINO_AVR_LARDU_328E -DARDUINO_ARCH_AVR -I/home/herbk/.arduino15/packages/lgt8fx/hardware/avr/2.0.7/cores/lgt8f -I/home/herbk/.arduino15/packages/lgt8fx/hardware/avr/2.0.7/variants/lgt8fx8p /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/sketch/Blink.ino.cpp -o /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/sketch/Blink.ino.cpp.o
Bibliotheken werden kompiliert ...
Kern wird kompiliert ...
Using precompiled core: /tmp/arduino/cores/bdd46a5c288dd1e6ddefc0f351178ff3/core.a
Linking everything together...
/home/herbk/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.elf /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/sketch/Blink.ino.cpp.o /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/../../cores/bdd46a5c288dd1e6ddefc0f351178ff3/core.a -L/tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8 -lm
/home/herbk/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.elf /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.eep
/home/herbk/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy -O ihex -R .eeprom /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.elf /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.hex

/home/herbk/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-size -A /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.elf
Der Sketch verwendet 1120 Bytes (3%) des Programmspeicherplatzes. Das Maximum sind 29696 Bytes.
Globale Variablen verwenden 9 Bytes (0%) des dynamischen Speichers, 2039 Bytes für lokale Variablen verbleiben. Das Maximum sind 2048 Bytes.
"/home/herbk/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude" "-C/home/herbk/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" -v  -patmega328p -carduino "-P/dev/ttyUSB0" -b57600 -D "-Uflash:w:/tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.hex:i"

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/home/herbk/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
         User configuration file is "/home/herbk/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         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  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 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 : Arduino
         Description     : Arduino
         Hardware Version: 3
         Firmware Version: 5.0
         Vtarget         : 0.3 V
         Varef           : 0.3 V
         Oscillator      : 28.800 kHz
         SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "/tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.hex"
avrdude: writing flash (1120 bytes):

Writing | ################################################## | 100% 0.33s

avrdude: 1120 bytes of flash written
avrdude: verifying flash memory against /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.hex:
avrdude: load data flash data from input file /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.hex:
avrdude: input file /tmp/arduino/sketches/889BF4E75EC16EF476E261D59382F1F8/Blink.ino.hex contains 1120 bytes
avrdude: reading on-chip flash data:

Reading | avrdude: stk500_recv(): programmer is not responding
#####avrdude: stk500_recv(): programmer is not responding
avr_read(): error reading address 0x0000
    read operation not supported for memory "flash"
avrdude: failed to read all of flash memory, rc=-2
avrdude: stk500_recv(): programmer is not responding

avrdude done.  Thank you.

Fehlgeschlagenes Hochladen: Hochladefehler: exit status 1

The error is only at IDE 2.3.x (versions before i don't remember), at 1.8.19 verifying works well.

Btw.: I'm on Linux, OpenSuse Tumbleweed, KDE

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 15317

Trending Articles