Home
last modified time | relevance | path

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

123456789

/Zephyr-latest/include/zephyr/usb/class/
Dusbd_dfu.h9 * @brief USB Device Firmware Upgrade (DFU) public header
11 * Header exposes API for registering DFU images.
19 /* DFU Class Subclass */
22 /* DFU Class runtime Protocol */
25 /* DFU Class DFU mode Protocol */
28 /* DFU Class Specific Requests */
37 /* Run-Time DFU Functional Descriptor */
47 /* DFU Functional Descriptor Type */
50 /* DFU attributes DFU Functional Descriptor */
56 /* DFU Specification release */
[all …]
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/samples/subsys/usb/dfu-next/
DREADME.rst1 .. zephyr:code-sample:: dfu-next
2 :name: USB DFU
5 Implement a basic USB DFU device
10 This sample application demonstrates the USB DFU implementation using the
26 :zephyr-app: samples/subsys/usb/dfu-next
31 `dfu-util`_ tool can be used to download or upload the images. There are two
32 modes of operation in the USB DFU, runtime and DFU. The example starts in
33 runtime mode. To switch to DFU mode without uploading or downloading, the
38 dfu-util --detach
44 dfu-util --alt 0 --upload ramdisk0_backup.bin
[all …]
Dsample.yaml2 name: USB DFU sample
11 - "USB DFU sample is initialized"
13 sample.usbd.dfu:
23 sample.usbd.dfu-flash:
/Zephyr-latest/subsys/usb/device_next/class/
DKconfig.dfu5 bool "USB DFU Class support"
7 USB DFU Class support
12 int "Number of possible DFU images"
16 Number of possible DFU images.
22 This option sets the bitCanUpload flag in the DFU attributes and
29 This option sets the bitManifestationTolerant flag in the DFU
38 This option sets the wTransferSize in the DFU functional descriptor.
48 module-str = usbd dfu
/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
40 sample.usb.dfu:
42 sample.usb.dfu.permanent.download:
/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.
/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/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/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.rst88 (used to let the SensorTile.box enter DFU mode. See `Programming and Debugging`_
131 The ROM bootloader supports flashing via USB (DFU), UART, I2C and SPI.
138 Installing dfu-util
141 It is recommended to use at least v0.8 of dfu-util. The package available in
142 Debian and Ubuntu can be quite old, so you might have to build dfu-util from source.
144 at the `DFU-UTIL website`_
152 forced to enter DFU mode.
154 Confirm that the board is in DFU mode:
158 $ sudo dfu-util -l
159 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/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/
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/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/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/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/weact/stm32h5_core/
Dboard.cmake4 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
7 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)

123456789