<!-- ************************************** WARNING ************************************** The ciarcom bot parses this header automatically. Any deviation from the template may cause the bot to automatically correct this header or may result in a warning message, requesting updates. Please ensure all sections of the template below are filled in and no changes are made to the template format. Only bugs should be raised here as issues. Questions or enhancements should instead be raised on our forums: https://forums.mbed.com/ . ************************************************************************************* --> ### Description of defect Erase calls a "no region found for address error" program operations appear to be offset by 1 Running the spif example (with some additional printfs) from https://os.mbed.com/docs/mbed-os/v6.2/apis/spi-flash-block-device.html produces the following output: spif size: 2097152 spif read size: 1 spif program size: 1 spif erase size: 4096 Erase Failed: -4005 Contents: ello World! #### Target(s) affected by this defect ? K64F #### Toolchain(s) (name and version) displaying this defect ? ARM6 #### What version of Mbed-os are you using (tag or sha) ? 6.2.0 SHA: a2ada74770f043aff3e61e29d164a8e78274fcd4 #### What version(s) of tools are you using. List all that apply (E.g. mbed-cli) mbed studio #### How is this defect reproduced ? Run the example from https://os.mbed.com/docs/mbed-os/v6.2/apis/spi-flash-block-device.html on a board with a k64f and a SST26VF016