Home
last modified time | relevance | path

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

1234567

/Zephyr-Core-3.5.0/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
31 sample.usb.dfu:
33 sample.usb.dfu.permanent.download:
/Zephyr-Core-3.5.0/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-Core-3.5.0/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 \
Dusb_dfu.c35 * @brief DFU class driver
37 * USB DFU device class driver
47 #include <zephyr/dfu/mcuboot.h>
48 #include <zephyr/dfu/flash_img.h>
137 /* dfu mode device descriptor */
322 uint32_t alt_setting; /* DFU alternate setting */
324 enum dfu_state state; /* State of the DFU device */
325 enum dfu_status status; /* Status of the DFU device */
326 uint16_t block_nr; /* DFU block number */
346 * @brief Helper function to check if in DFU app state.
[all …]
/Zephyr-Core-3.5.0/subsys/dfu/
DKconfig1 # DFU support configuration options
7 # DFU
11 bool "DFU image manager"
14 Enable support for managing DFU image.
22 Choice support for managing DFU image.
30 Enable support for managing DFU image downloaded using mcuboot.
71 times at the beginning of the DFU process.
/Zephyr-Core-3.5.0/scripts/west_commands/runners/
Ddfu.py5 '''Runner for flashing with dfu-util.'''
19 '''Runner front-end for dfu-util.'''
21 def __init__(self, cfg, dev_id, alt, img, exe='dfu-util',
43 return 'dfu-util'
72 DfuSe modifiers for dfu-util's -s
78 parser.add_argument('--dfu-util', default='dfu-util',
79 help='dfu-util executable; defaults to "dfu-util"')
102 print('Please reset your board to switch to DFU mode...')
124 # http://dfu-util.sourceforge.net/dfuse.html
132 # Normal DFU devices generally need to be reset to switch
/Zephyr-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/boards/arm/sensortile_box/doc/
Dindex.rst93 (used to let the SensorTile.box enter DFU mode. See `Programming and Debugging`_
136 The ROM bootloader supports flashing via USB (DFU), UART, I2C and SPI.
143 Installing dfu-util
146 It is recommended to use at least v0.8 of dfu-util. The package available in
147 Debian and Ubuntu can be quite old, so you might have to build dfu-util from source.
149 at the `DFU-UTIL website`_
157 forced to enter DFU mode.
159 Confirm that the board is in DFU mode:
163 $ sudo dfu-util -l
164 dfu-util 0.9
[all …]
/Zephyr-Core-3.5.0/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-Core-3.5.0/tests/subsys/dfu/img_util/
Dtestcase.yaml2 dfu.image_util:
10 dfu.image_util.progressive:
/Zephyr-Core-3.5.0/boards/arm/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-Core-3.5.0/boards/arm/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-Core-3.5.0/boards/arm/96b_carbon/
Dboard.cmake3 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
5 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-Core-3.5.0/boards/arm/96b_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-Core-3.5.0/samples/subsys/usb/cdc_acm/
Doverlay-composite-cdc-dfu.conf2 # CDC ACM + USB DFU
7 # to restart in DFU mode.
/Zephyr-Core-3.5.0/subsys/mgmt/hawkbit/
Dhawkbit_firmware.h11 #include <zephyr/dfu/mcuboot.h>
12 #include <zephyr/dfu/flash_img.h>
/Zephyr-Core-3.5.0/scripts/west_commands/tests/
Dtest_dfu_util.py12 from runners.dfu import DfuUtilBinaryRunner, DfuSeConfig
15 DFU_UTIL = 'dfu-util'
16 TEST_EXE = 'test-dfu-util'
28 # A map from a test case to the expected dfu-util call.
77 @patch('runners.dfu.DfuUtilBinaryRunner.find_device',
105 @patch('runners.dfu.DfuUtilBinaryRunner.find_device',
124 args.extend(['--dfu-util', exe])
/Zephyr-Core-3.5.0/boards/arm/adafruit_feather_stm32f405/
Dboard.cmake3 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
6 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-Core-3.5.0/boards/arm/black_f407ve/
Dboard.cmake3 board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
8 include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
/Zephyr-Core-3.5.0/doc/connectivity/bluetooth/api/mesh/
Ddfu.rst3 Device Firmware Update (DFU)
7 mesh DFU subsystem implements the Bluetooth Mesh Device Firmware Update Model specification version
10 Bluetooth mesh DFU implements a distribution mechanism for firmware images, and does not put any
12 to provide the qualifiable parts of the Bluetooth mesh DFU specification, and leave the usage,
15 The DFU specification is implemented in the Zephyr Bluetooth mesh DFU subsystem as three separate
28 DFU roles
31 The Bluetooth mesh DFU subsystem defines three different roles the mesh nodes have to assume in the
40 The Distributor role serves two purposes in the DFU process. First, it's acting as the Target
54 Initiator role is not implemented in the Zephyr Bluetooth mesh DFU subsystem.
58 :alt: Graphic overview of the DFU roles mesh nodes can have during the process of image
[all …]

1234567