Skip to content

My Atsamd11c14a

In this documentation, I will go through my failures and success storys of ATSAMD11C14A.

So What is ATSAMD11C14A

  • It is an ARM based microcontroller, which comes under the series of M0+ Cortex
  • It is one of the new microcontroller, which have more advantages that AVR chips
  • It requires single boot with programmer, and rest of the flash can be done only with microcontroller there is no requirement of programmer
  • .
  • It has more flash memory to store your programe
  • It follows only Jtag (Joint Test Action Group) and SWD (Single Wire Debugger) protocols for debugging and uploading bootloader
  • It required initial bootloader or firmware to kick-start the SAMD, where it is not necessary in ESP32

S0, Now we will see.. what are the ways, we can upload bootloader to ATSAMD11C14A chip..

  • With help of Atmel-ice and Arduino IDE(easy but expensive to buy Atmel-ice)
  • With help of Atmel-ice and Atmel Studio(expensive to buy Atmel-ice, need to learn about atmel studio, and need to buy atmel software to use atmel studio)
  • With help of Jlink-Segger and Arduino IDE(easy but expensive to buy Atmel-ice)
  • With Open Source Debugger know as OpenOCDand raspiberry pi is used as system or Interface(Simple way for the raspi users)
  • With EDBG and Praticle as Interface in any Operating System

Test - 1

For test-1, I have designed a ATSAMD11C14 like this..

This board look similar to FAB-SAMD Board, which also know as Hello.CMSIS-DAP.. If you want to see FAB-SAMD(click Here)

Here is My Schematic of SAMD11C14A..

This is Current condition of MASK_SAMD-CMSIS_DAP

Programming the Initial bootloader..

I followed last 2 steps only.. that too.. Failed. The Steps are:

  • With Open Source Debugger know as OpenOCDand raspiberry pi is used as system or Interface(Simple way for the raspi users)
  • With EDBG and Praticle as Interface in any Operating System

My References for uploading bootloader from different Websites:

  • Adafruits OpenOCD with Raspiberry[Click Here](https://learn.adafruit.com/programming-microcontrollers-using-openocd-on-raspberry-pi/compiling-openocd)
  • From FAB-Academy 2021 Student Nick Anastasia[click Here](http://fabacademy.org/2021/labs/dassault/students/nicholas-anastasia/assignments/week08/#attiny412-updi-programming)
  • From FAB-Academy 2020 Student Quentin Bolsee[click Here](http://fabacademy.org/2020/labs/ulb/students/quentin-bolsee/projects/samd11c_uart-updi/)
  • From FAB-Academy 2020 Student and my all time Online Guide for Electronics Adrian Torrs[click Here](http://fabacademy.org/2020/labs/leon/students/adrian-torres/samdino.html#freedap)

These are my best collections of references till now.

My References for uploading bootloader from Youtube:

This is from Adafruit....

This video, I personally, liked the way he documented… and very informative

This video is a docmentation video on atsamd11c14, by Fab Lab ULB

After Reading and Seeing Video..

My failure

In this vidoe you can see, I was not able to program ATSAMD11C14A with Raspiberry via OpenOCD. You can notice the error indicating, while excuting the code..

After, mind bloggings trouble-shoots, I made a issue in a github with the edbg, creater ataradov.

Hence, this helped me to resolve the issue. Moreover, I also got an piece of information,

EDBG is completely compatable with “Windows” & “Linux” as they update their USB drivers, but in the case of “Mac” they don’t update their USB driver, Hence due to that I was not able to excute EDBG to my ATsamd11c14a IC.

After, Resolving it I got an output like this..


Last update: July 1, 2021