Romtable reading on the STM is weird somehow. when the STM is connected fresh from reset it has an invalid preamble in the romtables; when swviewer is connected once it reads properly afterwards. so it seems like we forget to enable something
@@ -280,6 +280,7 @@ impl<'c> ComponentInformationReader<'c> {
#![allow(clippy::verbose_bit_mask)]
let mut cidr = [0u32; 4];
+ println!("BASE: {:#x?}", self.base_address);
self.core
.read_32(self.base_address as u32 + 0xFF0, &mut cidr)
.map_err(RomTableError::Memory)?;
