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 RaspiberryClick Here
- From FAB-Academy 2021 Student Nick Anastasiaclick Here
- From FAB-Academy 2020 Student Quentin Bolseeclick Here
- From FAB-Academy 2020 Student and my all time Online Guide for Electronics Adrian Torrsclick Here
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..