
29 Sep
2015
29 Sep
'15
3:58 p.m.
On Tue, Sep 29, 2015 at 10:54 AM, Jagan Teki jteki@openedev.com wrote:
What if sf erase 0x3f0000 0x20000 - it should skip first 0x10000 from 0x3f0000 and then erase next 0x10000 from (0x3f0000+0x10000) did you verify this?
On my case (M25P32) the 0x3f0000 is the last sector (sector size is 0x10000), so we cannot pass 0x20000.
Doing so we correctly get the error below:
=> sf erase 0x3f0000 0x20000 ERROR: attempting erase past flash size (0x400000)
Regards,
Fabio Estevam