I've made a board with SAMD21G17D and Murata LoRa-module CMWX1ZZABZ-078.
I have never worked with bootloaders before and decided to flash sam_ba_Generic_x21G_SAMD21G17A.bin to SAMD21G17D thinking it's close enough and couldn't find a better match. I believe it's from MattairTech. Flashing was easy with ATMEL-ICE via SWD-interface and Microchip Studio.
To program the board I switched to Arduino IDE and used SAMD21G17D USB-port. I'm able to read board info (strangely though it says "SAMD11C DevBoard"). But I'm not able to program the board. Depending on what board I select as the target I get error messages like "No device found onCOMx" (but I was just before able to read board info).
Did I flash wrong bootloader? Which bootloader I should use?
What settings (board) I should use in Arduido IDE?