Programming ATSAME54: Difference between revisions
Created page with "=== Introduction === The Atmel SAM E54 is a microcontroller based on the Arm Cortex M4 processor architecture. Atmel/Microchip provides the '''SAM E54 Xplained Pro''' developm..." |
|||
Line 21: | Line 21: | ||
<br /> | <br /> | ||
==== Atmel Studio ==== | ==== Atmel Studio ==== | ||
===== Setting up on Ubuntu | <br /> | ||
In order to | ===== Setting up Atmel Studio in VirtualBox on Ubuntu ===== | ||
These instructions apply when you have installed Atmel Studio in a VirtualBox container with Windows 7 client OS and Ubuntu host OS. | |||
<br /> | |||
====== '''USB Access''' ====== | |||
In order for Atmel Studio to recognize the Xplained Pro board when a USB cable is connected to the "Debug USB" port, you need to | |||
* allow the VirtualBox instance access to the USB connection with the Xplained Pro board, | |||
* set up the VirtualBox instance to allow Windows to access the USB port. | |||
<br /> | |||
To allow VirtualBox instances that were started from you user account to access USB connections your user needs to be in the ''vboxusers'' group. | |||
<br /> | |||
You can check which groups your user is a member of by typing | |||
<pre class="terminal"> | |||
id <your login name> | |||
</pre> | |||
<br /> | |||
You can add yourself to the ''vboxusers'' group by typing | |||
<pre class="terminal"> | <pre class="terminal"> | ||
sudo usermod -aG vboxusers <your login name> | sudo usermod -aG vboxusers <your login name> | ||
</pre> | </pre> | ||
which will become effective only after logging out (or rebooting) and logging in again. | |||
<br /> | |||
<br /> | <br /> | ||
To allow the client OS (Windows) to access the USB connections you will need to select the correct USB controller and also add a filter for each device that needs to accessed. |
Revision as of 2019-08-17T12:05:31
Introduction
The Atmel SAM E54 is a microcontroller based on the Arm Cortex M4 processor architecture. Atmel/Microchip provides the SAM E54 Xplained Pro development board for getting your feet wet in programming this MCU.
There are four variants of the E54 that differ in Flash memory capacity and pin numbers. The Xplained Pro board uses the ATSAME54P20A with 1 MB Flash memory.
Documentation Links
Setting up your Software Stack
ASF4 and FreeRTOS
Mbed OS
Not supported officially.
Development Tools
Atmel Studio
Setting up Atmel Studio in VirtualBox on Ubuntu
These instructions apply when you have installed Atmel Studio in a VirtualBox container with Windows 7 client OS and Ubuntu host OS.
USB Access
In order for Atmel Studio to recognize the Xplained Pro board when a USB cable is connected to the "Debug USB" port, you need to
- allow the VirtualBox instance access to the USB connection with the Xplained Pro board,
- set up the VirtualBox instance to allow Windows to access the USB port.
To allow VirtualBox instances that were started from you user account to access USB connections your user needs to be in the vboxusers group.
You can check which groups your user is a member of by typing
id <your login name>
You can add yourself to the vboxusers group by typing
sudo usermod -aG vboxusers <your login name>
which will become effective only after logging out (or rebooting) and logging in again.
To allow the client OS (Windows) to access the USB connections you will need to select the correct USB controller and also add a filter for each device that needs to accessed.