Overview:
This application implements a USB Device CDC and a I2C master for SAM devices, it works as a bridge between I2C slave and the USB CDC interface.
This application has been tested on following boards:
A python script (bootloader.py in script folder) is used on the host PC to send data over USB CDC interface, example application bin file(to be programmed) starts at 0x2000. To run the python script, execute a command for example as below: python bootloader.py -p COM20 -i led_toggle_flash.bin Make sure that python environment is installed on your PC,
For SAM D21 Xplained Pro: I2C slave should be connected to PIN11 (PA08 - SDA) and PIN12 (PA09 - SCL) on External header 1 (EXT1).
This software was written for the GNU GCC and IAR for ARM. Other compilers may or may not work.
For further information, visit http://www.microchip.com.
Support and FAQ: visit Microchip Support