Skip to content

Error: Operation failed, DFU State: DFU_FAILED, nRF52832, Adafruit Bootloader #93

Closed
@SaltedBlowfish

Description

@SaltedBlowfish

Hello!

Looking for some guidance here. I have the library installed and "functional" but I believe I have identified an issue with the packets per connection interval causing the update to crash.

Error (from exception on phone):

Error: Operation failed

DFU logging in console:

LOG  DFU State: CONNECTING
LOG  DFU State: DFU_PROCESS_STARTING
LOG  DFU State: ENABLING_DFU_MODE
LOG  DFU State: DFU_PROCESS_STARTING
LOG  DFU State: DFU_STATE_UPLOADING
LOG  DFU progress: 0%
LOG  DFU State: DFU_FAILED

The Nordic nRF Connect app throws the same error but provides an error code, which I've come to realize happens when the phone sends too many packets. I turned the "PRN" option in the Nordic app down to 6 (from 12) and the firmware update works fine.

Seems like we need a way to throttle the speed of the upload for devices that can't handle it.

Here is some more info on my setup:

iOS 13.3.1
iPhone 11 Pro Max
nRF52832
Adafruit Bootloader: feather_nrf52832_bootloader-0.3.2_s132_6.1.1.hex (latest)
react-native-ble-manager: 7.2.0
react-native-nordic-dfu: 3.0.1

Any advice is appreciated! Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions