ChanServ changed the topic of #rust-embedded to: Welcome to the Rust Embedded IRC channel! Bridged to #rust-embedded:matrix.org and logged at https://libera.irclog.whitequark.org/rust-embedded, code of conduct at https://www.rust-lang.org/conduct.html
rmsyn[m] has joined #rust-embedded
<rmsyn[m]> @dirbaio: all the specs for SD card stuff is openly available online too: https://www.sdcard.org/downloads/pls/
<rmsyn[m]> I'm currently working on SD driver for a board I'm working on, and hope to be able to break it out into its own library. once it's solid enough, I should be able to port it into use with embedded-sdmmc
<rmsyn[m]> though, I guess the sdcard.org specs are all simplified. many thanks @whitequark
sroemer has joined #rust-embedded
BentoMon has quit [Read error: Connection reset by peer]
BentoMon has joined #rust-embedded
sroemer has quit [Ping timeout: 252 seconds]
cr1901_ has joined #rust-embedded
cr1901 has quit [Read error: Connection reset by peer]
sroemer has joined #rust-embedded
sroemer has quit [Ping timeout: 272 seconds]
<thejpster[m]> That issue says that CHECKED_FLASH_PROGRAMMING fixed it. I donโ€™t know what that does.
emerent has quit [Ping timeout: 260 seconds]
emerent has joined #rust-embedded
<shilga[m]> <thejpster[m]> "That issue says that CHECKED_FLA..." <- The answer to that is in that comment https://github.com/greiman/SdFat/issues/90#issuecomment-353729881
lehmrob has joined #rust-embedded
sroemer has joined #rust-embedded
sroemer has joined #rust-embedded
<shilga[m]> I measured something wrong yesterday. Well, it was late... I have a difference of 80mA on the power supply of the whole system (there are 2 voltage regulators before the sd card) if I put the sd card into sleep. That is definetely worth the one line after operation is finished: ```volume_mgr.device().spi(|dev|{dev.bus_mut().blocking_write(&[0xFF; 2]).unwrap();});```
<shilga[m]> Sadly CMD48 and CMD49 are not available in SPI mode. Those would be able to do power management. But they are in the 4 data line sd interface only for which you have to pay a license...
korken89[m] has joined #rust-embedded
<korken89[m]> I was checking `cortex-m-rt` for what symbols are available, and considered public, to set MSPLIM to get `flip-link` like functionality. I want to set it to `__euninit` which is address at where stack and statically allocated memory would collide, however there is no "public" symbol there.
<korken89[m]> What would be the best course of action here? Either one adds a feature like `set-msplim` that uses the internal symbol, or add a public symbol to indicate "end of statically allocated memory" so users can setup MSPLIM themselves in `pre_init`.
<JamesMunns[m]> You probably know, but msplim is only thumbv8
<JamesMunns[m]> (ah, I get it now, you want to set it for your project, not all of cortex-m-rt, you just need the info from cmrt to do so)
sroemer has quit [Ping timeout: 265 seconds]
<JamesMunns[m]> I didn't realize how conservative the claims on the defined linker symbols were: https://github.com/rust-embedded/cortex-m/blob/6a324a830fd3040181d18ce59ae05bd44e4759a6/cortex-m-rt/link.x.in#L3-L7
<korken89[m]> <JamesMunns[m]> "(ah, I get it now, you want to..." <- Correct :D
<korken89[m]> We have an Cortex-M33 MCU that has weird stuff that makes flip-link hard to use
<korken89[m]> And their C HAL uses MSPLIM, so I'd thought I'd copy that
<JamesMunns[m]> yeah, if you have thumbv8, it makes total sense to use msplim
<korken89[m]> <JamesMunns[m]> "I didn't realize how conservativ..." <- Indeed, I was reading this which caused my question. I think they won't be changed, but I'd also like to give it some better guarantees now that I'm poking at it :)
<korken89[m]> We have OKs to put time to extend open source stuff in the current project, so better make use of it ๐Ÿš€
<korken89[m]> Maybe this needs an issue though, so people can comment on it async
<korken89[m]> I just wanted to check if I missed something obvious
lehmrob has quit [Ping timeout: 252 seconds]
lehmrob has joined #rust-embedded
lehmrob has quit [Quit: Konversation terminated!]
lehmrob has joined #rust-embedded
marmrt[m] has quit [Quit: Idle timeout reached: 172800s]
sroemer has joined #rust-embedded
sroemer has quit [Ping timeout: 248 seconds]
lehmrob has quit [Remote host closed the connection]
Makarov has joined #rust-embedded
jasperw has quit [Ping timeout: 252 seconds]
phycrax[m] has quit [Quit: Idle timeout reached: 172800s]
jiande2020 has quit [Quit: Ping timeout (120 seconds)]
jiande2020 has joined #rust-embedded
vollbrecht[m] has quit [Quit: Idle timeout reached: 172800s]
limpkin has quit [Quit: limpkin]
limpkin has joined #rust-embedded
Makarov has quit [Quit: Client closed]
Makarov has joined #rust-embedded
jasperw has joined #rust-embedded
cinemaSundays has joined #rust-embedded
Makarov has quit [Quit: Client closed]
Makarov has joined #rust-embedded
cbjamo[m] has quit [Quit: Idle timeout reached: 172800s]
takkaryx[m] has quit [Quit: Idle timeout reached: 172800s]
Makarov has quit [Ping timeout: 256 seconds]
<thejpster[m]> Ugh, Long File Names are messy: https://github.com/rust-embedded-community/embedded-sdmmc-rs/pull/157