Solved
It seems that erasing selected sectors does not work with B-U585I-IOT02A. If I read back flash, it is not 0xff filled. Full chip erase is OK. Is this known issue ?
..
..
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.