Bootloader bug samd21_ba ? Arduino Zero M0

Hi All,
I have flashed my custom M0 board with: samd21_sam_ba.bin using Atmel studio and Jlink,however the Arduino IDE is not recognising the Board as well as MCU is now locked and I can't reflash the board.

Any solution?

Board schematic: same as : sparkfun-samd21-pro-breakout

The board did work with Sparkfun's bootloader but when I flashed samd21_sam_ba.bin it did not recognise by Arduino IDE and now it is locked!

Also,
What is the difference between samd21_sam_ba and samd21_sam_ba_genuino version??

Best regards