Home
last modified time | relevance | path

Searched full:dfu (Results 1 – 25 of 200) sorted by relevance

12345678

/Zephyr-latest/samples/subsys/usb/dfu/
DREADME.rst1 .. zephyr:code-sample:: usb-dfu
2 :name: USB DFU (Device Firmware Upgrade)
5 Implement device firmware upgrade using the USB DFU class driver.
10 This sample app demonstrates use of a USB DFU Class driver provided
16 This project requires an USB device driver. Currently, the USB DFU
17 class provided by the Zephyr project depends on DFU image manager and
42 west build -b nrf52840dk/nrf52840 zephyr/samples/subsys/usb/dfu -d build-dfu -- \
47 the USB DFU sample at the offset of SLOT-0.
62 The Linux ``dfu-util`` tool can be used to backup or update the application
69 dfu-util --alt 0 --upload slot0_backup.bin
[all …]
Dsample.yaml2 name: USB DFU sample
34 sample.usb.dfu:
36 sample.usb.dfu.permanent.download:
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Ddfu_cli.h20 #include <zephyr/bluetooth/mesh/dfu.h>
53 /** DFU Target node. */
59 /** Expected DFU effect, see @ref bt_mesh_dfu_effect. */
61 /** Current DFU status, see @ref bt_mesh_dfu_status. */
63 /** Current DFU phase, see @ref bt_mesh_dfu_phase. */
77 /** DFU Target node status parameters. */
81 /** Phase of the current DFU transfer. */
108 /** @brief DFU image callback.
110 * The image callback is called for every DFU image on the Target node when
139 /** @brief DFU ended.
[all …]
Ddfu_srv.h18 #include <zephyr/bluetooth/mesh/dfu.h>
32 * @param _handlers DFU handler function structure.
34 * @param _img_count Number of DFU images managed by this Server.
73 * @param img DFU image the metadata check is performed on.
87 * Called when the Firmware Update Server is ready to start a new DFU transfer.
89 * during the DFU transfer.
103 * @param img DFU image being updated.
130 * @param img DFU image that failed the update.
131 * @param success Whether the DFU transfer was successful.
145 * @param img DFU image being updated.
[all …]
Ddfu.h41 /** DFU transfer phase. */
78 /** DFU status. */
107 /** Expected effect of a DFU transfer. */
127 /** Action for DFU iteration callbacks. */
136 /** DFU image instance.
138 * Each DFU image represents a single updatable firmware image.
151 /** DFU image slot for DFU distribution. */
/Zephyr-latest/subsys/usb/device/class/dfu/
DKconfig5 bool "USB DFU Class Driver"
11 USB DFU class driver
16 hex "USB DFU Product ID"
19 USB device product ID in DFU mode. MUST be configured by vendor.
22 bool "Generate detach-attach sequence on DFU detach"
28 DFU fails on Windows with WinUSB driver if this is not enabled.
DCMakeLists.txt7 "Run-Time and DFU Mode VID and PID are equal, which can lead to incorrect \
8 behavior on some operating systems; see DFU 1.1 Specification Ch. 2 for \
/Zephyr-latest/scripts/west_commands/runners/
Ddfu.py5 '''Runner for flashing with dfu-util.'''
17 '''Runner front-end for dfu-util.'''
19 def __init__(self, cfg, dev_id, alt, img, exe='dfu-util',
41 return 'dfu-util'
70 DfuSe modifiers for dfu-util's -s
76 parser.add_argument('--dfu-util', default='dfu-util',
77 help='dfu-util executable; defaults to "dfu-util"')
100 print('Please reset your board to switch to DFU mode...')
122 # http://dfu-util.sourceforge.net/dfuse.html
130 # Normal DFU devices generally need to be reset to switch
/Zephyr-latest/subsys/bluetooth/mesh/
Ddfu_slot.h11 * @param slot A valid DFU image slot.
25 /** @brief Reserve a new DFU image slot for a distributable image.
27 * A DFU image slot represents a single distributable DFU image with all its
81 /** @brief Delete a committed DFU image slot.
90 /** @brief Delete all DFU image slots.
96 /** @brief Get the DFU image slot at the given firmware image list index.
98 * @param idx DFU image slot index.
100 * @return The DFU image slot at the given index, or NULL if no slot exists with the
105 /** @brief Get the committed DFU image slot for the image with the given
124 /** @brief Iterate through all DFU image slots.
[all …]
/Zephyr-latest/include/zephyr/usb/class/
Dusb_dfu.h38 * @brief USB Device Firmware Upgrade (DFU) public header
49 /** DFU Class Subclass */
52 /** DFU Class runtime Protocol */
55 /** DFU Class DFU mode Protocol */
59 * @brief DFU Class Specific Requests
69 /** DFU FUNCTIONAL descriptor type */
72 /** DFU attributes DFU Functional Descriptor */
78 /** DFU Specification release */
/Zephyr-latest/subsys/dfu/
DKconfig1 # DFU support configuration options
7 # DFU
11 bool "DFU image manager"
15 Enable support for managing DFU image.
23 Choice support for managing DFU image.
31 Enable support for managing DFU image downloaded using mcuboot.
77 times at the beginning of the DFU process.
/Zephyr-latest/boards/st/steval_stwinbx1/
Dboard.cmake4 # By default stm32cubeprogrammer configured to use DFU upload method.
9 # Even if flash and start work, dfu-util return error 74. It can be ignored.
10 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
18 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-latest/boards/st/sensortile_box/doc/
Dindex.rst86 (used to let the SensorTile.box enter DFU mode. See `Programming and Debugging`_
129 The ROM bootloader supports flashing via USB (DFU), UART, I2C and SPI.
136 Installing dfu-util
139 It is recommended to use at least v0.8 of dfu-util. The package available in
140 Debian and Ubuntu can be quite old, so you might have to build dfu-util from source.
142 at the `DFU-UTIL website`_
150 forced to enter DFU mode.
152 Confirm that the board is in DFU mode:
156 $ sudo dfu-util -l
157 dfu-util 0.9
[all …]
/Zephyr-latest/boards/common/
Ddfu-util.board.cmake3 board_set_flasher_ifnset(dfu-util)
4 board_finalize_runner_args(dfu-util) # No default arguments to provide.
/Zephyr-latest/boards/arduino/opta/
Dboard.cmake3 board_runner_args(dfu-util "--pid=2341:0364" "--alt=0" "--dfuse")
15 # Give priority to dfu-util to flash, ST-Link to debug.
16 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-latest/tests/subsys/dfu/img_util/
Dtestcase.yaml9 dfu.image_util:
11 dfu.image_util.progressive:
/Zephyr-latest/boards/st/sensortile_box/
Dboard.cmake3 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
5 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-latest/boards/arduino/portenta_h7/
Dboard.cmake3 board_runner_args(dfu-util "--pid=2341:035b" "--alt=0" "--dfuse")
5 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-latest/boards/st/sensortile_box_pro/
Dboard.cmake3 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
5 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-latest/boards/96boards/aerocore2/
Dboard.cmake4 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
6 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-latest/boards/96boards/carbon/
Dboard.cmake4 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
6 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit_firmware.h11 #include <zephyr/dfu/mcuboot.h>
12 #include <zephyr/dfu/flash_img.h>
/Zephyr-latest/boards/weact/mini_stm32h743/
Dboard.cmake3 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
6 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-latest/boards/st/steval_stwinbx1/doc/
Dindex.rst196 but useful to let the SensorTile.box PRO enter DFU mode
261 1. Using DFU software tools
263 This method requires to enter STM32U585 ROM bootloader DFU mode
277 Install dfu-util
281 Required only to use dfu-util runner.
283 It is recommended to use at least v0.9 of dfu-util. The package available in
284 Debian and Ubuntu can be quite old, so you might have to build dfu-util from source.
286 at the `DFU-UTIL website`_
292 Required to program over DFU (default) or SWD.
300 There are two ways to enter DFU mode:
[all …]
/Zephyr-latest/boards/weact/mini_stm32h7b0/
Dboard.cmake4 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
7 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)

12345678