Home
last modified time | relevance | path

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

1234

/Zephyr-Core-2.7.6/scripts/west_commands/runners/
Ddfu.py5 '''Runner for flashing with dfu-util.'''
19 '''Runner front-end for dfu-util.'''
21 def __init__(self, cfg, pid, alt, img, exe='dfu-util',
41 return 'dfu-util'
67 DfuSe modifiers for dfu-util's -s
73 parser.add_argument('--dfu-util', default='dfu-util',
74 help='dfu-util executable; defaults to "dfu-util"')
97 print('Please reset your board to switch to DFU mode...')
116 # http://dfu-util.sourceforge.net/dfuse.html
124 # Normal DFU devices generally need to be reset to switch
/Zephyr-Core-2.7.6/include/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-2.7.6/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-2.7.6/subsys/usb/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.
Dusb_dfu.c35 * @brief DFU class driver
37 * USB DFU device class driver
47 #include <dfu/mcuboot.h>
48 #include <dfu/flash_img.h>
115 /* dfu mode device descriptor */
298 uint32_t alt_setting; /* DFU alternate setting */
300 enum dfu_state state; /* State of the DFU device */
301 enum dfu_status status; /* Status of the DFU device */
302 uint16_t block_nr; /* DFU block number */
322 * @brief Helper function to check if in DFU app state.
[all …]
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-Core-2.7.6/boards/arm/sensortile_box/doc/
Dindex.rst95 (used to let the SensorTile.box enter DFU mode. See `Programming and Debugging`_
138 The ROM bootloader supports flashing via USB (DFU), UART, I2C and SPI.
145 Installing dfu-util
148 It is recommended to use at least v0.8 of dfu-util. The package available in
149 Debian and Ubuntu can be quite old, so you might have to build dfu-util from source.
151 at the `DFU-UTIL website`_
159 forced to enter DFU mode.
161 Confirm that the board is in DFU mode:
165 $ sudo dfu-util -l
166 dfu-util 0.9
[all …]
/Zephyr-Core-2.7.6/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
49 the USB DFU sample at the offset of SLOT-0.
64 The Linux ``dfu-util`` tool can be used to backup or update the application
71 dfu-util --alt 0 --upload slot0_backup.bin
77 dfu-util --alt 1 --download signed-hello.bin
96 USB DFU sample, showing this output to the console:
Dsample.yaml2 name: USB DFU sample
4 sample.usb.dfu:
/Zephyr-Core-2.7.6/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-2.7.6/tests/subsys/dfu/img_util/
Dtestcase.yaml2 dfu.image_util:
5 dfu.image_util.progressive:
/Zephyr-Core-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/subsys/mgmt/hawkbit/
Dhawkbit_firmware.h11 #include <dfu/mcuboot.h>
12 #include <dfu/flash_img.h>
/Zephyr-Core-2.7.6/samples/subsys/usb/cdc_acm/
Doverlay-composite-cdc-dfu.conf2 # CDC ACM + USB DFU
7 # to restart in DFU mode.
/Zephyr-Core-2.7.6/subsys/mgmt/updatehub/
Dupdatehub_firmware.h11 #include <dfu/mcuboot.h>
12 #include <dfu/flash_img.h>
/Zephyr-Core-2.7.6/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-2.7.6/boards/arm/blackpill_f401ce/
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-2.7.6/boards/arm/blackpill_f411ce/
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-2.7.6/samples/subsys/usb/dfu/src/
Dmain.c8 /* Sample app for USB DFU class driver. */
25 LOG_INF("This device supports USB DFU class.\n"); in main()
/Zephyr-Core-2.7.6/doc/guides/device_mgmt/
Ddfu.rst13 * :zephyr_file:`subsys/dfu/boot/`: Interface code to bootloaders
14 * :zephyr_file:`subsys/dfu/img_util/`: Image management code
16 The DFU subsystem deals with image management, but not with the transport
/Zephyr-Core-2.7.6/boards/arm/96b_carbon/doc/
Dindex.rst255 supports flashing via USB (DFU), UART, I2C and SPI. You can read more about
262 Installing dfu-util
265 It is recommended to use at least v0.8 of `dfu-util`_. The package available in
266 debian/ubuntu can be quite old, so you might have to build dfu-util from source.
272 The board should power ON. Force the board into DFU mode by keeping the BOOT0
275 Confirm that the board is in DFU mode:
279 $ sudo dfu-util -l
280 dfu-util 0.8
284 Please report bugs to dfu-util@lists.gnumonks.org
285 …Found DFU: [0483:df11] ver=2200, devnum=15, cfg=1, intf=0, alt=3, name="@Device Feature/0xFFFF0000…
[all …]
/Zephyr-Core-2.7.6/doc/reference/storage/stream/
Dstream_flash.rst12 image to be used in a DFU operation.
22 Some stream write operations, such as DFU operations, may run for a long time.

1234