Hi,
So you erased BAF code.
BAF area is OTP only on latest samples.
It wasn't OTP before, so user could program his own BAF (like aerospace projects). But we decided to lock it on latest sample as users often erased this BAF area.
If you have more samples, then just take fresh sample, dump BAF flash block and load it to failing sample.
If not, then let me know which device cut are you using and I can sent it to you.
Peter