You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Retrieve a slice of data from `FLASH_START + offset`pubfn read(&self,offset:u32,length:usize) -> Result<&[u8]>{self.valid_address(offset)?;if offset + length asu32 > self.flash_sz.kbytes(){returnErr(Error::LengthTooLong);}
I do not believe that check takes dual bank flash into account (RM)
From what I can tell from the table in the RM, the address offset 0x0004_0000 (Page 0 on Bank 2) should be valid for all devices supporting dual bank and having it enabled no matter 128, 256 or 512kB. However trying to read from that on an 256kB device gives Err(Error::LengthTooLong)
I do not believe that check takes dual bank flash into account (RM)
From what I can tell from the table in the RM, the address offset
0x0004_0000
(Page 0 on Bank 2) should be valid for all devices supporting dual bank and having it enabled no matter 128, 256 or 512kB. However trying to read from that on an 256kB device givesErr(Error::LengthTooLong)
The text was updated successfully, but these errors were encountered: