RaZberry unable to exclude Z-Uno

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
Zixwater
Posts: 29
Joined: 06 Sep 2014 21:31

RaZberry unable to exclude Z-Uno

Post by Zixwater »

Im having problems removing a z-uno device from a razberry controller. Including the device works but not excluding nor does it work choosing remove it permanently. There is *some* indication that excluding is partly happening since sometimes the excluding is reported to be sucessfull but the device is still present in the gui. What log file can i look for more information about this problem? Can there be some communications problem? One thing that i have noticed is that the one of the z-uno devices in the razberry gui is showing the interview is not complete, can this be a problem removing the device?

Code: Select all

RaZberry Controller

Role in Network
Node Id:	1
Home Id:	0xd01b082c
Primary Role:	Yes
Primary Capability:	Yes
SUC/SIS in network:	1 (SIS)

Hardware
Vendor:	RaZberry by Z-Wave.Me
Vendors Product ID:	1024 / 2
Z-Wave Chip:	ZW0500

Firmware
Library Type:	Static Controller
SDK Version:	6.51.06
Serial API Version:	05.04

Capabillities:
UUID:	9529781fa48809d30c7124e18ad3ee3d
Subvendor:	0x0000
Nodes limit:	Unlimited
Capabillities:	SlM

Software Information
Version number:	v3.0.1
Compile-ID:	2b3d80cf6c13c1c095c24978ca1d456864b1fbfe
Compile-Date:	2019-10-03 19:24:24 +0300
After the exclusion process i tried to include the z-uno and that is working and i uploaded a simple blink sketch from the Arduino IDE and this is the compilation results:

Code: Select all


	************* Building Arduino Sketch *************

	C:\Users\perfr\AppData\Local\Temp\arduino_build_396973/Blink.ino

	***************************************************



	 --- USING a list of libraries from:

		C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\hardware\zw8051\2.1.5\libraries

		C:\Users\perfr\OneDrive\Dokument\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: Blink.cpp with SDCPP... 

Compiling Blink_sdcpp_.cpp ...

Preprocessing file: ZWSupport.cpp with SDCPP... 

Compiling ZWSupport_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: Blink.cpp with SDCPP... 

Compiling Blink_sdcpp_.cpp ...

Preprocessing file: ZWSupport.cpp with SDCPP... 

Compiling ZWSupport_sdcpp_.cpp ...Compiling file "LLCore_arduino.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -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 "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include"  "LLCore_arduino.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "LLCore_arduino.rel" "LLCore_arduino".asm

strncpyz prevented buffer overrun!

Compiling file "Print_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -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 "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include"  "Print_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "Print_ucxx.rel" "Print_ucxx".asm

strncpyz prevented buffer overrun!

Compiling file "Stream_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -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 "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include"  "Stream_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "Stream_ucxx.rel" "Stream_ucxx".asm

strncpyz prevented buffer overrun!

Compiling file "HardwareSerial_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -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 "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include"  "HardwareSerial_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "HardwareSerial_ucxx.rel" "HardwareSerial_ucxx".asm

strncpyz prevented buffer overrun!

Compiling file "HLCore_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -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 "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include"  "HLCore_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "HLCore_ucxx.rel" "HLCore_ucxx".asm

strncpyz prevented buffer overrun!

Compiling file "Blink_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -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 "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include"  "Blink_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "Blink_ucxx.rel" "Blink_ucxx".asm

strncpyz prevented buffer overrun!

Compiling file "ZWSupport_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -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 "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include"  "ZWSupport_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "ZWSupport_ucxx.rel" "ZWSupport_ucxx".asm

strncpyz prevented buffer overrun!

ZWSupport_ucxx.c:657: warning 85: in function zunoCallback unreferenced local variable : 'i'

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -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 "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\perfr\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.80/zuno_toolchain/sdcc/\bin\..\include"  "main.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "main.rel" "main".asm

sdcc: Calling linker...

sdcc: sdld.exe -nf "main.lk"

strncpyz prevented buffer overrun!

Making firmware file: C:\Users\perfr\AppData\Local\Temp\arduino_build_396973/Blink.ino-0215.hex ...packihx: read 44 lines, wrote 67: OK.

Fixing ISR table in C:\Users\perfr\AppData\Local\Temp\arduino_build_396973/Blink.ino-0215.hex ...

Making binary firmware file C:\Users\perfr\AppData\Local\Temp\arduino_build_396973/Blink.ino-0215.bin. Use it in Z-Way for wireless update procedure.[Done]



Elapsed:6.35400009155 s

Sketch uses 895 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 167 bytes of dynamic memory.

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 0F 7B 5E B5 79
 02 7F C6 62 83 7F FF 7F
 FC 01 15 02 0F 4C A3 01
 07 17 13 FF FF FF FF FF
 FF FF FF FF FF FF FF FF
 FF FF FF FF FF FF FF FF
 FF FF FF FF FF FF FF FF
 FF FF FF 0E 11 06 0A 09
 D6 01 33 00 01 1E
----------------------------------------------------------
                     FIRMWARE DATA                        
----------------------------------------------------------
	REVISION:02.15
	Z-WAVE FREQUENCY:EU
	ORIGINAL FW. CRC32: 7B 5E B5 79
	MAXIMUM CODE SIZE: 30 KB
	CURRENT  FW. CRC16: 4C A3
	RADIO CHANNELS: 02
----------------------------------------------------------
                     HARDWARE DATA                        
----------------------------------------------------------
	CALIBRATION
		MAIN:07 TX: 17 13
	DEVICE PUBLIC KEY:
		HEX: 3C 7B CC 82 55 16 6E 45 4A D6 7E 02 EC B1 EA 31 6F 82 A6 B7 0C AF 0A 38 2D A3 DA 78 4F AE 3E 1F
		DEC: 15483-52354-21782-28229-19158-32258-60593-59953-28546-42679-03247-02616-11683-55928-20398-15903
----------------------------------------------------------
                     PRODUCTION DATA                      
----------------------------------------------------------
	YOUR ZUNO S/N: 0E 11 06 0A 09 D6 01 00 01
----------------------------------------------------------
	PRODUCTION TIME:
		WEEK:14 YEAR:2017
	WORKSTATION:
		NUMBER:1 SEQUENCE:2518 
	HARDWARE:
		CHIP:1546 REVISION:1
----------------------------------------------------------

Writing NVM data                         [>                                                 ] (0%)
Writing NVM data                         [==>                                               ] (5%)
Writing NVM data                         [=====>                                            ] (10%)
Writing NVM data                         [=======>                                          ] (15%)
Writing NVM data                         [==========>                                       ] (20%)
Writing NVM data                         [============>                                     ] (25%)
Writing NVM data                         [===============>                                  ] (30%)
Writing NVM data                         [=================>                                ] (35%)
Writing NVM data                         [====================>                             ] (40%)
Writing NVM data                         [======================>                           ] (45%)
Writing NVM data                         [=========================>                        ] (50%)
Writing NVM data                         [===========================>                      ] (55%)
Writing NVM data                         [==============================>                   ] (61%)
Writing NVM data                         [=================================>                ] (66%)
Writing NVM data                         [===================================>              ] (71%)
Writing NVM data                         [======================================>           ] (76%)
Writing NVM data                         [========================================>         ] (81%)
Writing NVM data                         [===========================================>      ] (86%)
Writing NVM data                         [=============================================>    ] (91%)
Writing NVM data                         [================================================> ] (96%)
Writing NVM data                         ..............................                            OK
          Sketch crc16:2eef size:3af (0.92 kB)

Pushing sketch                           ..............................
Pushing sketch                           ..............................                            OK

Reseting chip                            ..............................
Reseting chip                            ..............................                            OK

Closing port                             ..............................
Closing port                             ..............................                            OK
ELAPSED:0.487999916077s
However, i cannot exclude this device either and after i uploaded this sketch and included to the razberry controller, the interview is complete but it also cannot be excluded.

Zixwater
Posts: 29
Joined: 06 Sep 2014 21:31

Re: RaZberry unable to exclude Z-Uno

Post by Zixwater »

For one of the nodes this is whats reported when trying to remove failed node:
Unable to update data. devices[47].RemoveFailedNode()

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

Re: RaZberry unable to exclude Z-Uno

Post by PoltoS »

May be it is a UI problem? Refresh the UI after excluding

Zixwater
Posts: 29
Joined: 06 Sep 2014 21:31

Re: RaZberry unable to exclude Z-Uno

Post by Zixwater »

I have updated, rebooted, upgraded so many times and they still does not go away.

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

Re: RaZberry unable to exclude Z-Uno

Post by PoltoS »

Are you sure you do correct tripple click? May be the button is faulty. Try to do clicks on BTN pin.

Please also show the log of exclusion

Zixwater
Posts: 29
Joined: 06 Sep 2014 21:31

Re: RaZberry unable to exclude Z-Uno

Post by Zixwater »

PoltoS wrote:
30 May 2020 01:10
Are you sure you do correct tripple click? May be the button is faulty. Try to do clicks on BTN pin.

Please also show the log of exclusion
Yes, quite sure I down under the required limit since the UI is actually telling me that its being excluded but the node(s) were never removed.

I did get them removed via the expert interface by forcing a interview that will fail and that got them moved to the failed noded state and by that i could remove the failed node(s). Im not sure what was happening. I do however have had other problems with this board and as of yesterday i replaced it with a new one(got other issues on that one but thats software related) so i think we can close this one =)

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

Re: RaZberry unable to exclude Z-Uno

Post by PoltoS »

Looks like the button is broken on the first (faulty) board.

Zixwater
Posts: 29
Joined: 06 Sep 2014 21:31

Re: RaZberry unable to exclude Z-Uno

Post by Zixwater »

PoltoS wrote:
01 Jun 2020 15:57
Looks like the button is broken on the first (faulty) board.
Well i might have been unclear, i replaced the razberry board, not the z-uno. On the new razberry it work. I have not however done more testing but it was excluded directly when i started the exclusion process from the z-uno.

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

Re: RaZberry unable to exclude Z-Uno

Post by PoltoS »

hm... may be a factory reset of RaZ can heal the problem?

Post Reply