GCFFlasher is the tool to program the firmware of dresden elektronik Zigbee products.
The sources are POSIX compliant with a small platform specific layer, to make porting to different platforms easy.
-l
is in development and only partially implemended.-d
parameter is /dev/cu.usbmodemDE...
where ... is the serialnumber.The executable can be compiled without any dependencies, but it is recommended to install libgpiod
to support RaspBee I, RaspBee II and ConBee I.
The executable doesn't link directly to libgpiod and will check at runtime if it is available via dlopen()
.
On Debian based distributions the build dependencies are installed by:
apt install pkg-config build-essential libgpiod-dev cmake make
Checkout this repository
Navigate to the source directory, e.g. cd gcfflasher
Compile the executable with CMake
cmake -B build .
cmake --build build
The executable is build/GCFFlasher4
cd build
cpack -G DEB .
Visual Studio with MSVC C++ compiler needs to be installed. Tested with VS 2022 but older versions should work fine as well. The executable has no external dependencies.
Checkout this repository
Open "x86 Native Tools Command Promt for VS 2022" via Windows Start Menu
Navigate to the source directory, e.g. cd C:\gcfflasher
Compile the executable with CMake
cmake -B build .
cmake --build build --config Release
The executable is build\Release\GCFFlasher4.exe
.
The executable can be compiled without any dependencies for ConBee II. To support ConBee I the library libftdi
needs to be installed.
libftdi
development package for ConBee I can be installed via brew install libftdi
using Homebrew. Checkout this repository
Navigate to the source directory, e.g. cd gcfflasher
Compile the executable with CMake
cmake -B build .
cmake --build build
The executable is build/GCFFlasher4
$ ./GCFFlasher4
GCFFlasher v4.1.0 copyright dresden elektronik ingenieurtechnik gmbh
usage: GCFFlasher <options>
options:
-r force device reset without programming
-f <firmware> flash firmware file
-d <device> device number or path to use, e.g. 0, /dev/ttyUSB0 or RaspBee
-c connect and debug serial protocol
-t <timeout> retry until timeout (seconds) is reached
-l list devices
-h -? print this help
Checkout this repository
Navigate to the source directory, e.g. cd gcfflasher
Compile the executable with the build script (with Clang)
cmake -B build .
cmake --build build
The executable is build/GCFFlasher4
Note: The serial USB device for a ConBee II is /dev/cuaU0
.