WeatherDuino Forum
RX V5 upload error - Printable Version

+- WeatherDuino Forum (https://www.meteocercal.info/forum)
+-- Forum: Weather Stations - WeatherDuino Pro2 Line (https://www.meteocercal.info/forum/forum-4.html)
+--- Forum: Software Questions (https://www.meteocercal.info/forum/forum-10.html)
+--- Thread: RX V5 upload error (/thread-1306.html)

Pages: 1 2 3


RE: RX V5 upload error - Barrow4491 - 21-01-2018

(20-01-2018, 05:21)Werk_AG Wrote:  Jim, the compiler output on your previous post is from the TX software compilation. Is the upload problem with the TX or with the RX software?
When changing compiling for the Nano to the Mega, check if you don't have to change the com port.

Werk,
Sorry I attached the wrong code. I am suspending the upgrade until I resolve the UV issue
Thanks
Jim


RE: RX V5 upload error - Barrow4491 - 21-01-2018

Werk,
I have upgraded my spare Tx with V5 and all good. I will swap it out when I get the Rx sorted.
I tried to upload to my spare Rx but the compile aborted
Code:
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\JBA\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path C:\Users\JBA\AppData\Local\Temp\arduino_build_14249 -warnings=none -build-cache C:\Users\JBA\AppData\Local\Temp\arduino_cache_937216 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Users\JBA\Documents\Arduino\WeatherDuino_Pro2_PLUS\v5.0\software\RX software\WeatherDuinoPro2Plus_RX_v500_b002_21012018\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino
C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\JBA\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path C:\Users\JBA\AppData\Local\Temp\arduino_build_14249 -warnings=none -build-cache C:\Users\JBA\AppData\Local\Temp\arduino_cache_937216 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Users\JBA\Documents\Arduino\WeatherDuino_Pro2_PLUS\v5.0\software\RX software\WeatherDuinoPro2Plus_RX_v500_b002_21012018\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino
Using board 'mega' from platform in folder: C:\Program Files\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files\Arduino\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=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino.cpp" -o "nul"
"C:\Program Files\Arduino\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=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\JBA\Documents\Arduino\libraries\Timezone\src" "C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino.cpp" -o "nul"
"C:\Program Files\Arduino\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=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\JBA\Documents\Arduino\libraries\Timezone\src" "-IC:\Users\JBA\Documents\Arduino\libraries\Time" "C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino.cpp" -o "nul"
"C:\Program Files\Arduino\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=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\JBA\Documents\Arduino\libraries\Timezone\src" "-IC:\Users\JBA\Documents\Arduino\libraries\Time" "C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino.cpp" -o "C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\JBA\Documents\Arduino\WeatherDuino_Pro2_PLUS\v5.0\software\RX software\WeatherDuinoPro2Plus_RX_v500_b002_21012018\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino:41:0:

C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\Config_RX_Pro2PLUS.h:44:126: fatal error: _lang/en_GB.h: No such file or directory

#include "_lang/en_GB.h"      // Change the language code according to your preference. Keep "_lang/" and the ".h" at the end

                                                                                                                             ^

compilation terminated.

Using library Timezone at version 1.1.1 in folder: C:\Users\JBA\Documents\Arduino\libraries\Timezone
Using library Time at version 1.5 in folder: C:\Users\JBA\Documents\Arduino\libraries\Time
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

Regards
Jim


RE: RX V5 upload error - Barrow4491 - 21-01-2018

(20-01-2018, 05:21)Werk_AG Wrote:  Jim, the compiler output on your previous post is from the TX software compilation. Is the upload problem with the TX or with the RX software?
When changing compiling for the Nano to the Mega, check if you don't have to change the com port.

Werk,
Re version 5 upgrade
I upgraded my spare Tx to V5 with no issues and will swap it when I get the Rx done; I have a compile issue with it
PHP Code:
Arduino1.8.5 (Windows 10), Board"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\JBA\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path C:\Users\JBA\AppData\Local\Temp\arduino_build_14249 -warnings=none -build-cache C:\Users\JBA\AppData\Local\Temp\arduino_cache_937216 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Users\JBA\Documents\Arduino\WeatherDuino_Pro2_PLUS\v5.0\software\RX software\WeatherDuinoPro2Plus_RX_v500_b002_21012018\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino
C
:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\JBA\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path C:\Users\JBA\AppData\Local\Temp\arduino_build_14249 -warnings=none -build-cache C:\Users\JBA\AppData\Local\Temp\arduino_cache_937216 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Users\JBA\Documents\Arduino\WeatherDuino_Pro2_PLUS\v5.0\software\RX software\WeatherDuinoPro2Plus_RX_v500_b002_21012018\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino
Using board 
'mega' from platform in folderC:\Program Files\Arduino\hardware\arduino\avr
Using core 
'arduino' from platform in folderC:\Program Files\Arduino\hardware\arduino\avr
Detecting libraries used
...
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" ---Os --std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto --x c++ --CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino.cpp" -"nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" 
---Os --std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto --x c++ --CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\JBA\Documents\Arduino\libraries\Timezone\src" "C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino.cpp" -"nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" 
---Os --std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto --x c++ --CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\JBA\Documents\Arduino\libraries\Timezone\src" "-IC:\Users\JBA\Documents\Arduino\libraries\Time" "C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino.cpp" -"nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" 
---Os --std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto --x c++ --CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\JBA\Documents\Arduino\libraries\Timezone\src" "-IC:\Users\JBA\Documents\Arduino\libraries\Time" "C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino.cpp" -"C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\JBA\Documents\Arduino\WeatherDuino_Pro2_PLUS\v5.0\software\RX software\WeatherDuinoPro2Plus_RX_v500_b002_21012018\WeatherDuinoPro2Plus_RX_v500_b002_21012018.ino:41:0:

C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\Config_RX_Pro2PLUS.h:44:126fatal error_lang/en_GB.hNo such file or directory

 
#include "_lang/en_GB.h"      // Change the language code according to your preference. Keep "_lang/" and the ".h" at the end

 
                                                                                                                             ^

compilation terminated.

Using library Timezone at version 1.1.1 in folderC:\Users\JBA\Documents\Arduino\libraries\Timezone 
Using library Time at version 1.5 in folder
C:\Users\JBA\Documents\Arduino\libraries\Time 
exit status 1
Error compiling 
for board Arduino/Genuino Mega or Mega 2560. 

I am sorry to annoy you.
Regards
Jim


RE: RX V5 upload error - werk_ag - 21-01-2018

Quote:C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\Config_RX_Pro2PLUS.h:44:126: fatal error: _lang/en_GB.h: No such file or directory

#include "_lang/en_GB.h"      // Change the language code according to your preference. Keep "_lang/" and the ".h" at the end

The compiler is giving you a clue...
Most probably you haven't fully copied the WeatherDuino Pro2 Plus software. The folder with the language files is missing.


RE: RX V5 upload error - Barrow4491 - 21-01-2018

(21-01-2018, 04:35)Werk_AG Wrote:  
Quote:C:\Users\JBA\AppData\Local\Temp\arduino_build_14249\sketch\Config_RX_Pro2PLUS.h:44:126: fatal error: _lang/en_GB.h: No such file or directory

#include "_lang/en_GB.h"      // Change the language code according to your preference. Keep "_lang/" and the ".h" at the end

Hello Jim,

The compiler is giving you a clue...
Most probably you haven't fully copied the WeatherDuino Pro2 Plus software. The folder with the language files is missing.
Werk,
downloaded the software file again with the same result??
Jim


RE: RX V5 upload error - werk_ag - 21-01-2018

Jim, when you edit and save the software with a different name (and you did it), IDE creates a new folder. The languages folder isn't copied automatically, you should copy it manually.


RE: RX V5 upload error - Barrow4491 - 21-01-2018

(21-01-2018, 04:45)Werk_AG Wrote:  Jim, when you edit and save the software with a different name (and you did it) , IDE creates a new folder. The languages folder isn't copied automatically, you should copy it manually.
Werk,
Thanks, i was unaware of that


RE: RX V5 upload error - Barrow4491 - 21-01-2018

(21-01-2018, 04:49)Barrow4491 Wrote:  
(21-01-2018, 04:45)Werk_AG Wrote:  Jim, when you edit and save the software with a different name (and you did it) , IDE creates a new folder. The languages folder isn't copied automatically, you should copy it manually.
Werk,
Thanks, i was unaware of that
Werk,
All units updated to V5 and only issue is my rainfall reading is 13052 mm (i wish!!) How do I fix this??
May be worth a general note to all about renaming files
Regards
Jim


RE: RX V5 upload error - uncle_bob - 21-01-2018

(21-01-2018, 05:44)Barrow4491 Wrote:  my rainfall reading is 13052 mm (i wish!!) How do I fix this??

I had the same problem.
Angel Turns out I didn't read the instructions and to turn off the logger in Cumulus before updating Angel

Anyway, just set your 'todays rain' to 0 and clean up the data in WU tomorrow if you use WU.


RE: RX V5 upload error - Barrow4491 - 21-01-2018

(21-01-2018, 07:06)uncle_bob Wrote:  
(21-01-2018, 05:44)Barrow4491 Wrote:  my rainfall reading is 13052 mm (i wish!!) How do I fix this??

I had the same problem.
Angel Turns out I didn't read the instructions and to turn off the logger in Cumulus before updating Angel

Anyway, just set your 'todays rain' to 0 and clean up the data in WU tomorrow if you use WU.
Uncle_bob,
I didn’t  either but in Cumulus the gauge reading is zero and the edit function shows zero as well.
Since I updated today, I am not connecting to WU(according to the Wunderground app)and the ntp server light remains red as well. I have tried various other ntp servers, checked my settings and reloaded with no change. Could you let me know which ntp server you use. I never had these issues with V4
Thanks
Jim