!zbjndUiYJDvhDRkPGw:matrix.org

rp-rs

103 Members
Rust on the Raspberry Pi Microcontrollers/Pico https://github.com/rp-rs 16 Servers

Load older messages


SenderMessageTime
31 Jul 2021
@9names:matrix.org9namesmaybe. i think you also need to be using the git version of probe-rs to get multidrop support10:29:04
@9names:matrix.org9nameswhich you need to talk to rp204010:29:27
@9names:matrix.org9namesyou can use dirbaio's instructions from here to install the custom fork of probe-run that added support for rp2040 https://github.com/rp-rs/sample-project10:31:54
@9names:matrix.org9names * you can use dirbaio's instructions from here to install the custom fork of probe-run that added support for rp2040 https://github.com/rp-rs/sample-project12:23:43
@9names:matrix.org9names

if you think it's udev issues, you can check if probe-rs detects it by using probe-rs-cli list

probe-rs-cli list
The following devices were found:
[0]: WeAct CMSIS-DAP (VID: c251, PID: f001, Serial: 0001A0000000, DAPLink)

udev line for my cmsis-dap probe is

SUBSYSTEM=="usb", ATTR{idVendor}=="c251", ATTR{idProduct}=="f001", MODE:="666"
12:40:42
@9names:matrix.org9names

with pico-debug-gimmecache

probe-rs-cli list
The following devices were found:
[0]: CMSIS-DAP (VID: 1209, PID: 2488, Serial: E66038B7138A3830, DAPLink)

probe-run-rp --chip rp2040 target/thumbv6m-none-eabi/release/examples/blinky
  (HOST) INFO  flashing program (1.00 KiB)
  (HOST) INFO  success!

but the blinky does not blink

12:57:59
@dirbaio:matrix.orgdirbaioI tried pico-debug a few weeks ago and it did flash and boot fine 13:40:03
@dirbaio:matrix.orgdirbaioBut it was a bit unstable 13:40:22
@9names:matrix.org9namesit is flashing just fine, just wasn't running afterwards. not sure, don't think it's really worth investigating running the debugger on the second core.14:14:29
@9names:matrix.org9names * it is flashing just fine, just wasn't running afterwards. not sure, don't think it's really worth investigating running the debugger on the second core.14:19:46
@pcmxmx:matrix.org@pcmxmx:matrix.org left the room.15:01:52
@hmvp:matrix.orgHmvp
In reply to @9names:matrix.org
it is flashing just fine, just wasn't running afterwards. not sure, don't think it's really worth investigating running the debugger on the second core.
Ah got the blinky example working, but everything that sets up clocks probably breaks and the timing is off for the blinky example since the clocks are already setup... But it seems a bit... brittle..
18:15:33
@richardanaya:matrix.orgrichardanayaGot some more svd changes in today :)20:12:26
@richardanaya:matrix.orgrichardanayaIf anyone finds stuff they want changed in SVD let me know!20:12:39
1 Aug 2021
@9names:matrix.org9nameswish you offered yesterday, would have asked you to do the spinlock registers for me ;)04:08:48
@9names:matrix.org9namesOh you already did, whoops! 🤣 I should have checked my email before commenting. If you reopen your PR and switch to the more concise format that I used I'll get it merged. Can't review my own code, can't merge into the PAC repo until reviewed by someone with write access (and they are busier than I am)04:57:23
@abgeana:matrix.orgabgeanaI'm kinda new to the rust ecosystem, can anyone tell me how the sample project automatically builds for thumbv6m?09:56:46
@abgeana:matrix.orgabgeanai mean, where is this configured?09:57:05
@abgeana:matrix.orgabgeanai was initially thinking in Cargo.toml but there's nothing there09:57:23
@9names:matrix.org9namesit's in .cargo/config09:59:57
@abgeana:matrix.orgabgeanawelp... today i learned that ripgrep skips hidden folders... anyways, thanks 👍10:08:54
@9names:matrix.org9namesi think i learned that the hard way too10:17:59
@9names:matrix.org9namesI did up a sample project for rp2040-hal based on https://github.com/rp-rs/sample-project and https://github.com/knurling-rs/app-template so we have an RTT-ready project for hal users to start with. It's currently living at https://github.com/9names/app-template-rp2040-hal instead of in the rp-rs org to avoid people jumping on it before you folks can review it. I've tried to reorganize the documentation to make it easier for a newbie to follow, so I'd appreciate feedback if you find it confusing. I pulled dirbaio out of the authors list so he doesn't get harassed for my bugs, not because I'm trying to take credit for his work.13:52:50
@dirbaio:matrix.orgdirbaio

so he doesn't get harassed for my bugs

🤣

13:55:14
@dirbaio:matrix.orgdirbaiomaybe the exmaples should be inside the rp-hal repo? 13:55:30
@dirbaio:matrix.orgdirbaioso they can be checked by CI13:55:33
@dirbaio:matrix.orgdirbaioand if so, archive all the other random example repos so newcomers aren't confused :D13:55:57
@9names:matrix.org9namesthe examples are in the rp-hal repo. not checked by CI because of CI problems https://github.com/rp-rs/rp-hal/issues/33 agreed that we need to do something about the abandoned repos though14:01:53
@9names:matrix.org9namesthe CI problems are probably simple but I'm not very experienced with either github's CI system or running rust CI jobs14:03:34
@9names:matrix.org9namesI think I'm remembering incorrectly and it's just the doc examples that aren't being checked? https://github.com/rp-rs/rp-hal/runs/3208272664?check_suite_focus=true#step:6:814:08:26

There are no newer messages yet.


Back to Room List