i also have same problem i use flash driver setting process flash init -> erase -> programming -> read process that access after dont work flash debugging another board can do.
another board can use. i want to enforce flash reset and setting it will be fine. but i also, custom board, so i dont find how to reset this flash. flash tool dosen`t match com port i want to help too.