Skip to content

probe-rs link ch32v003 failed #108

@xiaguangbo

Description

@xiaguangbo

.cargo/config.toml:

[build]
target = "riscv32ec-unknown-none-elf.json"

[target."riscv32ec-unknown-none-elf"]
runner = "probe-rs run --chip ch32v003"

[unstable]
build-std = ["core"]

xiaguangbo@fedora:~/xiaguangbo/linux/project/riscx32/program_riscx32/project$ cargo run --release
    Finished `release` profile [optimized] target(s) in 0.08s
     Running `probe-rs run --chip ch32v003 target/riscv32ec-unknown-none-elf/release/project`

thread 'tokio-runtime-worker' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitvec-1.0.1/src/field.rs:526:2:
cannot load 32 bits from a 64-bit region
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 WARN postcard_rpc::host_client::util: in_worker: wire receive error, exiting

thread 'main' panicked at probe-rs-tools/src/bin/probe-rs/main.rs:517:22:
called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(25), "cannot load 32 bits from a 64-bit region", ...)

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