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
YuhanLin[m] has quit [Quit: Idle timeout reached: 172800s]
<geky[m]> Oh I never knew that were variable at some point. I believe they're fixed at 512 to be compatible with spinny disks, where sectors are always 512 bytes
<geky[m]> Internally they usually have much larger flash blocks, and I think there's extra SDIO commands to query for that, but the FTL layer hides this
<geky[m]> I think for some cards it's possible to query/erase/prog the underlying flash blocks directly, which may be more efficient if the fs already targets flash, but I don't know how universal those commands will be
<M9names[m]> If we're talking spinny disks, sectors definitely aren't always 512 - see "advanced format" on Wikipedia
<geky[m]> Oh huh, I stand corrected
<geky[m]> Looks like most 4K sector spinny disks also emulate 512 byte sectors for compatibility, which is a bit funny
jxsl has joined #rust-embedded
vancz has quit [Server closed connection]
vancz has joined #rust-embedded
<AlexandervanSaas> Noob question: is flash erase size and page size the same thing?
K900 has joined #rust-embedded
<K900> Not always
<K900> Some flash chips have a different erase size and write size
richardeoin has quit [Server closed connection]
richardeoin has joined #rust-embedded
<geky[m]> My understanding is the page size is just the size of internal registers/buses. So it can be useful to optimize around, but is less important than the minimal program size/erase size. On NOR flash the minimal prog size is usually 1 byte, but programming 1 byte vs 256 bytes take roughly the same amount of time. Erase (setting the flash to 0xffs before programming) is usually much chonkier at around ~4KiB.
zagura has quit [Server closed connection]
zagura has joined #rust-embedded
<diondokter[m]> <AlexandervanSaas> "Noob question: is flash erase..." <- As far as sequential-storage is concerned, yes
wassasin[m] has quit [Quit: Idle timeout reached: 172800s]
vollbrecht[m] has quit [Quit: Idle timeout reached: 172800s]
AdamHorden has quit [Server closed connection]
AdamHorden has joined #rust-embedded
pbsds3 has quit [Server closed connection]
pbsds3 has joined #rust-embedded
Rahix has quit [Server closed connection]
Rahix has joined #rust-embedded
kenny has quit [Server closed connection]
kenny has joined #rust-embedded
ello_ has quit [Server closed connection]
ello has joined #rust-embedded
hmw has quit [Quit: Bye.]
hmw has joined #rust-embedded
ruabmbua[m] has quit [Quit: Idle timeout reached: 172800s]
cr1901 has quit [Server closed connection]
cr1901 has joined #rust-embedded
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded
WSalmon has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
WSalmon has joined #rust-embedded
rom4ik has quit [Quit: bye]
rom4ik1 has joined #rust-embedded
rom4ik1 has quit [Quit: bye]
rom4ik1 has joined #rust-embedded
rom4ik1 has quit [Quit: bye]
rom4ik1 has joined #rust-embedded
rom4ik1 has quit [Quit: bye]
rom4ik1 has joined #rust-embedded
tuxmix[m] has quit [Quit: Idle timeout reached: 172800s]
jxsl has quit [Ping timeout: 265 seconds]
danielb[m] has quit [Quit: Idle timeout reached: 172800s]
subtlename has quit [Ping timeout: 256 seconds]
subtlename has joined #rust-embedded
subtlename has quit [Changing host]
subtlename has joined #rust-embedded
merayen has quit [Server closed connection]
merayen has joined #rust-embedded