<lowq>
I actually don't have an msp430 unfortunately
<cr1901>
Ahhh I see. Happy to hear that ppl think msp430 is a good option tho :D
explore has quit [Quit: Connection closed for inactivity]
<lowq>
Yeah, I was just shopping around, wasn't really sure if it was (and might have mis-remembered what I read)
cr1901_ has joined #rust-embedded
cr1901__ has joined #rust-embedded
cr1901 has quit [Ping timeout: 240 seconds]
cr1901_ has quit [Ping timeout: 240 seconds]
cr1901 has joined #rust-embedded
cr1901__ has quit [Ping timeout: 240 seconds]
cr1901_ has joined #rust-embedded
cr1901 has quit [Killed (NickServ (GHOST command used by cr1901_))]
cr1901_ is now known as cr1901
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded
emerent has quit [Ping timeout: 240 seconds]
emerent has joined #rust-embedded
Socke has quit [Ping timeout: 240 seconds]
Socke has joined #rust-embedded
lowq has quit [Ping timeout: 240 seconds]
ymwm has joined #rust-embedded
<re_irc>
<justacec> Saying something. :). [Resetting my channel timeout]
<re_irc>
<9names (@9names:matrix.org)> if you're concerned about such things, i'm sure that adding a reaction to a comment would be just as effective and 100% less spammy
<re_irc>
<K900> Maybe they got confused by the "ping timeout" messages?
<re_irc>
<K900> Those come from the IRC side
<re_irc>
<9names (@9names:matrix.org)> or... are you behind the bridge? (hard to tell these days)
<re_irc>
<K900> Not Matrix
<re_irc>
<K900> So nothing to worry about really
<re_irc>
<9names (@9names:matrix.org)> oh
<re_irc>
<floofstrid> hi! i have no idea where else to ask this, so hopefully this is a decent place. I'm trying to get a cmsis-dap debug probe running on the only board i can program rn (an STM32F746 discovery). I found this: https://github.com/probe-rs/hs-probe-firmware, does anyone have experience getting this or something similar running on one of these?
<re_irc>
<floofstrid> i did attempt to flash it as is but it's Not Working(tm) and i don't know where to start figuring out why
<re_irc>
<floofstrid> failing that, maybe someone here has recommendations for a cheap/accessible board to turn into a probe? i'd get a j-link edu mini but it's chronically sold out everywhere :/
<re_irc>
<9names (@9names:matrix.org)> the weact usb-c pill works pretty well
<re_irc>
i usually use a raspberry pi pico with the dapper-mime firmware or the prototype firmware for the pio-probe.
<re_irc>
<9names (@9names:matrix.org)> anything you can run daplink on should also be fine
<re_irc>
<floofstrid> do you know if this is available anywhere in EU?
<re_irc>
<floofstrid> i see some clones on amazon.de but idk if those are any good
<re_irc>
<9names (@9names:matrix.org)> no idea about EU. and generally, availability for everything is pretty bad at the moment
<re_irc>
<floofstrid> yeah, i've noticed
<re_irc>
<floofstrid> hence trying to make do with what i have :p
ymwm has quit [Ping timeout: 240 seconds]
<re_irc>
<therealprof> floofstrid: They're way overpriced and very likely not genuine.
<re_irc>
<therealprof> Oh wow, in 2020 I bought 3 genuine ones for less than one fake one costs now.
jackneillll has joined #rust-embedded
re_irc_ has joined #rust-embedded
starblue has quit [Ping timeout: 240 seconds]
jackneilll has quit [Remote host closed the connection]
VShell has joined #rust-embedded
Foxyloxy_ has joined #rust-embedded
Shell has quit [Killed (zirconium.libera.chat (Nickname regained by services))]
VShell is now known as Shell
re_irc has quit [Ping timeout: 240 seconds]
Foxyloxy has quit [Ping timeout: 240 seconds]
re_irc_ is now known as re_irc
<re_irc>
<James Munns> I haven't checked recently, but Adafruit stocks them, and Digikey has distribution for most of Adafruit's stock, though you have to hit 50EUR for free shipping from digikey
<re_irc>
<James Munns> If you find Adafruit's P/N for the usb-c pills, you can search that on Digikey
hifi has quit [Ping timeout: 250 seconds]
rektide has quit [Ping timeout: 250 seconds]
rektide has joined #rust-embedded
<re_irc>
<TimSmall> floofstrid: Might be best just to go for something RP2040 based for the time being, they aren't in short supply...
hifi has joined #rust-embedded
<re_irc>
<floofstrid> digikey is weird with customs but i can do mouser if they have them
<re_irc>
<floofstrid> do the rp2040s come with presoldered headers?
<re_irc>
<TimSmall> floofstrid: There's also this: https://github.com/probe-rs/rusty-probe ...which is still a work in progress, so not yet available, but it does (will) have full Rust firmware (also usable on the Pico etc.).
<re_irc>
<TimSmall> I haven't needed to use raw pointer in rust until now (also haven't done any rust coding since December so lots of things seem to have fallen out of my brain), but I'm debugging what I suspect might be an SVD error, so is there an easy way to get the address of a register (I want to see if there's anything in the next register - which is missing from most of the SVD files, but I'd like to check if it's actually missing...
<re_irc>
... or not)...
<re_irc>
... so is there an easy way to say "give me the address of "(*USART::ptr()).cr3", so that I can add 4 to it, and treat it like it's a u32?". This is just throwaway debug code BTW, if it turns out the register is really there, then I'll patch the SVD...
<re_irc>
<yruama_lairba> in fact, i'm trying to implment full duplex I2s on stm32_i2s_v12 crates and as i progress into my work, i find issues in the current work
<re_irc>
<yruama_lairba> one of this issue may a wrong use of the nb API
<re_irc>
<yruama_lairba> one function return the Ok() variant of nb::Result while doing blocking io :/
<re_irc>
<yruama_lairba> this function is supposed to transmit one audio sample, but depending the audio bit depth, 2 writes to the peripheral may required
<re_irc>
<yruama_lairba> the blocking behaviour is even documented :p
<re_irc>
<dirbaio> heh
<re_irc>
<dirbaio> yeah
<re_irc>
<dirbaio> if a fn returning "nb::Result" has to do two writes, and the first write completes and the second fails with WouldBlock, it has to somehow "remember" it has a write "half done" so that it continues the next time the user calls it
<re_irc>
<dirbaio> where do you store that? in "self" is super error prone
<re_irc>
<dirbaio> you can return a struct representing an "in-progress" transfer and have the user poll that
<re_irc>
<dirbaio> but at that point you're reinventing async futures :)
<re_irc>
<dirbaio> so that code goes "meh, too hard, let's just block" :P
<re_irc>
<yruama_lairba> ok, but i don't use yet async API
<re_irc>
<yruama_lairba> it's a paradigm i'm not used to at all
<re_irc>
<yruama_lairba> for the moment, i just wonder if i will fully rewrite this crate.
<re_irc>
<yruama_lairba> who use rls here ? I have a lint error about missing "test" crate, i'd like to know what option is wrong
<re_irc>
<therealprof> rls is close to obsolete now. rust-analyzer is going to officially replace rls soon (inofficially it has long replaced it already).
<re_irc>
<yruama_lairba> therealprof: i hope there will be an integration with vim
<cr1901>
VSCode seems to be the "blessed" editor for Rust work
<re_irc>
<therealprof> yruama_lairba: Works fine.
<re_irc>
<therealprof> I've used rust-analyzer with vim for a long time now.
<re_irc>
<therealprof> I even forgot what the first integration bridge was, before I switched to neovim (also a while ago) I was using coc.
<re_irc>
<yruama_lairba> that me or spi in stmf4xx-hal doesn't support slave opperation ?