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
2
votes
3 answers

How to Install Dfu-util

I've been trying to install dfu-util on my MAC OS X 10.7.5. I follow the instructions in this website: http://forum.seeedstudio.com/viewtopic.php?f=12&t=1364 Everything seems to be working properly but, when I run the command: ./configure…
1
vote
1 answer

Application not loading after DFU:Leave

I am trying to program the STM32F401 flash on our board in DFU mode. I am using the dfu-util tool in my linux computer.For my project requirements the BOOT 0 pin is always kept high throughout the process. I am using the following command to flash…
Thilak
  • 70
  • 10
1
vote
2 answers

STM32 bluepill USB bootloader DFU

I am trying to make a base project for blue pill STM32F103 which I can use for multiple projects. I would like to be able to both flash the device and send commands using serial COM port using the mirco-USB port so far I have: successfully created…
Jono Moran
  • 11
  • 1
  • 4
1
vote
0 answers

Autonomous DFU Nordic

I'm working on an application connected to a BLE device, and I'm focused on the firmware update of the device (DFU). For that, I'm using the android lib created by Nordic and I'm trying to make it autonomous, so a user doesn't have to browse his…
A.Danibo
  • 494
  • 1
  • 4
  • 16
1
vote
1 answer

Xamarin binding of Nordic Dfu library

I get some error messages when trying to bind the aar file containing the nordic dfu lib for android. BINDINGSGENERATOR : warning BG8604: top ancestor DfuBaseService not found for nested type NO.Nordicsemi.Android.Dfu.DfuBaseService.1. …
Tompi
  • 218
  • 2
  • 10
1
vote
1 answer

STM32 DFU over UART writes incorrect data

I'm working on a firmware updater, so that the main controller in the system can program the other STM32 chips. I'm using UART at 115200 bps with 8E1 as written in the app notes AN2606 and AN3155. Currently I'm trying to flash an STM32F429. I can…
ksstms
  • 11
  • 4
1
vote
3 answers

how to add this library to my project?

link I want add the dfu library to my project. it has a download oètopn, but there is no direct download and it says to use Gradle to add it. Anyway, the documentation says to do this step. Clone the project, or just the DFULibrary folder (using…
1
vote
2 answers

Convert Objective-C code to Swift

I have been working with nrf51x. I have a sample code written in Obj-C. I was not able to convert it to Swift. uint8_t value = ACTIVATE_AND_RESET_REQUEST; [self.bluetoothPeripheral writeValue:[NSData dataWithBytes:&value length:sizeof(value)]…
Zied Feki
  • 812
  • 1
  • 10
  • 19
1
vote
1 answer

How to use DFU on nrf51822

I use Nordic nRF51822 ble_app_uart project (pca10001) and new softdevice7. I find a DFU project at nrf6310 directory of SDK . when i program both projects the uart application stop running. What is wrong? How can i update standard ble_app_uart…
user3428151
  • 449
  • 6
  • 23
0
votes
0 answers

Detecting a "corrupted" DFU device in C#

We have a C# program that lets the user install firmware versions with DFU to our devices. If the user pulls out the USB-cable between the computer and the device when it is in the process of installing then the firmware gets corrupted. Now my…
0
votes
1 answer

STM32 DFU USB - run uploaded code without HW reset?

If using the standard DFU USB inbuilt bootloader to STM32F412, after uploading the new firmware, is it possible to run the uploaded code without a HW reset or changing other GPIOs? Or alternatively, some way I can trigger a reset using only the USB…
Calum Nicoll
  • 109
  • 5
0
votes
1 answer

mcumgr_flutter, does not move to a successful state reaching 100% firmware transfer

I am trying to move to mcumgr_flutter, from mcumgr plugin, I am having a problem where when reaching 100% transfer of the firmware I am not getting the state steam observer to send me the success state. It crashes after sending me the Confirm…
Pascale Beaulac
  • 889
  • 10
  • 28
0
votes
0 answers

DFU lib to do firmware update via software

My use case is I am trying to do the firmware update of a stm32 uC, using the DFU protocol via an application written in C++. Can someone recommend a DFU library that i could use in order to do this?
user3253067
  • 113
  • 2
  • 11
0
votes
0 answers

Xamarin Forms: BLE Laerdal Dfu OTA. compilation problems

I am trying to get an App to work with OTA Nordic Dfu, and the only xamarin nuget I can find was the one made by Laerdal on GitHub When I try to build under iOS I am getting a few error like this one here: Error MT5211: Native linking failed,…
Pascale Beaulac
  • 889
  • 10
  • 28
0
votes
0 answers

React Native android app crash on android 12 after creating a patch for "react-native-nordic-dfu"

I create a new patch using patch-package for react-native-nordic-dfu and after that my app crash without opening. When crash the app I'm not getting any error log in metro Reason to create a patch because react-native-nordic-dfu not supporting for…
Ruchira Swarnapriya
  • 879
  • 2
  • 11
  • 23