diff --git a/CHANGELOG.md b/CHANGELOG.md index 4423945c..61c2e119 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [Windows] Fixed a crash in monitor when espflash is connected via USB Serial/JTAG, and the user is typing into the monitor but the device is not reading serial input. (#943) - [Linux/MacOS] Fixed espflash hanging when espflash is connected via USB Serial/JTAG, and the user is typing into the monitor but the device is not reading serial input. (#944, #945) - +- Fixed ESP32-S2 flash size detection issues (#950) ### Removed diff --git a/espflash/src/target/mod.rs b/espflash/src/target/mod.rs index fdcf2c35..cfdfabbc 100644 --- a/espflash/src/target/mod.rs +++ b/espflash/src/target/mod.rs @@ -872,7 +872,7 @@ impl Chip { miso_length_offset: Some(0x28), }, Chip::Esp32s2 => SpiRegisters { - base: 0x3f40_3000, + base: 0x3f40_2000, usr_offset: 0x18, usr1_offset: 0x1c, usr2_offset: 0x20,