Creating a Custom Board in Atmel Studio

preview_player
Показать описание
This video explains how to create a program for a custom board, as opposed to using a development board. Specifically, I made my own application using a SAM4S8B ARM microcontroller. Table of contents below:

00:00 - Introduction
00:45 - Creating a new project
01:43 - Exploring the initial project
03:11 - ASF
05:58 - Clock configuration
07:39 - Main function structure
09:26 - Using example projects
20:48 - Adding .c and .h files
28:53 - Building the solution
29:18 - Conclusion
Рекомендации по теме
Комментарии
Автор

Excellent pace and thoroughness! Well done!

ralvholmsen
Автор

Ilya,
I found your video very REFRESHING even though it has a very lousy quality. I cannot read most of the texts and letters shown in this video. Anyway, I really wanted to thank you. I wonder if you would answer to a question. For example, I am trying to follow you using the Atmel Studio application and I cannot pass your directions after 1:31 minutes into the video. After selecting the microcontroller (ATxmega164AU) a pop-up window tells me to select a user board. After selecting the "User Board template - XMEGA AU", another window shows up but this time is the following error message:
"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
Any help or recommendation is greatly appreciated. Keep up the good work!

fijabo
Автор

What do you do if your board is not listed?
I have a AT91SAM9260 chip made into a custom development board
is it possible to add it somehow, (probably I would only need to tell Atmel Studio on how to upload its program to the board and how to debug over USB)

I also have GCC toolchain for this board, so I would probably need to tell Atmel Studio where to find it when compiling c/c++ code
Thanks for Anwsering and Best Regards

Veso
Автор

The program files for me is different from what is shown in this video. Is anything they changed in 2021? My device is SAMd21j18A
-- main.c ( system.init() function call insted of board.init())
-- conf_clocks.h (got the complete list of DPLL, All GCLK generators, system clock parameters)

prasadvaidya
Автор

Great tutorial, very well explained. I think this is a lot more difficult compared with other microcontrollers because things are in so many different layers.
I am programming a SAM4E and I am struggling a lot.
But do you know why the SAM4E does not have a ADC module and also not a ADC example project? Eventhough is has ADC pins.

xland
Автор

Hello Ilya, I am working on ATSAMB11 BLE chip. In my ASF wizard, i can not find "delay routines" and "system clock" services.
Does different device chips have diifferent modules in the ASF wizard ? I am using Atmel Studio 7

yuganshbansal
Автор

awesome copy paste is Maybe open datasheet hmmm...?l and understand howbto programing??

redsddd
visit shbcf.ru