Programming V2 with Atmel-ICE, Pogo Pins and PCBWay | Details | Hackaday.io
<p>For V2 of the MidiCard Plus, I wanted all components to be assembled on the board, instead of having to solder a module onto the MidiCard. I went with the same ATSAMD21G18A chip that the Xiao uses, and followed a few similar SAM D21 schematics to design my own PCB with a USB C connector, a 32.768kHz oscillator, indicator LEDs, and a 3.3v regulator. I had an EE review my PCB and he recommended putting all of my decoupling capacitors closer to the chip.</p>
<p>To program the board, I'd still use USB and Arduino, but since the ATSAMD21G18A doesn't come with a bootloader, I'd need to expose the SWD pins to burn the bootloader first, and I purchased an Atmel-ICE in-circuit debugger to program it. I decided to try exposing the SWD pins as test pads, and bought some 1mm pogo pins to connect to them.</p>
<figure><img class="lazy" data-src="https://cdn.hackaday.io/images/7516191730272712764.jpg"></figure>
<p><a href="https://www.pcbway.com" target="_blank">PCBWay</a> graciously offered to sponsor this project, so I ordered my first order through them. They acquired all of the components in my BOM and assembled them, sending me photos to verify the assembly. I added piano keys to the silkscreen to make it more obvious that it's a piano keyboard. The resulting PCBs came out great:</p>
<figure><img
hackaday.io