Questions tagged [dfu]

DFU is intended to download and upload firmware to devices connected over USB. Targets range from small devices like micro-controller boards up to mobile phones.

65 questions
9
votes
5 answers

Jump to Bootloader in STM32 through application i.e using Boot 0 and Boot 1 Pins in Boot mode from User flash

I have a requirement for firmware upgrade. I am planning to use USB DFU class. But command for firmware upgrade will come from PC application in my case . so i need to switch to bootloader which is there in System Memory. As initially i am running…
Jasdeep Singh Arora
  • 543
  • 2
  • 11
  • 31
3
votes
0 answers

Android BLE DFU multiple devices update one after another...But some devices fails to update

By using nordic Dfu library (updated) I have to update firmware of devices in one go,I have mac addresses of devices which required to update, let say i have 30 devices with their mac addresses and have to update one after another, By using nordic…
3
votes
3 answers

How can I use one function from main application and bootloader? (embedded)

First of all I need to say I develop application for embedded device based on cortex m4. I have functions that are common for bootloader and main application. For now I compile source files 2 times once for bootloader and app. But I am running short…
Michał
  • 691
  • 1
  • 5
  • 22
3
votes
0 answers

dynamic framework objective c and swift dependencies DFU library error when run podspec

I had a .framework made in objective c, I used cocoapods to make a private repository, everything worked well. But now...I had to add DFU mode updating functionality to my .framework, for that I used the library that comes here…
AnD
  • 125
  • 1
  • 8
2
votes
1 answer

How to add double tap detection to sample app gatt_sensordata_app?

I am developing an Android app that gets data from Movesense using the GATT profile from the sample app GATT Sensor Data App here. I followed the tutorial available here. Building the app and getting the DFU worked fine. I can get IMU, HR and…
2
votes
1 answer

how to implement buttonless Dfu in App (Flutter Dart )without using any library

i want to use Buttonless Dfu in flutter without any library , there is already one for Android+ios , but i wanted to implement for all platforms , so expecting that i can connect/read/write and set notifications by using ble , is there any tutorial…
Rohit Sangwan
  • 33
  • 1
  • 3
2
votes
1 answer

How to enter to the bootloader (DFU mode) in software on the STWIN

Is there a way to jump to the bootloader from the application code on the STWIN ?(https://www.st.com/en/evaluation-tools/steval-stwinkt1.html) The following thread discusses the issue (How do you jump to the bootloader (DFU mode) in software on the…
luffy
  • 2,246
  • 3
  • 22
  • 28
2
votes
1 answer

How to determin size of internal flash for target?

I want to upload the device firmware to a file using dfu-util. How can I determine the correct size of flash memory? After booting the device into DFU it can be found using: dfu-util -l For which I receive the following information: Found DFU:…
linuxUser123
  • 529
  • 3
  • 17
2
votes
0 answers

Can arm-none-eabi-gcc generate .dfu files directly?

I see claims e.g., here that GCC can generate .dfu files for STM32 DfuSe. Is it true? Is at an option on arm-none-eabi-objcopy or another part of the toolchain?
iter
  • 4,171
  • 8
  • 35
  • 59
2
votes
1 answer

Bluetooth in DFU mode: connection always fails for some devices

I'm using Nordic Semiconductor's Android-DFU-Library in order to update the firmware of a bluetooth low energy (BLE) device. I've already asked for help on the github, but I figured more people can see the issue here (either to help and eventually…
Ariles
  • 333
  • 1
  • 14
2
votes
1 answer

What is a Functional Descriptor in USB standards?

I am new to USB and I am trying to develop a library that can do Device Firmware Upgrade in our application. The DFU Standard http://www.usb.org/developers/docs/devclass_docs/DFU_1.1.pdf talks about Run-Time DFU Functional Descriptor. I understand…
Monku
  • 2,440
  • 4
  • 33
  • 57
2
votes
1 answer

How to add DFU support to u-boot?

I'm trying to add DFU support to the u-boot I'm using in my project because I figured out that DFU support is not enabled in it. I'm using freescale u-boot (cloning from git://git.freescale.com/imx/uboot-imx.git) and I checked out the tag…
m4l490n
  • 1,592
  • 2
  • 25
  • 46
2
votes
1 answer

STM32 Bootloader doesn't work

I want to write code on STM32F407 board. So I wrote blink example code and complied for it. and then insert binary program in it. After do this, I disconnected usb physically and connected again. But usb doesn't responded. so I opened 'device…
knolz
  • 181
  • 4
  • 10
2
votes
2 answers

How do you jump to the bootloader (DFU mode) in software on the STM32 F072?

The STM32 App Note 2606 discusses this, but there is no simple code example.
Brad Grissom
  • 3,633
  • 3
  • 21
  • 23
2
votes
2 answers

STM32 Device Firmware Upgrade (DFU/DfuSe) from Android

I have an STM32F4 microcontroller connected to an Android (4.4) USB Host port. I would like to do a firmware upgrade of the microcontroller from the Android device. =================== =================== | Android 4.4 …
Ryan R
  • 8,342
  • 15
  • 84
  • 111
1
2 3 4 5