Home
last modified time | relevance | path

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

123456

/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Ddfu_slot.h11 * @param slot A valid DFU image slot.
19 /** @brief Register a new DFU image slot for a distributable image.
21 * A DFU image slot represents a single distributable DFU image with all its
47 * @param slot Allocated DFU image slot.
62 /** @brief Delete an allocated DFU image slot.
71 /** @brief Delete all DFU image slots.
77 /** @brief Get the DFU image slot at the given index.
79 * @param idx DFU image slot index.
81 * @return The DFU image slot at the given index, or NULL if no slot exists with the
86 /** @brief Get the DFU image slot for the image with the given firmware ID.
[all …]
/Zephyr-Core-3.4.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.h37 /** 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.
154 /** DFU image slot for DFU distribution. */
Ddfd_srv.h41 .dfu = BT_MESH_DFU_CLI_INIT(&_bt_mesh_dfd_srv_dfu_cb), \
54 BT_MESH_MODEL_DFU_CLI(&(_srv)->dfu), \
69 * @param slot DFU image slot being received.
80 * Called when the Firmware Distribution Server is about to delete a DFU image slot.
85 * @param slot DFU image slot being deleted.
97 * @param slot DFU image slot being sent.
120 struct bt_mesh_dfu_cli dfu; member
/Zephyr-Core-3.4.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.4.0/samples/subsys/usb/dfu/
DREADME.rst3 USB DFU Sample Application
9 This sample app demonstrates use of a USB DFU Class driver provided
15 This project requires an USB device driver. Currently, the USB DFU
16 class provided by the Zephyr project depends on DFU image manager and
41 west build -b nrf52840dk_nrf52840 zephyr/samples/subsys/usb/dfu -d build-dfu -- \
46 the USB DFU sample at the offset of SLOT-0.
61 The Linux ``dfu-util`` tool can be used to backup or update the application
68 dfu-util --alt 0 --upload slot0_backup.bin
74 dfu-util --alt 1 --download build-hello_world/zephyr/zephyr.signed.bin
94 USB DFU sample, showing this output to the console:
[all …]
Dsample.yaml2 name: USB DFU sample
31 sample.usb.dfu:
33 sample.usb.dfu.permanent.download:
/Zephyr-Core-3.4.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.4.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.4.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.4.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.4.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.4.0/tests/subsys/dfu/img_util/
Dtestcase.yaml2 dfu.image_util:
10 dfu.image_util.progressive:
/Zephyr-Core-3.4.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.4.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.4.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.4.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.4.0/samples/subsys/usb/cdc_acm/
Doverlay-composite-cdc-dfu.conf2 # CDC ACM + USB DFU
7 # to restart in DFU mode.
/Zephyr-Core-3.4.0/subsys/mgmt/hawkbit/
Dhawkbit_firmware.h11 #include <zephyr/dfu/mcuboot.h>
12 #include <zephyr/dfu/flash_img.h>
/Zephyr-Core-3.4.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.4.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.4.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)

123456