From 97a08baffe661070fa3cc7f074a3fae7c57abe0b Mon Sep 17 00:00:00 2001
From: rudolfkoenig <>
Date: Fri, 4 Dec 2015 07:21:36 +0000
Subject: [PATCH] 98_CULflash: add CUL_V3_ZWave (Forum #44905)
git-svn-id: https://svn.fhem.de/fhem/trunk@10081 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/98_CULflash.pm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/fhem/FHEM/98_CULflash.pm b/fhem/FHEM/98_CULflash.pm
index 0234574f8..5ed29ab4b 100644
--- a/fhem/FHEM/98_CULflash.pm
+++ b/fhem/FHEM/98_CULflash.pm
@@ -40,6 +40,11 @@ CommandCULflash($$)
'dfu-programmer atmega32u4 flash $filepath && '.
'dfu-programmer atmega32u4 start',
flash => 'CUL_SimpleWrite($defs{$device},"B01");sleep(4); undef;' },
+ CUL_V3_ZWAVE =>
+ { cmd => 'dfu-programmer atmega32u4 erase && '.
+ 'dfu-programmer atmega32u4 flash $filepath && '.
+ 'dfu-programmer atmega32u4 start',
+ flash => 'CUL_SimpleWrite($defs{$device},"B01");sleep(4); undef;' },
CUL_V4 =>
{ cmd => 'dfu-programmer atmega32u2 erase && '.
'dfu-programmer atmega32u2 flash $filepath && '.
@@ -101,7 +106,7 @@ CommandCULflash($$)
Download the firmware from a nightly SVN chekout and flash the
hardware.
Currently the CUL is supported with its versions:
- CUL_V2, CUL_V2_HM, CUL_V3, CUL_V4.
+ CUL_V2, CUL_V2_HM, CUL_V3, CUL_V3_ZWAVE, CUL_V4.
If the fhem-device is none, than the inserted device must already be in the
flash-mode.
Note:for flashing the CUL dfu-programmer has to be installed in the
@@ -129,7 +134,7 @@ CommandCULflash($$)
Lädt die spezifizierte Firmware von fhem.de und programmiert das
angeschlossene Gerät.
Z.Zt unterstützt wird das CUL und folgende Versionen:
- CUL_V2, CUL_V2_HM, CUL_V3, CUL_V4.
+ CUL_V2, CUL_V2_HM, CUL_V3, CUL_V3_ZWAVE, CUL_V4.
Falls als fhem-device none angegeben wurde, dann muss sich das
angeschlossene Gerät bereits in flash-mode befinden.
Achtung:Für CUL flashen muss dfu-programmer installiert und im