Hi,
I am trying to program a custom SAMD21G18 board based on the Arduino Zero. I'm using an FT2232 connected to the SAMDs sercom4 on ports PB10 and PB11, and I wish to program the microcontroller through it. I have burnt the bootloader using an Atmel Ice, and with it, I can upload sketches, but when I try to upload through USB it says this:
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
Uploading using selected port: COM5
C:\Users\***\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3/bossac.exe -i -d --port=COM5 -U true -i -e -w -v C:\Users\***\AppData\Local\Temp\arduino_build_285677/main.ino.bin -R
Set binary mode
No device found on COM5
Send auto-baud
Set binary mode
An error occurred while uploading the sketch
I've tried programming it by setting the board to Arduino Zero, MKR Zero, and a custom board, but to no avail. I am also double-pressing the reset button to enter the bootloader mode before I upload. I have also verified with an oscilloscope that the SAMD21 is being sent data.
I know that the serial port works, as I can both receive and transmit data with the Serial plotter.
Would be great if someone has any suggestions, thanks for the help!