Hello everyone,
I've designed a custom PCB using the SAMD21G18 microcontroller and uploaded the Arduino Zero Bootloader. I followed this YouTube tutorial and used an SWD interface with a Raspberry Pi to upload the bootloader.
However, I'm encountering a couple of issues:
- PC Recognition: My PC only recognizes the board when it is in Bootloader mode (activated by double-clicking the Reset button). When I upload a simple blink sketch, it doesn't run initially. I managed to get the sketch to run by shorting PA07(the pin controlling my LED). Once the sketch started, my PC recognized a USB device but identified it as an unknown type. But my does recognize the normal Arduino Zero (both Ports)
- No External Crystal: I am not using an external crystal for the SAMD21G18. I have set the
CRYSTALLESSparameter in the bootloader make options accordingly. The bootloader I'm using is from the ArduinoCore-samd repository.
Any suggestions or guidance would be greatly appreciated!
Thank you!