Skip to content

Timing out waiting for ack or nack response #1

@Elp03

Description

@Elp03

Hi!
I am using a probe-rs for programming nrf9151, and I have a problem with the program not functioning due to timing out waiting for ACK or NACK.

I have tried to set the speed down, and then I got further in programming the Nordic chip, but it still times out waiting for ACK or NACK.

Here is the error message with a speed of 1.

cargo run --bin updater -- program path/mfw_nrf91x1_2.0.2.zip 
   Compiling modem_updater v0.1.0 (path/modem_updater)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.62s
     Running `target/debug/updater program path/mfw_nrf91x1_2.0.2.zip`
[2025-04-29T08:12:39Z INFO  modem_updater] UICR.HFXOSR is not set, setting it to 0x0E
[2025-04-29T08:12:39Z INFO  modem_updater] UICR.HFXOCNT is not set, setting it to 0x20
[2025-04-29T08:12:49Z INFO  modem_updater] ACK response, code A5000001
[2025-04-29T08:12:49Z INFO  modem_updater] modem_firmware_loader version: 2.1.0
[2025-04-29T08:12:49Z INFO  modem_updater] Using pipelined loader
[2025-04-29T08:12:49Z INFO  modem_updater] Inserting segment: 0:firmware.update.image.segments.0.hex
[2025-04-29T08:12:49Z INFO  modem_updater] Inserting segment: 1:firmware.update.image.segments.1.hex
[2025-04-29T08:12:49Z INFO  modem_updater] Parsing segment digests
[2025-04-29T08:12:50Z INFO  modem_updater] Firmware digest: 056C7DA80536A2AEA9EBEC3855A3D977F41B814237E5922809D4E7306BB14D92
[2025-04-29T08:12:50Z INFO  modem_updater] Programming modem firmware loader: /tmp/.tmpt6Dri4/21746FD.ipc_dfu.signed_2.1.0.ihex

thread 'main' panicked at src/bin/updater.rs:122:43:
called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "Timeout waiting for ACK or NACK response" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

``

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