Skip to content

async task failure for id: 2129747135864 msg: [sdfu] (Origin: "Error when running device operation program") #364

@juneofive

Description

@juneofive

The following error occurred when I used programmer to upgrade the USB DFU device, but everything worked fine when I used nrfutil
HW:nRF52840 DK
softdevice:7.2.0
sdk:17.1.0
programmer:3.0.8

the erro log:

2023-06-05T08:43:40.089Z INFO Getting serialport options from persistent store D23AFD4D6251.pc-nrfconnect-programmer
2023-06-05T08:43:44.997Z DEBUG Sending usage data {"category":"pc-nrfconnect-programmer","action":"architecture","label":"x64"}
2023-06-05T08:43:45.008Z DEBUG Sending usage data {"category":"pc-nrfconnect-programmer","action":"Open device","label":"nordicUsb"}
2023-06-05T08:43:45.014Z INFO Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
2023-06-05T08:43:45.015Z DEBUG Sending usage data {"category":"pc-nrfconnect-programmer","action":"Open jlink device family","label":"NRF52_FAMILY"}
2023-06-05T08:43:45.017Z DEBUG Sending usage data {"category":"pc-nrfconnect-programmer","action":"Open jlink device version","label":"nRF52840"}
2023-06-05T08:43:45.019Z DEBUG Sending usage data {"category":"pc-nrfconnect-programmer","action":"Open jlink device board version","label":"PCA10059"}
2023-06-05T08:43:45.528Z INFO Update files regions according to Application core
2023-06-05T08:43:45.531Z INFO Parse memory regions for file
2023-06-05T08:44:15.113Z INFO Checking ZIP file:  E:\work\资料\nordic_sdk_17aoa\project\pca10056\s140\arm5_no_packs\dfufiles\dfufile.zip
2023-06-05T08:44:15.148Z INFO File was last modified at  2023/6/2 16:42:28
2023-06-05T08:44:25.512Z INFO Parsing HEX file:  E:\work\资料\nordic_sdk_17aoa\project\pca10056\s140\arm5_no_packs\dfufiles\app.hex
2023-06-05T08:44:25.512Z INFO File was last modified at  2023/6/2 16:41:45
2023-06-05T08:44:25.558Z INFO Update files regions according to Application core
2023-06-05T08:44:25.558Z INFO Parse memory regions for file
2023-06-05T08:44:29.386Z INFO Does not need to be reloaded:  E:\work\资料\nordic_sdk_17aoa\project\pca10056\s140\arm5_no_packs\dfufiles\app.hex
2023-06-05T08:44:29.394Z INFO Hash is generated by SHA256
2023-06-05T08:44:32.993Z INFO Performing DFU. This may take a few seconds
2023-06-05T08:44:33.032Z INFO  0%
2023-06-05T08:44:33.470Z INFO Opening serial port for SDFU programming: 100%
2023-06-05T08:44:33.592Z INFO Uploading image through SDFU: 0%
2023-06-05T08:44:33.656Z ERROR async task failure for id: 2129747135864 msg: [sdfu]  (Origin: "Error when running device operation program")
2023-06-05T08:44:33.657Z ERROR Failed to write: async task failure for id: 2129747135864 msg: [sdfu]  (Origin: "Error when running device operation program")
2023-06-05T08:44:34.178Z INFO Update files regions according to Application core
2023-06-05T08:44:34.178Z INFO Parse memory regions for file

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