<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.
<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`.
<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]