Z-Uno core version and device version mismatch

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
sil
Posts: 6
Joined: 09 Oct 2018 12:35

Z-Uno core version and device version mismatch

Post by sil » 10 Nov 2018 12:36

Hi,

I got this error:
Z-Uno core version and device version mismatch

Tried to <tools> <burn bootloader>
and got this error

Arduino : 1.8.7 (Mac OS X), TD: 1.44, Carte : "Z-Wave>ME Z-Uno, Europe, Disabled, Disabled, Disabled, Disabled"

java.lang.NullPointerException
at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:362)
at processing.app.Editor.lambda$handleBurnBootloader$61(Editor.java:2435)
at java.lang.Thread.run(Thread.java:748)
Erreur lors de la gravure de la séquence d'initialisation.

What do I wrong ?

Thanks

User avatar
PoltoS
Posts: 4302
Joined: 26 Jan 2011 19:36

Re: Z-Uno core version and device version mismatch

Post by PoltoS » 11 Nov 2018 11:32

Sure you have selected the port first?

sil
Posts: 6
Joined: 09 Oct 2018 12:35

Re: Z-Uno core version and device version mismatch

Post by sil » 11 Nov 2018 13:12

yes ,of course !

If I download an example:
Arduino : 1.8.7 (Mac OS X), TD: 1.44, Carte : "Z-Wave>ME Z-Uno, Europe, Disabled, Disabled, Disabled, Disabled"

************* Building Arduino Sketch *************
RadioBlink.ino
***************************************************

--- USING a list of libraries from:
/Users/sw/Library/Arduino15/packages/Z-Uno/hardware/zw8051/2.1.4/libraries
/Users/sw/Documents/Arduino/libraries
*** Collecting prototypes...
Preprocessing file: Custom.c with SDCPP...

Preprocessing file: Print.cpp with SDCPP...
Compiling Print_sdcpp_.cpp ...
Preprocessing file: Stream.cpp with SDCPP...
Compiling Stream_sdcpp_.cpp ...
Preprocessing file: HardwareSerial.cpp with SDCPP...
Compiling HardwareSerial_sdcpp_.cpp ...
Preprocessing file: HLCore.cpp with SDCPP...
Compiling HLCore_sdcpp_.cpp ...
Preprocessing file: RadioBlink.cpp with SDCPP...
Compiling RadioBlink_sdcpp_.cpp ...
Preprocessing file: Print.cpp with SDCPP...
Compiling Print_sdcpp_.cpp ...
Preprocessing file: Stream.cpp with SDCPP...
Compiling Stream_sdcpp_.cpp ...
Preprocessing file: HardwareSerial.cpp with SDCPP...
Compiling HardwareSerial_sdcpp_.cpp ...
Preprocessing file: HLCore.cpp with SDCPP...
Compiling HLCore_sdcpp_.cpp ...
Preprocessing file: RadioBlink.cpp with SDCPP...
Compiling RadioBlink_sdcpp_.cpp ...Compiling file "LLCore_arduino.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include/mcs51 -isystem /usr/local/share/sdcc/include/mcs51 -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include -isystem /usr/local/share/sdcc/include LLCore_arduino.c
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051 -plosgffw LLCore_arduino.rel LLCore_arduino.asm
Compiling file "Print_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include/mcs51 -isystem /usr/local/share/sdcc/include/mcs51 -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include -isystem /usr/local/share/sdcc/include Print_ucxx.c
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051 -plosgffw Print_ucxx.rel Print_ucxx.asm
Compiling file "Stream_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include/mcs51 -isystem /usr/local/share/sdcc/include/mcs51 -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include -isystem /usr/local/share/sdcc/include Stream_ucxx.c
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051 -plosgffw Stream_ucxx.rel Stream_ucxx.asm
Compiling file "HardwareSerial_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include/mcs51 -isystem /usr/local/share/sdcc/include/mcs51 -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include -isystem /usr/local/share/sdcc/include HardwareSerial_ucxx.c
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051 -plosgffw HardwareSerial_ucxx.rel HardwareSerial_ucxx.asm
Compiling file "HLCore_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include/mcs51 -isystem /usr/local/share/sdcc/include/mcs51 -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include -isystem /usr/local/share/sdcc/include HLCore_ucxx.c
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051 -plosgffw HLCore_ucxx.rel HLCore_ucxx.asm
Compiling file "RadioBlink_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include/mcs51 -isystem /usr/local/share/sdcc/include/mcs51 -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include -isystem /usr/local/share/sdcc/include RadioBlink_ucxx.c
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051 -plosgffw RadioBlink_ucxx.rel RadioBlink_ucxx.asm
sdcc: Calling preprocessor...
sdcc: sdcpp -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include/mcs51 -isystem /usr/local/share/sdcc/include/mcs51 -isystem /Users/sw/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/sdcc//bin/../share/sdcc/include -isystem /usr/local/share/sdcc/include main.c
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051 -plosgffw main.rel main.asm
sdcc: Calling linker...
sdcc: sdld -nf main.lk
Making firmware file: RadioBlink.ino-0214.hex ...packihx: read 45 lines, wrote 71: OK.
Fixing ISR table in RadioBlink.ino-0214.hex ...Making binary firmware file RadioBlink.ino-0214.bin. Using in Z-Way for wireless update procedure.[Done]

Elapsed:4.69545507431 s
Le croquis utilise 936 octets (2%) de l'espace de stockage de programmes. Le maximum est de 32256 octets.
Les variables globales utilisent 156 octets de mémoire dynamique.

Openning port ..............................
Openning port .............................. OK

Stoping the user code ..............................
Stoping the user code .............................. OK

Closing port ..............................
Closing port .............................. OK

Openning port ..............................
Openning port .............................. OK


RAW Info:
AA AA BB BB 01 15 01 10
00 01 02 09 99 DA E7 15

----------------------------------------------------------
FIRMWARE DATA
----------------------------------------------------------
REVISION:02. 9
Z-WAVE FREQUENCY:EU
ORIGINAL FW. CRC32: 99 DA E7 15
Z-Uno core version and device version mismatch. You have 2.0.9 firmware version on the board. Core version is 2.1.4. Please upgrade the bootloader.
Une erreur est survenue lors du transfert du croquis

Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.

User avatar
PoltoS
Posts: 4302
Joined: 26 Jan 2011 19:36

Re: Z-Uno core version and device version mismatch

Post by PoltoS » 11 Nov 2018 15:25

You need to do Burn bootloader first to upgrade your bootloader to match the latest source code you use.

sil
Posts: 6
Joined: 09 Oct 2018 12:35

Re: Z-Uno core version and device version mismatch

Post by sil » 11 Nov 2018 17:33

Yes I understood; I tried as my first post:

Tried to <tools> <burn bootloader>
and got this error

Arduino : 1.8.7 (Mac OS X), TD: 1.44, Carte : "Z-Wave>ME Z-Uno, Europe, Disabled, Disabled, Disabled, Disabled"

java.lang.NullPointerException
at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:362)
at processing.app.Editor.lambda$handleBurnBootloader$61(Editor.java:2435)
at java.lang.Thread.run(Thread.java:748)
Erreur lors de la gravure de la séquence d'initialisation.

What do I wrong ????

Post Reply