jkelleyrtp / dw1000-rs

Rust driver crate for the Decawave DW1000 UWB transceiver
49 stars 11 forks source link

How to flash for DWM1001? #143

Closed jkelleyrtp closed 3 years ago

jkelleyrtp commented 3 years ago

Just curious - how are you flashing the DWM1001? Are you using an external debugger/probe, or the onboard stm32? When I try to list-probes with the DWM1001 plugged in over USB, it doesn't see the ST-Link probe that I should.

hannobraun commented 3 years ago

Hey @jkelleyrtp. I've been using cargo-embed (see Embed.toml) with the on-board J-Link (no ST-Link there, as far as I know; possibly a typo?).

Running something like cargo embed --example some_example from the dwm1001/ directory should do the trick. Unless you have multiple boards connected, in which case you have to tell cargo-embed which one you mean.

jkelleyrtp commented 3 years ago

Hey @jkelleyrtp. I've been using cargo-embed (see Embed.toml) with the on-board J-Link (no ST-Link there, as far as I know; possibly a typo?).

Running something like cargo embed --example some_example from the dwm1001/ directory should do the trick. Unless you have multiple boards connected, in which case you have to tell cargo-embed which one you mean.

Yep J-Link, my bad :-).

Looks like I had 2 bad USB cables, third one was the charm.

Thanks!