Hi
Using the serial_flash_programmer tool, I was trying to erase specific sectors of flash but any of them were allowed, only the option "ALL" was accepted

Debugging de Source Code I realized some "else"s were forgotten.
Here is the fix:
in file "serial_flash_programmer.cpp"
function: void setEraseSector(unsigned int CPU, uint32_t Sector)

without the else statements, it was jumping to the last else and assinging sector=256, not allowing me to select the desired sector.
Regards
Agustin