This section contains a simple workflow for how to use the DFU Host tool.
- Ensure that you have a supported MCU that has been programmed with an application that includes the DFU capability.
- Launch the DFU Host tool.
- Click File > Open to browse to the location of your application file: *.cyacd2, *.mtbdfu, *.hex or *.bin).
- Connect the device with an application that includes the DFU capability.
- Wire the hardware port pins to the corresponding pins on the target device.
- Update the Port configuration. These values are set from the communication component used by the bootloader component.
- Click Program/Execute to load the new application from *.bin, *.cyacd2 or *.hex file and to execute and send the commands from the .*mtbdfu file.
Drivers Installation
To use the CAN-FD interface, install PCAN device drivers and the
PCAN-Basic library. The links:
- Windows: https://www.peak-system.com/quick/DrvSetup
- Linux: https://www.peak-system.com/quick/PCAN-Linux-Driver
- macOS: https://github.com/mac-can/PCBUSB-Library/releases/download/v0.13/macOS_Library_for_PCANUSB_v0.13.tar.gz (After installing the library, rename it to libPCBUSB.dylib and copy it into the .../dfuh-tool/dfuh-tool.app/Contents/Frameworks folder.)
Note:
CAN-FD interface is supported only on
PEAK System devices.