Add -E option to enable erasing only used flash