This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C2000WARE: Serial Flash Programmer: Bug in Erase Sector for F2838x

Part Number: C2000WARE


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