mattairtech / ArduinoCore-samd

This is a fork from arduino/ArduinoCore-samd on GitHub. This will be used to maintain Arduino support for SAM D|L|C (M0+ and M4F) boards including the MattairTech Xeno Mini and the MT-D21E (see https://www.mattairtech.com/). It adds support for new devices like the D51, L21, C21, and D11. It also adds new clock sources, like a high speed crystal or internal oscillator.
103 stars 43 forks source link

Default Settings for SAMDG17A #42

Open ex-caliper opened 3 years ago

ex-caliper commented 3 years ago

Hi,

I have a no frills custom SAMD21G17A breakout board modelled upon the Arduino Zero with only a 6 pin Cortex Debug Connector and Micro USB access. I have loaded your ‘sam_ba_Generic_x21G_SAMD21G17A.bin’ bootloader. From your hard work, there is a great deal of information to absorb to even upload a simple blink sketch to this processor. On the face of it, apart from the memory being half that of the SAMD21G18A, it shouldn’t present a problem. Obviously, I’m missing something. Having made your boards available through additional boards URL: ‘https://www.mattairtech.com/software/arduino/package_MattairTech_index.json’ I have my Arduino IDE set up as default:

Board: MattairTech Xeno Mini Port: COM 7 (MattairTech Xeno Mini) Bootloader Size: 8KB Clock Source: 32KH_CRYSTAL Build Options: config.h disabled Microcontroller: SAMDG17A Floating Point: String use auto-prompted doubles only Serial Config: ONE_UART_ONE_WIRE_ONE_SPI Timer PWM Frequency: 732.4 Hz (16 bit) USB Config: CDC_ONLY

After a struggle, I have managed to upload the blink sketch with the above settings, but as my LED is on PA17 presumably I may have a pin allocation problem globally. At the risk of appearing lazy and trying to address a multitude of combinations, could you please point me in the right direction to get this processor working.

Many thanks in anticipation..