View Single Post
Old 01-13-2017, 01:33 PM   #23 (permalink)
josemapiro
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 69 Times in 64 Posts
Hi t vago
Quote:
Originally Posted by t vago View Post
I did make a couple of corrections. One was with the labels on your microseconds/gal section, and the other was with your SI correction factor section.
Thank you for the correction.

This new version also has the same problem, the compilation is done without errors when it starts to send it is slow and does not send.
This is the information it shows.
Code:
Arduino: 1.8.0 (Windows 10), Placa:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

E:\arduino-1.8.0-windows\arduino-1.8.0\arduino-builder -dump-prefs -logger=machine -hardware E:\arduino-1.8.0-windows\arduino-1.8.0\hardware -tools E:\arduino-1.8.0-windows\arduino-1.8.0\tools-builder -tools E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr -built-in-libraries E:\arduino-1.8.0-windows\arduino-1.8.0\libraries -libraries C:\Users\josem\OneDrive\Documentos\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10800 -build-path C:\Users\josem\AppData\Local\Temp\arduino_build_882241 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr -verbose C:\Users\josem\Desktop\MPGuino.ino\MPGuino.ino.ino
E:\arduino-1.8.0-windows\arduino-1.8.0\arduino-builder -compile -logger=machine -hardware E:\arduino-1.8.0-windows\arduino-1.8.0\hardware -tools E:\arduino-1.8.0-windows\arduino-1.8.0\tools-builder -tools E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr -built-in-libraries E:\arduino-1.8.0-windows\arduino-1.8.0\libraries -libraries C:\Users\josem\OneDrive\Documentos\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10800 -build-path C:\Users\josem\AppData\Local\Temp\arduino_build_882241 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr -verbose C:\Users\josem\Desktop\MPGuino.ino\MPGuino.ino.ino
Using board 'mega' from platform in folder: E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\arduino\avr
Using core 'arduino' from platform in folder: E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\arduino\avr
Detecting libraries used...
"E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\arduino-1.8.0-windows\arduino-1.8.0\hardware\arduino\avr\cores\arduino" "-IE:\arduino-1.8.0-windows\arduino-1.8.0\hardware\arduino\avr\variants\mega" "C:\Users\josem\AppData\Local\Temp\arduino_build_882241\sketch\MPGuino.ino.ino.cpp" -o "nul"
Generating function prototypes...
"E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\arduino-1.8.0-windows\arduino-1.8.0\hardware\arduino\avr\cores\arduino" "-IE:\arduino-1.8.0-windows\arduino-1.8.0\hardware\arduino\avr\variants\mega" "C:\Users\josem\AppData\Local\Temp\arduino_build_882241\sketch\MPGuino.ino.ino.cpp" -o "C:\Users\josem\AppData\Local\Temp\arduino_build_882241\preproc\ctags_target_for_gcc_minus_e.cpp"
"E:\arduino-1.8.0-windows\arduino-1.8.0\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\josem\AppData\Local\Temp\arduino_build_882241\preproc\ctags_target_for_gcc_minus_e.cpp"
A compilar o rascunho...
"E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\arduino-1.8.0-windows\arduino-1.8.0\hardware\arduino\avr\cores\arduino" "-IE:\arduino-1.8.0-windows\arduino-1.8.0\hardware\arduino\avr\variants\mega" "C:\Users\josem\AppData\Local\Temp\arduino_build_882241\sketch\MPGuino.ino.ino.cpp" -o "C:\Users\josem\AppData\Local\Temp\arduino_build_882241\sketch\MPGuino.ino.ino.cpp.o"
Compiling libraries...
Compiling core...
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\wiring_pulse.S.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\WInterrupts.c.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\hooks.c.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\wiring.c.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\wiring_analog.c.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\wiring_digital.c.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\wiring_pulse.c.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\wiring_shift.c.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\CDC.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\HardwareSerial.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\HardwareSerial0.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\HardwareSerial1.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\HardwareSerial2.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\HardwareSerial3.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\IPAddress.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\PluggableUSB.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\Print.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\Stream.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\Tone.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\USBCore.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\WMath.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\WString.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\abi.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\main.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\new.cpp.o
A usar o ficheiro previamente compilado: C:\Users\josem\AppData\Local\Temp\arduino_build_882241\core\core.a
Linking everything together...
"E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560  -o "C:\Users\josem\AppData\Local\Temp\arduino_build_882241/MPGuino.ino.ino.elf" "C:\Users\josem\AppData\Local\Temp\arduino_build_882241\sketch\MPGuino.ino.ino.cpp.o" "C:\Users\josem\AppData\Local\Temp\arduino_build_882241/core\core.a" "-LC:\Users\josem\AppData\Local\Temp\arduino_build_882241" -lm
"E:\arduino-1.8.0-windows\arduino-1.8.0\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\josem\AppData\Local\Temp\arduino_build_882241/MPGuino.ino.ino.elf" "C:\Users\josem\AppData\Local\Temp\arduino_build_882241/MPGuino.ino.ino.eep"
"E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom  "C:\Users\josem\AppData\Local\Temp\arduino_build_882241/MPGuino.ino.ino.elf" "C:\Users\josem\AppData\Local\Temp\arduino_build_882241/MPGuino.ino.ino.hex"
O rascunho usa 22174 bytes (8%) do espaço de armazenamento do programa. O máximo é 253952 bytes.
Variáveis globais usam 1286 bytes (15%) de memória dinâmica, restando 6906 bytes para variáveis locais. O maximo é 8192 bytes.
E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr/bin/avrdude -CE:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM4 -b115200 -D -Uflash:w:C:\Users\josem\AppData\Local\Temp\arduino_build_882241/MPGuino.ino.ino.hex:i 

avrdude: Version 6.3, compiled on Dec 16 2016 at 13:33:19
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "E:\arduino-1.8.0-windows\arduino-1.8.0\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM4
         Using Programmer              : wiring
         Overriding Baud Rate          : 115200
         AVR Part                      : ATmega2560
         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    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
           flash         65    10   256    0 yes    262144  256   1024  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 : Wiring
         Description     : Wiring
         Programmer Model: AVRISP
         Hardware Version: 15
         Firmware Version Master : 2.10
         Vtarget         : 0.0 V
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: reading input file "C:\Users\josem\AppData\Local\Temp\arduino_build_882241/MPGuino.ino.ino.hex"
avrdude: writing flash (22174 bytes):

Writing | #####avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x13
avrdude: stk500v2_paged_write: write command failed
#avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
Ocorreu um erro a enviar o rascunho
Thanks
José Rodrigues

Last edited by josemapiro; 01-13-2017 at 01:39 PM..
  Reply With Quote